summaryrefslogtreecommitdiff
path: root/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.patch
reinit the tree, so we can have metadata
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..e4fb1715d8d4
--- /dev/null
+++ b/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.patch
@@ -0,0 +1,42 @@
+--- configure.in.old
++++ 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
+
+--- src/Makefile.am.old
++++ 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 \
+--- src/sdl/Makefile.am.old
++++ src/sdl/Makefile.am
+@@ -1,4 +1,4 @@
+-CFLAGS=@CFLAGS@ @SDL_CFLAGS@ -I..
++AM_CFLAGS = @SDL_CFLAGS@ -I..
+
+ noinst_LIBRARIES = libsdlsopwith.a
+