~ubuntu-branches/debian/sid/viruskiller/sid

« back to all changes in this revision

Viewing changes to debian/patches/link-libz.patch

  • Committer: Bazaar Package Importer
  • Author(s): Ansgar Burchardt
  • Date: 2010-01-20 23:02:19 UTC
  • Revision ID: james.westby@ubuntu.com-20100120230219-bfxe2usky3w5mk2k
Tags: 1.0-1.dfsg.1-1
* Now maintained by the Debian Games Team. (Closes: #523371)
* debian/control: Add myself to Uploaders.
* debian/control: Add Homepage field.
* Convert debian/copyright to proposed machine-readable format.
* debian/copyright: update link to upstream homepage. (Closes: #501909)
* debian/changelog: Correct bug number in old changelog entry.
* Switch to debhelper 7.
* Switch to source format 3.0 (quilt).
* Add debian/watch.
* debian/control: Add ${misc:Depends}.
* Update .desktop file (new patch: desktop-file.patch).
* Fix spelling errors (new patch: spelling.patch).
* Link libz as viruskiller uses the function "uncompress"
  (new patch: link-libz.patch). (Closes: #556665).
* Register manual with doc-base.
* Add menu entry in the Debian Menu System.
* debian/control: Add DM-Upload-Allowed: yes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: Ansgar Burchardt <ansgar@43-1.org>
 
2
Date: Mon, 11 Jan 2010 00:45:43 +0900
 
3
Bug-Debian: http://bugs.debian.org/556665
 
4
Subject: link libz
 
5
 
 
6
Viruskiller uses the function `uncompress' from libz.  It therefore needs
 
7
to link with -lz.
 
8
--- viruskiller.orig/makefile
 
9
+++ viruskiller/makefile
 
10
@@ -19,7 +19,7 @@
 
11
 
 
12
 CFLAGS += `sdl-config --cflags` -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) -DUSEPAK=$(USEPAK)
 
13
 CFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"$(DATADIR)\" -DSAFEDIR=\"$(SAFEDIR)\" -DUNIX -DGAMEPLAYMANUAL=\"$(DOCDIR)manual.html\" -Wall
 
14
-LIBS = `sdl-config --libs` -lSDL_mixer -lSDL_image -lSDL_ttf
 
15
+LIBS = `sdl-config --libs` -lSDL_mixer -lSDL_image -lSDL_ttf -lz
 
16
 
 
17
 OBJS += CAudio.o 
 
18
 OBJS += CBase.o