diff options
author | rene <rene@FreeBSD.org> | 2013-05-28 03:56:17 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2013-05-28 03:56:17 +0800 |
commit | 3df55663a0609d0f62f731c707c1515c20745073 (patch) | |
tree | f3f60c7aab921a3ca4868eb3e9860e6e85c0841b | |
parent | 301b921045c6764f817474ac6f80d436c8fc656b (diff) | |
download | freebsd-ports-gnome-3df55663a0609d0f62f731c707c1515c20745073.tar.gz freebsd-ports-gnome-3df55663a0609d0f62f731c707c1515c20745073.tar.zst freebsd-ports-gnome-3df55663a0609d0f62f731c707c1515c20745073.zip |
Fix build with GCC 4.7
Submitted by: Michael Moll via github (pull request #1)
-rw-r--r-- | www/chromium/files/extra-patch-gcc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/www/chromium/files/extra-patch-gcc b/www/chromium/files/extra-patch-gcc index 31eb24e5d82a..dbc9592dfd82 100644 --- a/www/chromium/files/extra-patch-gcc +++ b/www/chromium/files/extra-patch-gcc @@ -28,3 +28,26 @@ #include <string> #include "base/gtest_prod_util.h" +--- third_party/libjingle/source/talk/base/network.h.orig 2013-05-26 21:44:12.257312749 +0200 ++++ third_party/libjingle/source/talk/base/network.h 2013-05-26 21:45:08.869297313 +0200 +@@ -38,6 +38,10 @@ + #include "talk/base/messagehandler.h" + #include "talk/base/sigslot.h" + ++#if defined(OS_FREEBSD) ++#include <sys/types.h> ++#endif ++ + #if defined(POSIX) + struct ifaddrs; + #endif // defined(POSIX) +--- base/sys_info_freebsd.cc.orig 2013-05-17 22:44:42.000000000 +0200 ++++ base/sys_info_freebsd.cc 2013-05-26 22:57:45.885322785 +0200 +@@ -4,6 +4,7 @@ + + #include "base/sys_info.h" + ++#include <sys/types.h> + #include <sys/sysctl.h> + + #include "base/logging.h" |