Bug#852859: unblock: mknbi/1.4.4-13
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package mknbi (FTBFS fix).
unblock mknbi/1.4.4-13
diff -Nru mknbi-1.4.4/debian/changelog mknbi-1.4.4/debian/changelog
--- mknbi-1.4.4/debian/changelog 2016-08-03 15:40:44.000000000 +0300
+++ mknbi-1.4.4/debian/changelog 2017-01-28 00:23:07.000000000 +0200
@@ -1,3 +1,10 @@
+mknbi (1.4.4-13) unstable; urgency=medium
+
+ * QA upload.
+ * Add patch from Steve Beattie to fix PIE FTBFS. (Closes: #852851)
+
+ -- Adrian Bunk <bunk@debian.org> Sat, 28 Jan 2017 00:23:07 +0200
+
mknbi (1.4.4-12) unstable; urgency=medium
* QA upload.
diff -Nru mknbi-1.4.4/debian/patches/07-disable-pie.patch mknbi-1.4.4/debian/patches/07-disable-pie.patch
--- mknbi-1.4.4/debian/patches/07-disable-pie.patch 1970-01-01 02:00:00.000000000 +0200
+++ mknbi-1.4.4/debian/patches/07-disable-pie.patch 2017-01-28 00:22:04.000000000 +0200
@@ -0,0 +1,18 @@
+Author: Steve Beattie <steve.beattie@canonical.com>
+Subject: disable position independent executables by default
+---
+ Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+Index: b/Makefile
+===================================================================
+--- a/Makefile
++++ b/Makefile
+@@ -20,6 +20,7 @@ OLDGAS:= $(shell $(AS) --version | grep
+ CFLAGS= -I. -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer \
+ -fgnu89-inline \
+ -fno-stack-protector \
++ -no-pie -fno-PIE \
+ -m32 -mcpu=i386 \
+ -Wall -W -Wno-format -Wno-unused -DVERSION=\"$(VERSION)$(EXTRAVERSION)\"
+ LDBINARYFLAG= --oformat binary -m elf_i386
diff -Nru mknbi-1.4.4/debian/patches/series mknbi-1.4.4/debian/patches/series
--- mknbi-1.4.4/debian/patches/series 2016-08-03 15:40:44.000000000 +0300
+++ mknbi-1.4.4/debian/patches/series 2017-01-28 00:23:02.000000000 +0200
@@ -4,3 +4,4 @@
04-no-stack-protector.patch
05-gcc-5.patch
06-reproducible-builds.patch
+07-disable-pie.patch
Reply to: