瀏覽代碼

Fix header file to use __USE_GNU so that TIMEVAL_TO_TIMESPEC gets defined, otherwise latest dropbear does not build.

"Steven J. Hill" 19 年之前
父節點
當前提交
c579e32dbe
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch

+ 11 - 0
package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch

@@ -0,0 +1,11 @@
+diff -ur dropbear-0.48/includes.h dropbear-0.48-patched/includes.h
+--- dropbear-0.48/includes.h	2006-03-09 09:06:02.000000000 -0600
++++ dropbear-0.48-patched/includes.h	2006-03-15 22:36:12.000000000 -0600
+@@ -35,6 +35,7 @@
+ #include <sys/param.h> /* required for BSD4_4 define */
+ #include <sys/socket.h>
+ #include <sys/stat.h>
++#define __USE_GNU
+ #include <sys/time.h>
+ #include <sys/un.h>
+ #include <sys/wait.h>