diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-23 22:10:11 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-23 22:10:19 -0500 |
commit | 308a3989be8bb6103f633332633a4a9cf810339a (patch) | |
tree | 9bb700920985be7f1a9d7f24ed143ff6e074c9a0 /user/libproxy/libproxy-0.4.7-unistd.patch | |
parent | 6bcbf6a44cf836d42c806ca58f675f07e42da9c6 (diff) | |
download | packages-308a3989be8bb6103f633332633a4a9cf810339a.tar.gz packages-308a3989be8bb6103f633332633a4a9cf810339a.tar.bz2 packages-308a3989be8bb6103f633332633a4a9cf810339a.tar.xz packages-308a3989be8bb6103f633332633a4a9cf810339a.zip |
user/libproxy: pull in, fix all the metadata, py->py3
Diffstat (limited to 'user/libproxy/libproxy-0.4.7-unistd.patch')
-rw-r--r-- | user/libproxy/libproxy-0.4.7-unistd.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/user/libproxy/libproxy-0.4.7-unistd.patch b/user/libproxy/libproxy-0.4.7-unistd.patch new file mode 100644 index 000000000..803f81970 --- /dev/null +++ b/user/libproxy/libproxy-0.4.7-unistd.patch @@ -0,0 +1,40 @@ +--- libproxy-0.4.7/libproxy/url.cpp.orig 2012-02-28 21:05:15.572948027 +0000 ++++ libproxy-0.4.7/libproxy/url.cpp 2012-02-28 21:05:45.635937474 +0000 +@@ -27,6 +27,7 @@ + #define close _close + #endif + #include <fcntl.h> // For ::open() ++#include <unistd.h> // For ::read() and ::close() + #include <cstring> // For memcpy() + #include <sstream> // For int/string conversion (using stringstream) + #include <cstdio> // For sscanf() +--- libproxy-0.4.7/libproxy/modules/config_sysconfig.cpp.orig 2012-02-28 21:06:01.552943358 +0000 ++++ libproxy-0.4.7/libproxy/modules/config_sysconfig.cpp 2012-02-28 21:11:21.429953982 +0000 +@@ -18,6 +18,7 @@ + ******************************************************************************/ + + #include <sys/stat.h> ++#include <unistd.h> + #include <cstdlib> + #include <map> + #include <fstream> +--- libproxy-0.4.7/libproxy/modules/pacrunner_mozjs.cpp.orig 2012-02-28 21:06:11.637943033 +0000 ++++ libproxy-0.4.7/libproxy/modules/pacrunner_mozjs.cpp 2012-02-28 21:11:46.560961409 +0000 +@@ -17,6 +17,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + ******************************************************************************/ + ++#include <unistd.h> // for ::gethostname() + #include <cstring> // ? + + #include "../extension_pacrunner.hpp" +--- libproxy-0.4.7/libproxy/modules/pacrunner_webkit.cpp.orig 2012-02-28 21:06:29.615943614 +0000 ++++ libproxy-0.4.7/libproxy/modules/pacrunner_webkit.cpp 2012-02-28 21:12:35.530965553 +0000 +@@ -17,6 +17,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + ******************************************************************************/ + ++#include <unistd.h> // for ::gethostname() + #include "../extension_pacrunner.hpp" + using namespace libproxy; + |