Date:2010-07-22 00:02:25 (8 years 4 months ago)
Author:jow
Commit:2a8750a905713e9fb65584242a8e4ed821e4f3b0
Message:[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
Files: package/opkg/patches/013-fix-darwin-compile.patch (1 diff)

Change Details

package/opkg/patches/013-fix-darwin-compile.patch
1--- a/libopkg/opkg_download.c
2@@ -21,6 +21,7 @@
3
4 #include <stdio.h>
5 #include <unistd.h>
6+#include <libgen.h>
7
8 #include "opkg_download.h"
9 #include "opkg_message.h"
10--- a/libopkg/pkg.c
11@@ -21,6 +21,7 @@
12 #include <string.h>
13 #include <ctype.h>
14 #include <unistd.h>
15+#include <libgen.h>
16
17 #include "pkg.h"
18
19--- a/tests/libopkg_test.c
20@@ -5,6 +5,7 @@
21
22 #include <opkg.h>
23
24+int opkg_state_changed;
25 pkg_t *find_pkg = NULL;
26
27

Archive Download the corresponding diff file



interactive