summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-23 00:24:36 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-23 00:24:36 +0100
commit85878623abfa76fae658f3eead228b0de427b832 (patch)
treeb6c9df3b4eb6f22949f520afaf69202cfa36b4dc /meta/packages
parent525edb3e96a021cc9688d9d4141ebae3df272632 (diff)
downloadopenembedded-core-85878623abfa76fae658f3eead228b0de427b832.tar.gz
openembedded-core-85878623abfa76fae658f3eead228b0de427b832.tar.bz2
openembedded-core-85878623abfa76fae658f3eead228b0de427b832.zip
opkg: Fix sighandler compile error (patch from upstream)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-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"