From f3b8ada0703f7f14712b8195a544ebb5e238f214 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Wed, 4 Sep 2013 12:43:00 +0300 Subject: [PATCH] Fix patch --- debian/patches/fix-makefile.patch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.2