summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-03-16 04:38:56 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-03-16 04:38:56 +0000
commitc579e32dbe6d927bdcfffeede18123aa92abbdd5 (patch)
tree118a68a41885c7478a46cf049ad8ff0cfb873324 /package
parent02d0f3baf7844185c2e458d274c0d9bb374f4fad (diff)
downloadbuildroot-novena-c579e32dbe6d927bdcfffeede18123aa92abbdd5.tar.gz
buildroot-novena-c579e32dbe6d927bdcfffeede18123aa92abbdd5.zip
Fix header file to use __USE_GNU so that TIMEVAL_TO_TIMESPEC gets defined, otherwise latest dropbear does not build.
Diffstat (limited to 'package')
-rw-r--r--package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch b/package/dropbear/dropbear-fix-missing-TIMEVAL_TO_TIMESPEC.patch
new file mode 100644
index 000000000..37c457411
--- /dev/null
+++ b/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>