summaryrefslogtreecommitdiff
path: root/games-puzzle/groundhog/files/groundhog-1.4-flags.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-puzzle/groundhog/files/groundhog-1.4-flags.patch
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-puzzle/groundhog/files/groundhog-1.4-flags.patch')
-rw-r--r--games-puzzle/groundhog/files/groundhog-1.4-flags.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/games-puzzle/groundhog/files/groundhog-1.4-flags.patch b/games-puzzle/groundhog/files/groundhog-1.4-flags.patch
new file mode 100644
index 000000000000..9726f249820b
--- /dev/null
+++ b/games-puzzle/groundhog/files/groundhog-1.4-flags.patch
@@ -0,0 +1,32 @@
+respect flags
+
+applied on top of debian patches
+
+--- a/configure.in
++++ b/configure.in
+@@ -46,8 +46,6 @@
+ dnl Checks for libraries.
+ dnl AM_PATH_GTK_2_0(2.0.0,,AC_MSG_ERROR(Groundhog needs GTK 2.0))
+
+-CXXFLAGS="-O2 -Wall"
+-
+ dnl Checks for header files.
+ AC_CHECK_HEADERS(unistd.h)
+
+@@ -57,16 +55,6 @@
+
+ dnl Checks for library functions.
+
+-dnl Use -Wall if we have gcc.
+-changequote(,)dnl
+-if test "x$GCC" = "xyes"; then
+- case " $CFLAGS " in
+- *[\ \ ]-Wall[\ \ ]*) ;;
+- *) CFLAGS="$CFLAGS -Wall" ;;
+- esac
+-fi
+-changequote([,])dnl
+-
+ AC_OUTPUT([ m4/Makefile intl/Makefile
+ Makefile
+ src/Makefile