diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-23 00:24:36 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-23 00:24:36 +0100 |
commit | 85878623abfa76fae658f3eead228b0de427b832 (patch) | |
tree | b6c9df3b4eb6f22949f520afaf69202cfa36b4dc /meta/packages/opkg | |
parent | 525edb3e96a021cc9688d9d4141ebae3df272632 (diff) | |
download | poky-85878623abfa76fae658f3eead228b0de427b832.tar.gz |
opkg: Fix sighandler compile error (patch from upstream)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/opkg')
-rw-r--r-- | meta/packages/opkg/files/sighandlerfix.patch | 14 |
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 @@ | |||
1 | Index: opkg/libopkg/opkg_install.c | ||
2 | =================================================================== | ||
3 | --- opkg.orig/libopkg/opkg_install.c 2009-05-23 00:20:04.000000000 +0100 | ||
4 | +++ opkg/libopkg/opkg_install.c 2009-05-23 00:20:09.000000000 +0100 | ||
5 | @@ -21,7 +21,9 @@ | ||
6 | #include <glob.h> | ||
7 | #include <time.h> | ||
8 | #include <signal.h> | ||
9 | +#ifndef __USE_GNU | ||
10 | typedef void (*sighandler_t)(int); | ||
11 | +#endif | ||
12 | |||
13 | #include "pkg.h" | ||
14 | #include "pkg_hash.h" | ||