diff options
Diffstat (limited to 'meta/recipes-support/libproxy/libproxy/g++-namepace.patch')
-rw-r--r-- | meta/recipes-support/libproxy/libproxy/g++-namepace.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/recipes-support/libproxy/libproxy/g++-namepace.patch b/meta/recipes-support/libproxy/libproxy/g++-namepace.patch deleted file mode 100644 index cb90ab704e..0000000000 --- a/meta/recipes-support/libproxy/libproxy/g++-namepace.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | include unistd.h to get prototypes of close() and read() | ||
2 | otherwise g++ complains | ||
3 | |||
4 | libproxy/url.cpp:439:13: error: 'close' was not declared in this scope | ||
5 | libproxy/url.cpp:398:37: error: 'read' was not declared in this scope | ||
6 | |||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Index: libproxy-0.4.7/libproxy/url.cpp | ||
12 | =================================================================== | ||
13 | --- libproxy-0.4.7.orig/libproxy/url.cpp 2012-03-01 09:51:11.254156247 -0800 | ||
14 | +++ libproxy-0.4.7/libproxy/url.cpp 2012-03-01 09:56:12.058171256 -0800 | ||
15 | @@ -33,6 +33,7 @@ | ||
16 | #include <cstdlib> // For atoi() | ||
17 | #include <sys/stat.h> // For stat() | ||
18 | #include <algorithm> // For transform() | ||
19 | +#include <unistd.h> // For close(), read() | ||
20 | |||
21 | #ifdef WIN32 | ||
22 | #include <io.h> | ||