diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2012-09-02 07:02:13 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2012-09-02 07:02:13 +0800 |
commit | a9b346a7e03e2403576d122a934a2c4aef545838 (patch) | |
tree | d0131fffa0ab197df4d480930568a3c403117642 /net/libproxy | |
parent | 044a08d239fc66906b2c14a4e2decdc3e1e065b9 (diff) | |
download | marcuscom-ports-a9b346a7e03e2403576d122a934a2c4aef545838.tar marcuscom-ports-a9b346a7e03e2403576d122a934a2c4aef545838.tar.gz marcuscom-ports-a9b346a7e03e2403576d122a934a2c4aef545838.tar.bz2 marcuscom-ports-a9b346a7e03e2403576d122a934a2c4aef545838.tar.lz marcuscom-ports-a9b346a7e03e2403576d122a934a2c4aef545838.tar.xz marcuscom-ports-a9b346a7e03e2403576d122a934a2c4aef545838.tar.zst marcuscom-ports-a9b346a7e03e2403576d122a934a2c4aef545838.zip |
Sync w/ FreeBSD ports. x11 and x11-* left to go.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@17058 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/libproxy')
-rw-r--r-- | net/libproxy/files/patch-libproxy_url.cpp | 10 | ||||
-rw-r--r-- | net/libproxy/files/patch-utils-CMakeLists.txt | 8 |
2 files changed, 18 insertions, 0 deletions
diff --git a/net/libproxy/files/patch-libproxy_url.cpp b/net/libproxy/files/patch-libproxy_url.cpp new file mode 100644 index 000000000..b185b2bd5 --- /dev/null +++ b/net/libproxy/files/patch-libproxy_url.cpp @@ -0,0 +1,10 @@ +--- libproxy/url.cpp~ ++++ libproxy/url.cpp +@@ -27,6 +27,7 @@ + #define close _close + #endif + #include <fcntl.h> // For ::open() ++#include <unistd.h> // For close() + #include <cstring> // For memcpy() + #include <sstream> // For int/string conversion (using stringstream) + #include <cstdio> // For sscanf() diff --git a/net/libproxy/files/patch-utils-CMakeLists.txt b/net/libproxy/files/patch-utils-CMakeLists.txt new file mode 100644 index 000000000..014f04d42 --- /dev/null +++ b/net/libproxy/files/patch-utils-CMakeLists.txt @@ -0,0 +1,8 @@ +--- utils/CMakeLists.txt~ ++++ utils/CMakeLists.txt +@@ -3,4 +3,5 @@ link_directories(${LIBPROXY_LIBRARY_DIRS + + add_executable(proxy proxy.c) + target_link_libraries(proxy libproxy) ++set(CMAKE_C_COMPILER ${CMAKE_CXX_COMPILER}) + install(TARGETS proxy RUNTIME DESTINATION ${BIN_INSTALL_DIR})
\ No newline at end of file |