From 2a8750a905713e9fb65584242a8e4ed821e4f3b0 Mon Sep 17 00:00:00 2001 From: jow Date: Wed, 21 Jul 2010 22:02:25 +0000 Subject: [package] opkg: fix host compilation on Darwin (libopkg_test failed to link) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22340 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/opkg/patches/013-fix-darwin-compile.patch | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/opkg/patches/013-fix-darwin-compile.patch (limited to 'package/opkg') diff --git a/package/opkg/patches/013-fix-darwin-compile.patch b/package/opkg/patches/013-fix-darwin-compile.patch new file mode 100644 index 000000000..6f34fc10c --- /dev/null +++ b/package/opkg/patches/013-fix-darwin-compile.patch @@ -0,0 +1,30 @@ +--- a/libopkg/opkg_download.c ++++ b/libopkg/opkg_download.c +@@ -21,6 +21,7 @@ + + #include + #include ++#include + + #include "opkg_download.h" + #include "opkg_message.h" +--- a/libopkg/pkg.c ++++ b/libopkg/pkg.c +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + + #include "pkg.h" + +--- a/tests/libopkg_test.c ++++ b/tests/libopkg_test.c +@@ -5,6 +5,7 @@ + + #include + ++int opkg_state_changed; + pkg_t *find_pkg = NULL; + + -- cgit v1.2.3