summaryrefslogtreecommitdiff
path: root/lang/gcc45
diff options
context:
space:
mode:
authordholland <dholland>2014-12-06 18:47:01 +0000
committerdholland <dholland>2014-12-06 18:47:01 +0000
commit8efe5e446363a53602f91e5bbbab0d85a01bd5f1 (patch)
tree137bf0fea3a6d213e2dcf9dd135b0fe50e94b062 /lang/gcc45
parent1d9165dafc07942f110a71f16a0053a6184300fb (diff)
downloadpkgsrc-8efe5e446363a53602f91e5bbbab0d85a01bd5f1.tar.gz
Add missing svr4.h for ppc netbsd. From Frank Wille in PR 49453.
Diffstat (limited to 'lang/gcc45')
-rw-r--r--lang/gcc45/distinfo4
-rw-r--r--lang/gcc45/patches/patch-aa19
2 files changed, 18 insertions, 5 deletions
diff --git a/lang/gcc45/distinfo b/lang/gcc45/distinfo
index 0e616a37c2c..be7148e1dfd 100644
--- a/lang/gcc45/distinfo
+++ b/lang/gcc45/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.10 2014/05/08 10:14:46 pho Exp $
+$NetBSD: distinfo,v 1.11 2014/12/06 18:47:01 dholland Exp $
SHA1 (gcc-4.5.3.tar.bz2) = 73c45dfda5eef6b124be53e56828b5925198cc1b
RMD160 (gcc-4.5.3.tar.bz2) = d07aa90f2186b4e082dfd5ad5d5188c097fb6247
Size (gcc-4.5.3.tar.bz2) = 66374586 bytes
-SHA1 (patch-aa) = c488dc25e038d97c737c8c72437660598d9e15d3
+SHA1 (patch-aa) = b20d2e95229bddba42819780725ab159e14f06f0
SHA1 (patch-ab) = 61bc2ebf150c6e471917e145d74e7795dc162194
SHA1 (patch-ac) = 7da8c27d521164c1a7801dda8ca62d1057ac8d32
SHA1 (patch-ad) = b72c93d8477a567363616717e20eef1b33e7d307
diff --git a/lang/gcc45/patches/patch-aa b/lang/gcc45/patches/patch-aa
index 39ac5bf1fc6..d6a60e5cc5c 100644
--- a/lang/gcc45/patches/patch-aa
+++ b/lang/gcc45/patches/patch-aa
@@ -1,6 +1,10 @@
-$NetBSD: patch-aa,v 1.1.1.1 2011/05/14 20:19:47 wiz Exp $
+$NetBSD: patch-aa,v 1.2 2014/12/06 18:47:01 dholland Exp $
---- gcc/config.gcc.orig 2010-10-09 09:35:53.000000000 +0000
+- add dfly support
+- stdint fixes for netbsd x86
+- add svr4.h for netbsd ppc, per PR 49453 from Frank Wille
+
+--- gcc/config.gcc.orig 2011-02-27 01:06:15.000000000 +0000
+++ gcc/config.gcc
@@ -499,6 +499,33 @@ case ${target} in
# need_64bit_hwint=yes # system compiler has this for all arch!
@@ -44,7 +48,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2011/05/14 20:19:47 wiz Exp $
;;
*-*-openbsd*)
tmake_file="t-libc-ok t-openbsd t-libgcc-pic"
-@@ -1117,17 +1145,23 @@ x86_64-*-freebsd*)
+@@ -1118,17 +1146,23 @@ x86_64-*-freebsd*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h"
tmake_file="${tmake_file} i386/t-crtstuff"
;;
@@ -71,3 +75,12 @@ $NetBSD: patch-aa,v 1.1.1.1 2011/05/14 20:19:47 wiz Exp $
tmake_file="${tmake_file} i386/t-crtstuff"
;;
i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
+@@ -1950,7 +1984,7 @@ powerpc*-*-freebsd*)
+ extra_options="${extra_options} rs6000/sysv4.opt"
+ ;;
+ powerpc-*-netbsd*)
+- tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h freebsd-spec.h rs6000/sysv4.h rs6000/netbsd.h"
++ tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/netbsd.h"
+ tmake_file="${tmake_file} rs6000/t-netbsd"
+ extra_options="${extra_options} rs6000/sysv4.opt"
+ ;;