diff options
author | gerald <gerald@FreeBSD.org> | 2014-08-31 08:36:37 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2014-08-31 08:36:37 +0800 |
commit | d970fee0752371d438cd1728b890d166d07ea404 (patch) | |
tree | 15046e75b09e5b8d407ee3ea778c31f1e35cb573 /games | |
parent | 9c276c991b9d03663e2d6d7f57ae7a57a64359d2 (diff) | |
download | freebsd-ports-gnome-d970fee0752371d438cd1728b890d166d07ea404.tar.gz freebsd-ports-gnome-d970fee0752371d438cd1728b890d166d07ea404.tar.zst freebsd-ports-gnome-d970fee0752371d438cd1728b890d166d07ea404.zip |
Support building with modern, more standards-compliant compilers such
as GCC 4.8.
(For a project as little maintained upstream as OpenCity building with
-pedantic-errors is a bad idea anyways.)
PR: 192132
Approved by: maintainer timeout (amdmi3, five weeks)
Diffstat (limited to 'games')
-rw-r--r-- | games/opencity/files/patch-no-pedantic-errors | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/games/opencity/files/patch-no-pedantic-errors b/games/opencity/files/patch-no-pedantic-errors new file mode 100644 index 000000000000..463ba2693c91 --- /dev/null +++ b/games/opencity/files/patch-no-pedantic-errors @@ -0,0 +1,26 @@ +From: Markus Koschany <apo@gambaru.de> +Date: Mon, 2 Jun 2014 23:50:54 +0200 +Subject: no pedantic errors + +--- configure.ac ++++ configure.ac +@@ -199,7 +199,7 @@ dnl =========================================================================== + dnl Set the compiler and the linker options + dnl =========================================================================== + dnl Set C / C++ compiler options +-CPPFLAGS="-Wall -Wmissing-braces -Wparentheses -pedantic-errors $CPPFLAGS" ++CPPFLAGS="-Wall -Wmissing-braces -Wparentheses $CPPFLAGS" + + dnl Set more C / C++ compiler options + CPPFLAGS="-I$with_gl_prefix/include $enable_gprof $enable_debug $CPPFLAGS" +--- configure.orig 2011-07-03 17:14:48.000000000 +0000 ++++ configure 2014-08-30 23:00:42.000000000 +0000 +@@ -6150,7 +6150,7 @@ + fi + + +-CPPFLAGS="-Wall -Wmissing-braces -Wparentheses -pedantic-errors $CPPFLAGS" ++CPPFLAGS="-Wall -Wmissing-braces -Wparentheses $CPPFLAGS" + + CPPFLAGS="-I$with_gl_prefix/include $enable_gprof $enable_debug $CPPFLAGS" + |