diff options
Diffstat (limited to 'meta/packages/opkg/opkg/sighandlerfix.patch')
-rw-r--r-- | meta/packages/opkg/opkg/sighandlerfix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/packages/opkg/opkg/sighandlerfix.patch b/meta/packages/opkg/opkg/sighandlerfix.patch new file mode 100644 index 0000000000..b60245f581 --- /dev/null +++ b/meta/packages/opkg/opkg/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" | ||