[ace-of-penguins] 92/141: debian/patches: (50): Add CPPFLAGS support. Simon Ruderich <simon at ruderich.org>

Markus Koschany apo-guest at moszumanska.debian.org
Wed Jan 6 13:55:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository ace-of-penguins.

commit 5172ed5ae1d9d2ec3290f9cee9b896d9960261b1
Author: Jari Aalto <jari.aalto at cante.net>
Date:   Sat Mar 24 17:30:51 2012 +0200

    debian/patches: (50): Add CPPFLAGS support. Simon Ruderich <simon at ruderich.org>
    
    Signed-off-by: Jari Aalto <jari.aalto at cante.net>
---
 debian/patches/50-buildflags.patch | 31 +++++++++++++++++++++++++++++++
 debian/patches/series              |  2 +-
 2 files changed, 32 insertions(+), 1 deletion(-)

diff --git a/debian/patches/50-buildflags.patch b/debian/patches/50-buildflags.patch
new file mode 100644
index 0000000..bdf314e
--- /dev/null
+++ b/debian/patches/50-buildflags.patch
@@ -0,0 +1,31 @@
+From: Simon Ruderich <simon at ruderich.org>
+Subject: Add dupport for CPPFLAGS
+Last-Update: 2012-03-24
+
+--- ace-of-penguins-1.3.orig/lib/Makefile.in
++++ ace-of-penguins-1.3/lib/Makefile.in
+@@ -565,10 +565,10 @@ images.c : make-imglib Makefile images.i
+ 	./make-imglib -n cards -i $(srcdir)/png -d images.d $(srcdir)/images.in images.c
+ 
+ make-imglib : make-imglib.c
+-	$(BUILD_CC) $(srcdir)/make-imglib.c -o make-imglib -lpng -lz
++	$(BUILD_CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(srcdir)/make-imglib.c -o make-imglib -lpng -lz
+ 
+ text2c : text2c.c
+-	$(BUILD_CC) $(srcdir)/text2c.c -o text2c -lpng -lz
++	$(BUILD_CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(srcdir)/text2c.c -o text2c -lpng -lz
+ 
+ # 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.
+--- ace-of-penguins-1.3.orig/lib/Makefile.am
++++ ace-of-penguins-1.3/lib/Makefile.am
+@@ -24,7 +24,7 @@ images.c : make-imglib Makefile images.i
+ 	./make-imglib -n cards -i $(srcdir)/png -d images.d $(srcdir)/images.in images.c
+ 
+ make-imglib : make-imglib.c
+-	$(BUILD_CC) $(srcdir)/make-imglib.c -o make-imglib -lpng -lz
++	$(BUILD_CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(srcdir)/make-imglib.c -o make-imglib -lpng -lz
+ 
+ text2c : text2c.c
+-	$(BUILD_CC) $(srcdir)/text2c.c -o text2c -lpng -lz
++	$(BUILD_CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(srcdir)/text2c.c -o text2c -lpng -lz
diff --git a/debian/patches/series b/debian/patches/series
index 797cf7c..f928c6d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,4 +2,4 @@
 20-lib--make-imglib.c-closedir.patch
 30-spider.c-implicit-pointer-conversion.patch
 40-include.patch
-45-libpng15
+50-buildflags.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ace-of-penguins.git



More information about the Pkg-games-commits mailing list