[hamradio-commits] [xnec2c] 01/06: Remove hardcoded -fpie from CFLAGS to fix FTBFS on sparc and s390x

Iain Learmonth irl-guest at moszumanska.debian.org
Tue Jul 21 21:05:09 UTC 2015


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

irl-guest pushed a commit to branch master
in repository xnec2c.

commit b81db736049c7305004b79873290ee9027df6e02
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Tue Jul 21 21:53:18 2015 +0100

    Remove hardcoded -fpie from CFLAGS to fix FTBFS on sparc and s390x
---
 debian/patches/remove-hardcoded-fpie.patch | 11 +++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/remove-hardcoded-fpie.patch b/debian/patches/remove-hardcoded-fpie.patch
new file mode 100644
index 0000000..1f2fcaf
--- /dev/null
+++ b/debian/patches/remove-hardcoded-fpie.patch
@@ -0,0 +1,11 @@
+--- xnec2c.orig/src/Makefile.am
++++ xnec2c/src/Makefile.am
+@@ -1,7 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+ AM_LDFLAGS = -Wl,--as-needed,-z,relro,-z,now
+ AM_CFLAGS = --pedantic -Wall -std=gnu99 -O2 -D_FORTIFY_SOURCE=2 \
+-		 -fstack-protector -Wformat -Werror=format-security -fpie
++		 -fstack-protector -Wformat -Werror=format-security
+ 
+ AM_CPPFLAGS = \
+ 	-DPROGRAMNAME_LOCALEDIR=\""$(PROGRAMNAME_LOCALEDIR)"\" \
diff --git a/debian/patches/series b/debian/patches/series
index 25d0fb4..f7e5dde 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+remove-hardcoded-fpie.patch
 add-to-POTFILES.patch
 fix-misc.c.patch
 spellings.patch

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



More information about the pkg-hamradio-commits mailing list