From 85878623abfa76fae658f3eead228b0de427b832 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 23 May 2009 00:24:36 +0100 Subject: opkg: Fix sighandler compile error (patch from upstream) Signed-off-by: Richard Purdie --- meta/packages/opkg/files/sighandlerfix.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta/packages/opkg/files/sighandlerfix.patch (limited to 'meta/packages') diff --git a/meta/packages/opkg/files/sighandlerfix.patch b/meta/packages/opkg/files/sighandlerfix.patch new file mode 100644 index 000000000..b60245f58 --- /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 + #include + #include ++#ifndef __USE_GNU + typedef void (*sighandler_t)(int); ++#endif + + #include "pkg.h" + #include "pkg_hash.h" -- cgit v1.2.3