]> git.pld-linux.org Git - packages/gnome-games.git/commitdiff
- do not use -Wmissing-prototypes with c++
authorfreetz <freetz@pld-linux.org>
Mon, 7 Jun 2004 18:35:13 +0000 (18:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gnome-games-cxx_warnings.patch -> 1.1

gnome-games-cxx_warnings.patch [new file with mode: 0644]

diff --git a/gnome-games-cxx_warnings.patch b/gnome-games-cxx_warnings.patch
new file mode 100644 (file)
index 0000000..f654fce
--- /dev/null
@@ -0,0 +1,18 @@
+diff -aurN gnome-games-2.7.3.orig/configure.in gnome-games-2.7.3/configure.in
+--- gnome-games-2.7.3.orig/configure.in        2004-06-07 11:33:25.000000000 +0200
++++ gnome-games-2.7.3/configure.in     2004-06-07 20:19:21.127695408 +0200
+@@ -62,12 +62,13 @@
+ AC_SUBST(GNOME_GAMES_CFLAGS)
+ AC_SUBST(GNOME_GAMES_LIBS)
++GNOME_GAMES_CXXFLAGS="$GNOME_GAMES_CFLAGS -I\$(top_srcdir)/libgames-support $WARN_CXXFLAGS"
+ GNOME_GAMES_CFLAGS="$GNOME_GAMES_CFLAGS -I\$(top_srcdir)/libgames-support $WARN_CFLAGS"
+ GNOME_GAMES_LIBS="$GNOME_GAMES_LIBS \$(top_builddir)/libgames-support/libgames-support.la"
+ ## Use a separate set of flags for C++ (so we can exclude -std=gnu89 for
+ ## example, it doesn't make sense under C++).
+-GNOME_GAMES_CXXFLAGS="-Werror $GNOME_GAMES_CFLAGS"
++GNOME_GAMES_CXXFLAGS="$GNOME_GAMES_CXXFLAGS -Werror"
+ AC_SUBST(GNOME_GAMES_CXXFLAGS)
+ ## This should make sure that developers using gcc 3.x will write something
This page took 0.052879 seconds and 4 git commands to generate.