FreeBSD Bugzilla – Attachment 152989 Details for
Bug 197669
www/webkit-gtk2: Broken on gcc5 and pushes clang-only cxx-flags
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to allow building port on gcc-5
fix-webkit-gtk2-gcc5.patch (text/plain), 1.62 KB, created by
John Marino
on 2015-02-14 22:37:15 UTC
(
hide
)
Description:
patch to allow building port on gcc-5
Filename:
MIME Type:
Creator:
John Marino
Created:
2015-02-14 22:37:15 UTC
Size:
1.62 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 378956) >+++ Makefile (working copy) >@@ -76,9 +76,6 @@ > > .include <bsd.port.options.mk> > >-# Shutup warning spam >-CXXFLAGS+= -Wno-c++11-extensions >- > .if ${ARCH} == powerpc64 > CFLAGS+= -mminimal-toc > .endif >@@ -95,6 +92,7 @@ > .endif > > .if ${CHOSEN_COMPILER_TYPE} == clang >+CXXFLAGS+= -Wno-c++11-extensions # Shutup warning spam > CXXFLAGS+= -Qunused-arguments > .endif > >Index: files/patch-configure >=================================================================== >--- files/patch-configure (revision 0) >+++ files/patch-configure (working copy) >@@ -0,0 +1,20 @@ >+--- configure.orig 2015-01-07 09:47:51 UTC >++++ configure >+@@ -4890,7 +4890,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu >+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+-#if !(defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 7) >++#if !(defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7))) >+ #error Not a supported GCC compiler >+ #endif >+ >+@@ -4948,7 +4948,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu >+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+-#if !(defined(__GNUG__) && defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 7) >++#if !(defined(__GNUG__) && defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7))) >+ #error Not a supported G++ compiler >+ #endif >+
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
Flags:
koobs
:
maintainer-approval?
(
gnome
)
Actions:
View
|
Diff
Attachments on
bug 197669
: 152989