summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/opkg/files/sighandlerfix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/packages/opkg/files/sighandlerfix.patch b/meta/packages/opkg/files/sighandlerfix.patch
new file mode 100644
index 0000000000..b60245f581
--- /dev/null
+++ b/meta/packages/opkg/files/sighandlerfix.patch
@@ -0,0 +1,14 @@
+Index: opkg/libopkg/opkg_install.c
+===================================================================
+--- opkg.orig/libopkg/opkg_install.c 2009-05-23 00:20:04.000000000 +0100
++++ opkg/libopkg/opkg_install.c 2009-05-23 00:20:09.000000000 +0100
+@@ -21,7 +21,9 @@
+ #include <glob.h>
+ #include <time.h>
+ #include <signal.h>
++#ifndef __USE_GNU
+ typedef void (*sighandler_t)(int);
++#endif
+
+ #include "pkg.h"
+ #include "pkg_hash.h"