[SCM] game about viruses invading your computer branch, master, updated. debian/1.0-1.dfsg.1-0.2-14-g0b2c2a0
Ansgar Burchardt
ansgar at 43-1.org
Sun Jan 10 15:54:05 UTC 2010
The following commit has been merged in the master branch:
commit 0b2c2a0295fd193c1870bcc1bb329bbaa6f2ebd7
Author: Ansgar Burchardt <ansgar at 43-1.org>
Date: Mon Jan 11 00:51:17 2010 +0900
link libz
Viruskiller uses the function `uncompress' from libz. It therefore
needs to link with -lz.
Closes: #556665
Signed-off-by: Ansgar Burchardt <ansgar at 43-1.org>
diff --git a/debian/patches/link-libz.patch b/debian/patches/link-libz.patch
new file mode 100644
index 0000000..221f2c6
--- /dev/null
+++ b/debian/patches/link-libz.patch
@@ -0,0 +1,18 @@
+From: Ansgar Burchardt <ansgar at 43-1.org>
+Date: Mon, 11 Jan 2010 00:45:43 +0900
+Bug-Debian: http://bugs.debian.org/556665
+Subject: link libz
+
+Viruskiller uses the function `uncompress' from libz. It therefore needs
+to link with -lz.
+--- viruskiller.orig/makefile
++++ viruskiller/makefile
+@@ -19,7 +19,7 @@
+
+ CFLAGS += `sdl-config --cflags` -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) -DUSEPAK=$(USEPAK)
+ CFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"$(DATADIR)\" -DSAFEDIR=\"$(SAFEDIR)\" -DUNIX -DGAMEPLAYMANUAL=\"$(DOCDIR)manual.html\" -Wall
+-LIBS = `sdl-config --libs` -lSDL_mixer -lSDL_image -lSDL_ttf
++LIBS = `sdl-config --libs` -lSDL_mixer -lSDL_image -lSDL_ttf -lz
+
+ OBJS += CAudio.o
+ OBJS += CBase.o
diff --git a/debian/patches/series b/debian/patches/series
index 35e3ba0..236ad57 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ makefile.patch
dont_crash_if_no_sound_files.patch
desktop-file.patch
spelling.patch
+link-libz.patch
--
game about viruses invading your computer
More information about the Pkg-games-commits
mailing list