From: Jo-Philipp Wich Date: Wed, 21 Jul 2010 22:02:25 +0000 (+0000) Subject: opkg: fix host compilation on Darwin (libopkg_test failed to link) X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5707e757a7e399aec0fbba1ff0aceaecebf6c3c8;p=openwrt%2Fstaging%2Fjow.git opkg: fix host compilation on Darwin (libopkg_test failed to link) SVN-Revision: 22340 --- 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 0000000000..6f34fc10c8 --- /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; + +