[package] opkg: fix host compilation on Darwin (libopkg_test failed to link)
[openwrt.git] / package / opkg / patches / 013-fix-darwin-compile.patch
1 --- a/libopkg/opkg_download.c
2 +++ b/libopkg/opkg_download.c
3 @@ -21,6 +21,7 @@
4
5 #include <stdio.h>
6 #include <unistd.h>
7 +#include <libgen.h>
8
9 #include "opkg_download.h"
10 #include "opkg_message.h"
11 --- a/libopkg/pkg.c
12 +++ b/libopkg/pkg.c
13 @@ -21,6 +21,7 @@
14 #include <string.h>
15 #include <ctype.h>
16 #include <unistd.h>
17 +#include <libgen.h>
18
19 #include "pkg.h"
20
21 --- a/tests/libopkg_test.c
22 +++ b/tests/libopkg_test.c
23 @@ -5,6 +5,7 @@
24
25 #include <opkg.h>
26
27 +int opkg_state_changed;
28 pkg_t *find_pkg = NULL;
29
30
This page took 0.043049 seconds and 5 git commands to generate.