Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 313041 Details for
Bug 412363
net-libs/libproxy-0.4.7 with gcc-4.7 - In member function 'char* libproxy::url::get_pac()': .../work/libproxy-0.4.7/libproxy/url.cpp:398:37: error: 'read' was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
upstream patch for gcc 4.7
libproxy-0.4.7-gcc47.patch (text/plain), 2.21 KB, created by
Philipp Richter
on 2012-05-25 14:03:53 UTC
(
hide
)
Description:
upstream patch for gcc 4.7
Filename:
MIME Type:
Creator:
Philipp Richter
Created:
2012-05-25 14:03:53 UTC
Size:
2.21 KB
patch
obsolete
>diff -urN a/libproxy/modules/config_sysconfig.cpp b/libproxy/modules/config_sysconfig.cpp >--- a/libproxy/modules/config_sysconfig.cpp 2011-06-06 23:44:37.220019451 +0200 >+++ b/libproxy/modules/config_sysconfig.cpp 2012-05-25 15:55:15.924277497 +0200 >@@ -21,6 +21,8 @@ > #include <cstdlib> > #include <map> > #include <fstream> >+#include <unistd.h> >+#include <sys/types.h> > > #include "../extension_config.hpp" > using namespace libproxy; >diff -urN a/libproxy/modules/pacrunner_mozjs.cpp b/libproxy/modules/pacrunner_mozjs.cpp >--- a/libproxy/modules/pacrunner_mozjs.cpp 2011-06-06 23:44:37.219019450 +0200 >+++ b/libproxy/modules/pacrunner_mozjs.cpp 2012-05-25 15:56:01.651073446 +0200 >@@ -18,6 +18,7 @@ > ******************************************************************************/ > > #include <cstring> // ? >+#include <unistd.h> // gethostname > > #include "../extension_pacrunner.hpp" > using namespace libproxy; >diff -urN a/libproxy/modules/pacrunner_natus.cpp b/libproxy/modules/pacrunner_natus.cpp >--- a/libproxy/modules/pacrunner_natus.cpp 2011-06-06 23:44:37.219019450 +0200 >+++ b/libproxy/modules/pacrunner_natus.cpp 2012-05-25 15:56:22.515075029 +0200 >@@ -18,6 +18,7 @@ > ******************************************************************************/ > > #include "../extension_pacrunner.hpp" >+#include <unistd.h> // gethostname > using namespace libproxy; > > #define I_ACKNOWLEDGE_THAT_NATUS_IS_NOT_STABLE >diff -urN a/libproxy/modules/pacrunner_webkit.cpp b/libproxy/modules/pacrunner_webkit.cpp >--- a/libproxy/modules/pacrunner_webkit.cpp 2011-06-06 23:44:37.219019450 +0200 >+++ b/libproxy/modules/pacrunner_webkit.cpp 2012-05-25 15:56:32.459080117 +0200 >@@ -18,6 +18,7 @@ > ******************************************************************************/ > > #include "../extension_pacrunner.hpp" >+#include <unistd.h> // gethostname > using namespace libproxy; > > #ifdef __APPLE__ >diff -urN a/libproxy/url.cpp b/libproxy/url.cpp >--- a/libproxy/url.cpp 2011-06-06 23:44:37.216019447 +0200 >+++ b/libproxy/url.cpp 2012-05-25 15:57:05.314840231 +0200 >@@ -33,6 +33,7 @@ > #include <cstdlib> // For atoi() > #include <sys/stat.h> // For stat() > #include <algorithm> // For transform() >+#include <unistd.h> // For read() close() > > #ifdef WIN32 > #include <io.h>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 412363
:
309279
| 313041