diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-07-21 22:02:25 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-07-21 22:02:25 +0000 |
commit | 5707e757a7e399aec0fbba1ff0aceaecebf6c3c8 (patch) | |
tree | 3edd27211a3f8577fb93ad4c2e7a4b250873d496 /package/opkg | |
parent | 3ebcb3ca683f60a42676697067625d41c1a84e82 (diff) | |
download | upstream-5707e757a7e399aec0fbba1ff0aceaecebf6c3c8.tar.gz upstream-5707e757a7e399aec0fbba1ff0aceaecebf6c3c8.tar.bz2 upstream-5707e757a7e399aec0fbba1ff0aceaecebf6c3c8.zip |
opkg: fix host compilation on Darwin (libopkg_test failed to link)
SVN-Revision: 22340
Diffstat (limited to 'package/opkg')
-rw-r--r-- | package/opkg/patches/013-fix-darwin-compile.patch | 30 |
1 files changed, 30 insertions, 0 deletions
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 <stdio.h> + #include <unistd.h> ++#include <libgen.h> + + #include "opkg_download.h" + #include "opkg_message.h" +--- a/libopkg/pkg.c ++++ b/libopkg/pkg.c +@@ -21,6 +21,7 @@ + #include <string.h> + #include <ctype.h> + #include <unistd.h> ++#include <libgen.h> + + #include "pkg.h" + +--- a/tests/libopkg_test.c ++++ b/tests/libopkg_test.c +@@ -5,6 +5,7 @@ + + #include <opkg.h> + ++int opkg_state_changed; + pkg_t *find_pkg = NULL; + + |