From: Marius Gavrilescu Date: Wed, 4 Sep 2013 09:43:00 +0000 (+0300) Subject: Fix patch X-Git-Tag: debian/0.1-1~1 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=f3b8ada0703f7f14712b8195a544ebb5e238f214;p=rateit.git Fix patch --- diff --git a/debian/patches/fix-makefile.patch b/debian/patches/fix-makefile.patch index 08bfd5b..032ff42 100644 --- a/debian/patches/fix-makefile.patch +++ b/debian/patches/fix-makefile.patch @@ -5,9 +5,12 @@ Author: Marius Gavrilescu Last-Update: 2013-09-04 --- a/Makefile +++ b/Makefile -@@ -4,4 +4,4 @@ +@@ -4,7 +4,7 @@ cat rateit.glade | perl -e 'print "static unsigned char rateit_glade[]=";while(<>){s/"/\\"/g; s/^/"/; s/$$/\\n"/; print}print ";\n"' > rateit_glade.h rateit: rateit.c rateit_glade.h - gcc -g -O2 rateit.c -o rateit `pkg-config --cflags --libs libglade-2.0` -export-dynamic + gcc $(shell pkg-config --cflags libglade-2.0) $(CFLAGS) $(CPPFLAGS) rateit.c -o rateit $(LDFLAGS) -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgobject-2.0 -lglib-2.0 -export-dynamic + + clean: + rm rateit rateit_glade.h