summaryrefslogtreecommitdiff
path: root/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.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-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.patch
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.patch')
-rw-r--r--games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.patch b/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.patch
new file mode 100644
index 000000000000..a5dbc59f3c72
--- /dev/null
+++ b/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.patch
@@ -0,0 +1,42 @@
+--- a/configure.in.old
++++ b/configure.in
+@@ -61,11 +61,6 @@
+ SOPWITH_SUBDIRS="$SOPWITH_SUBDIRS sdl"
+ ],)
+
+-PKG_CHECK_MODULES(GTK, glib-2.0 >= 2.0 gtk+-2.0 >= 2.0, [
+- SOPWITH_BINS="$SOPWITH_BINS" # gtksopwith"
+- SOPWITH_SUBDIRS="$SOPWITH_SUBDIRS" # gtk"
+-],)
+-
+ AC_SUBST(SOPWITH_BINS)
+ AC_SUBST(SOPWITH_SUBDIRS)
+
+@@ -71,7 +71,7 @@
+
+ dnl check for TCPIP support
+
+-AC_CHECK_HEADER(netinet/ip.h, AC_DEFINE(TCPIP),,)
++AC_CHECK_HEADER(netinet/ip.h, AC_DEFINE([TCPIP], [1], [TCP/IP support]),,)
+
+ dnl generate Makefiles
+
+--- a/src/Makefile.am.old
++++ b/src/Makefile.am
+@@ -6,7 +6,7 @@
+ bin_PROGRAMS = @SOPWITH_BINS@
+ EXTRA_PROGRAMS = sopwith gtksopwith psopwith
+
+-CFLAGS = @CFLAGS@ -I..
++AM_CFLAGS = @SDL_CFLAGS@ -I..
+
+ COMMON_SRC = \
+ video.h swcollsn.c swgames.h swmain.h swutil.h \
+--- a/src/sdl/Makefile.am.old
++++ b/src/sdl/Makefile.am
+@@ -1,4 +1,4 @@
+-CFLAGS=@CFLAGS@ @SDL_CFLAGS@ -I..
++AM_CFLAGS = @SDL_CFLAGS@ -I..
+
+ noinst_LIBRARIES = libsdlsopwith.a
+