diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-16 03:06:32 -0700 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-16 03:06:32 -0700 |
commit | 0f80f2fdff5aa23a630dd0161e91c1ce0a6d9bea (patch) | |
tree | c5faac2b728d830f5b8fd1275b3ce9902d2a21e5 /package/busybox/patches | |
parent | 69d9bac9dad423e4cabf7bfa97a7765e4c442104 (diff) |
fix cross-compile on OpenBSD host
Diffstat (limited to 'package/busybox/patches')
-rw-r--r-- | package/busybox/patches/017-remove-alloca.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/busybox/patches/017-remove-alloca.patch b/package/busybox/patches/017-remove-alloca.patch new file mode 100644 index 000000000..ca27f8fb7 --- /dev/null +++ b/package/busybox/patches/017-remove-alloca.patch @@ -0,0 +1,22 @@ +diff -Nur busybox-1.21.1.orig/scripts/basic/docproc.c busybox-1.21.1/scripts/basic/docproc.c +--- busybox-1.21.1.orig/scripts/basic/docproc.c Sat May 11 17:30:44 2013 ++++ busybox-1.21.1/scripts/basic/docproc.c Thu Jan 16 03:00:39 2014 +@@ -39,7 +39,6 @@ + #include <limits.h> + #include <sys/types.h> + #include <sys/wait.h> +-#include <alloca.h> + + /* exitstatus is used to keep track of any failing calls to kernel-doc, + * but execution continues. */ +diff -Nur busybox-1.21.1.orig/scripts/basic/fixdep.c busybox-1.21.1/scripts/basic/fixdep.c +--- busybox-1.21.1.orig/scripts/basic/fixdep.c Sat May 11 17:30:44 2013 ++++ busybox-1.21.1/scripts/basic/fixdep.c Thu Jan 16 03:00:33 2014 +@@ -113,7 +113,6 @@ + #include <limits.h> + #include <ctype.h> + #include <arpa/inet.h> +-#include <alloca.h> + + /* bbox: not needed + #define INT_CONF ntohl(0x434f4e46) |