[cpl-plugin-amber] 36/40: Propagate CPPFLAGS
Ole Streicher
olebole-guest at alioth.debian.org
Sun Sep 15 17:16:36 UTC 2013
This is an automated email from the git hooks/post-receive script.
olebole-guest pushed a commit to branch debian
in repository cpl-plugin-amber.
commit 2f98c4e296971021fd78ac1f7632c0c19ee3ece8
Author: Ole Streicher <debian at liska.ath.cx>
Date: Sun Sep 15 18:31:52 2013 +0200
Propagate CPPFLAGS
---
debian/patches/propagate_cppflags.patch | 13 +++++++++++++
debian/patches/series | 1 +
2 files changed, 14 insertions(+)
diff --git a/debian/patches/propagate_cppflags.patch b/debian/patches/propagate_cppflags.patch
new file mode 100644
index 0000000..66ae049
--- /dev/null
+++ b/debian/patches/propagate_cppflags.patch
@@ -0,0 +1,13 @@
+Author: Ole Streicher <debian at liska.ath.cx>
+Description: Propagate CPPFLAGS to allow hardening
+--- a/amber/Makefile.am
++++ b/amber/Makefile.am
+@@ -41,7 +41,7 @@
+
+ #LIBFFTW3=/home/agabasch/cpl/lib/libfftw3.la
+
+-CPPFLAGS = -DCX_LOG_DOMAIN=\"AmberLib\"
++AM_CPPFLAGS = -DCX_LOG_DOMAIN=\"AmberLib\"
+
+ INCLUDES = $(CFITSIO_INCLUDES) $(FFTW_INCLUDES) $(all_includes)
+
diff --git a/debian/patches/series b/debian/patches/series
index 3306368..45cc69f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ libadd_cpl.patch
set_plugindir.patch
use-std-paths-for-cpl.patch
format_security.patch
+propagate_cppflags.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cpl-plugin-amber.git
More information about the debian-science-commits
mailing list