[opentyrian] 03/06: add cppflags.patch

Etienne Millon emillon-guest at moszumanska.debian.org
Mon Jan 5 15:09:03 UTC 2015


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

emillon-guest pushed a commit to branch master
in repository opentyrian.

commit 96b7ff9d79270bfd4a9b25b79d7875774eda6fbc
Author: Etienne Millon <me at emillon.org>
Date:   Mon Jan 5 15:19:43 2015 +0100

    add cppflags.patch
---
 debian/patches/cppflags.patch | 14 ++++++++++++++
 debian/patches/series         |  1 +
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/cppflags.patch b/debian/patches/cppflags.patch
new file mode 100644
index 0000000..89ac107
--- /dev/null
+++ b/debian/patches/cppflags.patch
@@ -0,0 +1,14 @@
+From: Etienne Millon <me at emillon.org>
+Subject: Honor CPPFLAGS
+
+--- a/Makefile
++++ b/Makefile
+@@ -45,7 +45,7 @@
+     SDL_LDLIBS += -lSDL_net
+ endif
+ 
+-ALL_CFLAGS += -std=c99 -I./src -DTARGET_$(PLATFORM) $(EXTRA_CFLAGS) $(SDL_CFLAGS) $(CFLAGS)
++ALL_CFLAGS += -std=c99 -I./src -DTARGET_$(PLATFORM) $(EXTRA_CFLAGS) $(SDL_CFLAGS) $(CFLAGS) $(CPPFLAGS)
+ ALL_LDFLAGS += $(LDFLAGS)
+ LDLIBS += $(EXTRA_LDLIBS) $(SDL_LDLIBS)
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 00f8d1d..f4c6455 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 data_dir.patch
 uninitialized-vars.patch
+cppflags.patch

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



More information about the Pkg-games-commits mailing list