summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Henriksson <andreas@fatal.se>2018-12-01 19:14:18 +0100
committerSteve Langasek <vorlon@debian.org>2019-02-11 22:11:37 -0800
commit950330a6f8184506b17dc86ca52e17bc153326ff (patch)
tree73721772f95ce15a7dfcb552b1534da6671956f7
parent61d361b6974aae12d15bedbd37d8fa584e1796c4 (diff)
Add debian/patches/fix-autoreconf.patch
-rw-r--r--debian/changelog2
-rw-r--r--debian/patches-applied/fix-autoreconf.patch27
-rw-r--r--debian/patches-applied/series1
3 files changed, 30 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 8bc185ae..96be9d0e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,8 @@ pam (1.3.1-1) UNRELEASED; urgency=medium
[ Andreas Henriksson ]
* Update debian/libpam0g.symbols
+ * debian/patches-applied/fix-autoreconf.patch: Do not override user
+ variables in Makefile.am
-- Steve Langasek <vorlon@debian.org> Wed, 23 Jan 2019 14:44:20 +0000
diff --git a/debian/patches-applied/fix-autoreconf.patch b/debian/patches-applied/fix-autoreconf.patch
new file mode 100644
index 00000000..037f7ff8
--- /dev/null
+++ b/debian/patches-applied/fix-autoreconf.patch
@@ -0,0 +1,27 @@
+From: Andreas Henriksson <andreas@fatal.se>
+Date: Thu, 8 Nov 2018 19:09:21 +0100
+Subject: fix-autoreconf.patch
+
+Do not override user variables in Makefile.am, see the
+"Flag Variables Ordering" section of the automake manual.
+---
+ doc/specs/Makefile.am | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/doc/specs/Makefile.am b/doc/specs/Makefile.am
+index 99ecc70..b94e5ef 100644
+--- a/doc/specs/Makefile.am
++++ b/doc/specs/Makefile.am
+@@ -12,9 +12,9 @@ draft-morgan-pam-current.txt: padout draft-morgan-pam.raw
+ AM_YFLAGS = -d
+
+ CC = @CC_FOR_BUILD@
+-CPPFLAGS = @BUILD_CPPFLAGS@
+-CFLAGS = @BUILD_CFLAGS@
+-LDFLAGS = @BUILD_LDFLAGS@
++AM_CPPFLAGS = @BUILD_CPPFLAGS@
++AM_CFLAGS = @BUILD_CFLAGS@
++AM_LDFLAGS = @BUILD_LDFLAGS@
+
+ BUILT_SOURCES = parse_y.h
+
diff --git a/debian/patches-applied/series b/debian/patches-applied/series
index ea529795..d5318db2 100644
--- a/debian/patches-applied/series
+++ b/debian/patches-applied/series
@@ -22,3 +22,4 @@ update-motd
no_PATH_MAX_on_hurd
lib_security_multiarch_compat
pam-limits-nofile-fd-setsize-cap
+fix-autoreconf.patch