aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/pinball-missing-separators.patch
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2016-01-31 23:22:38 -0600
committerEric Bavier <bavier@member.fsf.org>2016-01-31 23:46:30 -0600
commite3f755f44c257093c26eab1e7f839808edd57973 (patch)
treef33aa3f3b7bc17f0e80b33c66a9a69993ee0d391 /gnu/packages/patches/pinball-missing-separators.patch
parent917708c276b0583a60b34084e1bb23219b1272bf (diff)
downloadguix-e3f755f44c257093c26eab1e7f839808edd57973.tar
guix-e3f755f44c257093c26eab1e7f839808edd57973.tar.gz
gnu: Add pinball.
* gnu/packages/games.scm (pinball): New variable. * gnu/packages/patches/pinball-const-fix.patch, gnu/packages/patches/pinball-cstddef.patch, gnu/packages/patches/pinball-missing-separators.patch, gnu/packages/patches/pinball-src-deps.patch, gnu/packages/patches/pinball-system-ltdl.patch: New patches. * gnu-system.am (dist_patch_DATA): Add them.
Diffstat (limited to 'gnu/packages/patches/pinball-missing-separators.patch')
-rw-r--r--gnu/packages/patches/pinball-missing-separators.patch101
1 files changed, 101 insertions, 0 deletions
diff --git a/gnu/packages/patches/pinball-missing-separators.patch b/gnu/packages/patches/pinball-missing-separators.patch
new file mode 100644
index 0000000000..eb00314a3d
--- /dev/null
+++ b/gnu/packages/patches/pinball-missing-separators.patch
@@ -0,0 +1,101 @@
+From: Markus Koschany <apo@gambaru.de>
+Date: Sun, 3 Aug 2014 22:50:46 +0200
+Subject: missing separators
+
+Bug: https://bugs.debian.org/750082
+
+---
+ src/Makefile.am | 14 +++++++-------
+ src/Makefile.in | 14 +++++++-------
+ test/Makefile.am | 2 +-
+ test/Makefile.in | 2 +-
+ 4 files changed, 16 insertions(+), 16 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index fbd7e8f..96768d3 100755
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -29,7 +29,7 @@ Script.cpp \
+ StateBehavior.cpp \
+ Table.cpp
+
+-dnl libemilia_pin_la_SOURCES = $(libemilia_pin_a_SOURCES)
++# libemilia_pin_la_SOURCES = $(libemilia_pin_a_SOURCES)
+
+ pininclude_HEADERS = \
+ ArmBehavior.h \
+@@ -56,10 +56,10 @@ Table.h
+ # libemilia_pin.a libemilia_addon.a libemilia_base.a libltdlc.a
+ wpinball.exe: ${pinball_OBJECTS} ${pinball_DEPENDENCIES}
+ ${GCCLOCALDIR}g++ -g -W -Wall -O2 -o$@ $^ \
+- -lSDL_mixer -lvorbisfile -lvorbis -logg -lsmpeg \
+- -lSDL_image -lSDLmain -lSDL \
+- -lglu32 -lopengl32 -ljpeg -lpng \
+- -lwinmm -luser32 -lgdi32 -ldxguid \
+- -lmingw32 -lSDLmain -lSDL -mwindows \
+- -L${GCCLOCALDIR}../lib
++ -lSDL_mixer -lvorbisfile -lvorbis -logg -lsmpeg \
++ -lSDL_image -lSDLmain -lSDL \
++ -lglu32 -lopengl32 -ljpeg -lpng \
++ -lwinmm -luser32 -lgdi32 -ldxguid \
++ -lmingw32 -lSDLmain -lSDL -mwindows \
++ -L${GCCLOCALDIR}../lib
+ # !-rzr : # have to solve it later # -lstdc++
+diff --git a/src/Makefile.in b/src/Makefile.in
+index ea7651b..8e95cd6 100644
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -505,7 +505,7 @@ uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
+ uninstall-pinincludeHEADERS uninstall-pinlibLIBRARIES
+
+
+-dnl libemilia_pin_la_SOURCES = $(libemilia_pin_a_SOURCES)
++ dnl libemilia_pin_la_SOURCES = $(libemilia_pin_a_SOURCES)
+
+ # !+rzr : This trick workaround a bad generated rule (under Linux mingw32)
+ # src/ litool returns: -L/usr/local//lib /usr/lib/libjpeg.so
+@@ -514,12 +514,12 @@ dnl libemilia_pin_la_SOURCES = $(libemilia_pin_a_SOURCES)
+ # libemilia_pin.a libemilia_addon.a libemilia_base.a libltdlc.a
+ wpinball.exe: ${pinball_OBJECTS} ${pinball_DEPENDENCIES}
+ ${GCCLOCALDIR}g++ -g -W -Wall -O2 -o$@ $^ \
+- -lSDL_mixer -lvorbisfile -lvorbis -logg -lsmpeg \
+- -lSDL_image -lSDLmain -lSDL \
+- -lglu32 -lopengl32 -ljpeg -lpng \
+- -lwinmm -luser32 -lgdi32 -ldxguid \
+- -lmingw32 -lSDLmain -lSDL -mwindows \
+- -L${GCCLOCALDIR}../lib
++ -lSDL_mixer -lvorbisfile -lvorbis -logg -lsmpeg \
++ -lSDL_image -lSDLmain -lSDL \
++ -lglu32 -lopengl32 -ljpeg -lpng \
++ -lwinmm -luser32 -lgdi32 -ldxguid \
++ -lmingw32 -lSDLmain -lSDL -mwindows \
++ -L${GCCLOCALDIR}../lib
+ # !-rzr : # have to solve it later # -lstdc++
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+diff --git a/test/Makefile.am b/test/Makefile.am
+index d87cf34..ea3ffc9 100755
+--- a/test/Makefile.am
++++ b/test/Makefile.am
+@@ -4,7 +4,7 @@ testlibdir = $(EM_LIBDIR)
+ testdatadir = $(pkgdatadir)
+
+ noinst_PROGRAMS = scale simple light texture load explode collision signal billboard font thread menu joy sound trans math misc varray unittest
+-dnl noinst_PROGRAMS = unittest
++# noinst_PROGRAMS = unittest
+
+ INCLUDES = -I../base -I../addon -I../src @INCLTDL@
+ LDADD = ../src/libemilia_pin.a ../addon/libemilia_addon.a ../base/libemilia_base.a @LIBLTDL@
+diff --git a/test/Makefile.in b/test/Makefile.in
+index 6ba2646..47654dc 100644
+--- a/test/Makefile.in
++++ b/test/Makefile.in
+@@ -621,7 +621,7 @@ uninstall-am: uninstall-info-am uninstall-testlibLTLIBRARIES
+ mostlyclean-generic mostlyclean-libtool tags uninstall \
+ uninstall-am uninstall-info-am uninstall-testlibLTLIBRARIES
+
+-dnl noinst_PROGRAMS = unittest
++# noinst_PROGRAMS = unittest
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: