View | Details | Raw Unified | Return to bug 169682
Collapse All | Expand All

(-)net/libproxy/files/patch-libproxy_url.cpp (+10 lines)
Added Link Here
1
--- libproxy/url.cpp~
2
+++ libproxy/url.cpp
3
@@ -27,6 +27,7 @@
4
 #define close _close
5
 #endif
6
 #include <fcntl.h> // For ::open()
7
+#include <unistd.h> // For close()
8
 #include <cstring> // For memcpy()
9
 #include <sstream> // For int/string conversion (using stringstream)
10
 #include <cstdio>  // For sscanf()
(-)net/libproxy/files/patch-utils-CMakeLists.txt (+8 lines)
Added Link Here
1
--- utils/CMakeLists.txt~
2
+++ utils/CMakeLists.txt
3
@@ -3,4 +3,5 @@ link_directories(${LIBPROXY_LIBRARY_DIRS
4
 
5
 add_executable(proxy proxy.c)
6
 target_link_libraries(proxy libproxy)
7
+set(CMAKE_C_COMPILER ${CMAKE_CXX_COMPILER})
8
 install(TARGETS proxy RUNTIME DESTINATION ${BIN_INSTALL_DIR})

Return to bug 169682