summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2005-04-17 20:39:14 +0000
committerNed Ludd <solar@gentoo.org>2005-04-17 20:39:14 +0000
commit89e862138669496120c6082e97cb2919201ae9cb (patch)
tree17b79c10367654dae08aa7d2d9b3c7028f5f2073 /net-misc/mknbi/files/mknbi-1.4.3-nossp.patch
parentcompile fixes (diff)
downloadgentoo-2-89e862138669496120c6082e97cb2919201ae9cb.tar.gz
gentoo-2-89e862138669496120c6082e97cb2919201ae9cb.tar.bz2
gentoo-2-89e862138669496120c6082e97cb2919201ae9cb.zip
- corrected compile problems when using pie or ssp while building this package
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-misc/mknbi/files/mknbi-1.4.3-nossp.patch')
-rw-r--r--net-misc/mknbi/files/mknbi-1.4.3-nossp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/mknbi/files/mknbi-1.4.3-nossp.patch b/net-misc/mknbi/files/mknbi-1.4.3-nossp.patch
new file mode 100644
index 000000000000..71289a336c4c
--- /dev/null
+++ b/net-misc/mknbi/files/mknbi-1.4.3-nossp.patch
@@ -0,0 +1,11 @@
+--- Makefile.orig 2005-04-17 10:50:53.000000000 -0400
++++ Makefile 2005-04-17 10:51:17.000000000 -0400
+@@ -18,7 +18,7 @@
+ FIRSTRELOCS= 0x92800 0x82800
+ OLDGAS:= $(shell $(AS) --version | grep -q '2\.9\.1' && echo -DGAS291)
+ CFLAGS= -I. -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer \
+- -mcpu=i386 \
++ -mcpu=i386 -fno-stack-protector -fno-stack-protector-all -fno-pie \
+ -Wall -W -Wno-format -Wno-unused -DVERSION=\"$(VERSION)$(EXTRAVERSION)\"
+ LDBINARYFLAG= --oformat binary
+ FIRST32SIZE= 6144