[backfire] merge r22340
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 21 Sep 2010 00:53:19 +0000 (00:53 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 21 Sep 2010 00:53:19 +0000 (00:53 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23105 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/opkg/patches/013-fix-darwin-compile.patch [new file with mode: 0644]

diff --git a/package/opkg/patches/013-fix-darwin-compile.patch b/package/opkg/patches/013-fix-darwin-compile.patch
new file mode 100644 (file)
index 0000000..6f34fc1
--- /dev/null
@@ -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;