summaryrefslogtreecommitdiff
path: root/package/busybox/busybox.fix-ptr_to_globals.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/busybox.fix-ptr_to_globals.patch')
-rw-r--r--package/busybox/busybox.fix-ptr_to_globals.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/busybox.fix-ptr_to_globals.patch b/package/busybox/busybox.fix-ptr_to_globals.patch
new file mode 100644
index 000000000..36a4dbfcd
--- /dev/null
+++ b/package/busybox/busybox.fix-ptr_to_globals.patch
@@ -0,0 +1,11 @@
+Index: busybox/libbb/messages.c
+===================================================================
+--- busybox/libbb/messages.c (revision 18097)
++++ busybox/libbb/messages.c (working copy)
+@@ -56,4 +56,5 @@ WTMP_FILE;
+
+ char bb_common_bufsiz1[BUFSIZ+1];
+
+-void *ptr_to_globals;
++struct global1;
++struct global1 *ptr_to_globals;