From ca21823b65ea22aea7534e28a607f7b7d2fdcff6 Mon Sep 17 00:00:00 2001 From: "Tobias C. Berner" Date: Fri, 22 Jun 2018 19:59:41 +0000 Subject: Update net/libproxy to 0.4.15 * this release switched the build system to cmake * move libproxy-gnome to libproxy-gnome2 for consistency * add new slave libproxy-webkit3 * try to simplify the whole thing * bump revisions in the dependencies Reviewed by: gnome (kwm), mat Differential Revision: https://reviews.freebsd.org/D15655 --- .../files/patch-libproxy_test_get-pac-test.cpp | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'net/libproxy/files/patch-libproxy_test_get-pac-test.cpp') diff --git a/net/libproxy/files/patch-libproxy_test_get-pac-test.cpp b/net/libproxy/files/patch-libproxy_test_get-pac-test.cpp index 963f8f56b6f8..8baef77dae6d 100644 --- a/net/libproxy/files/patch-libproxy_test_get-pac-test.cpp +++ b/net/libproxy/files/patch-libproxy_test_get-pac-test.cpp @@ -1,12 +1,15 @@ +First hunk: libc++ doesn't like "using namespace std" in C++11 libproxy/test/get-pac-test.cpp:48:10: error: assigning to 'int' from incompatible type '__bind' ret = bind(m_sock, (sockaddr*)&addr, sizeof (struct sockaddr_in)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Second hunk: +Fix typo. ---- libproxy/test/get-pac-test.cpp.orig 2016-01-12 16:41:07 UTC -+++ libproxy/test/get-pac-test.cpp -@@ -45,7 +45,7 @@ class TestServer { +--- libproxy/test/get-pac-test.cpp.orig 2017-05-11 11:33:33.000000000 +0200 ++++ libproxy/test/get-pac-test.cpp 2018-06-02 14:32:22.796000000 +0200 +@@ -52,7 +52,7 @@ setsockopt(m_sock, SOL_SOCKET, SO_REUSEADDR, &i, sizeof(i)); @@ -15,3 +18,12 @@ libproxy/test/get-pac-test.cpp:48:10: error: assigning to 'int' from incompatibl assert(!ret); ret = listen(m_sock, 1); +@@ -130,7 +130,7 @@ + + #ifdef SO_NOSIGPIPE + int i = 1; +- setsockopt(c_sock, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof(i)); ++ setsockopt(csock, SOL_SOCKET, SO_NOSIGPIPE, &i, sizeof(i)); + #endif + + // Read request -- cgit v1.2.3