diff options
author | sevan <sevan> | 2015-10-07 10:36:54 +0000 |
---|---|---|
committer | sevan <sevan> | 2015-10-07 10:36:54 +0000 |
commit | fce78b821421284dffff1a052403c70d95c72242 (patch) | |
tree | 52abd0362b31a3b602c87e99e4b438aba6a72916 /lang | |
parent | b3e218f060a65a3af7f0669a084237a8434dd05c (diff) | |
download | pkgsrc-fce78b821421284dffff1a052403c70d95c72242.tar.gz |
Add FreeBSD 11 support
Reviewed by: wiz@
Diffstat (limited to 'lang')
-rw-r--r-- | lang/g95/distinfo | 6 | ||||
-rw-r--r-- | lang/g95/patches/patch-gcc_config.gcc | 18 | ||||
-rw-r--r-- | lang/g95/patches/patch-gcc_config_freebsd-spec.h | 15 |
3 files changed, 22 insertions, 17 deletions
diff --git a/lang/g95/distinfo b/lang/g95/distinfo index 9843ad68fbf..19a518c62eb 100644 --- a/lang/g95/distinfo +++ b/lang/g95/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.21 2014/04/17 21:19:02 asau Exp $ +$NetBSD: distinfo,v 1.22 2015/10/07 10:36:54 sevan Exp $ SHA1 (g95_source.tgz) = b5e503fd6459b65cbda73190685f9490230d9cff RMD160 (g95_source.tgz) = 98d03e9a1835f4b3553a72a798bdf1d90a757176 @@ -10,10 +10,10 @@ SHA1 (patch-ab) = 7429a4da26aa573dcdd94bf417da1e009f95d273 SHA1 (patch-ac) = b20a90cc2f9078cf0048980b75fa6836da0f28a8 SHA1 (patch-g95spec.c) = d6f434e715835cd39511c45ed18632c8401b78a2 SHA1 (patch-gcc_Makefile.in) = cc5cc142a85612ebf2d38513e4b05db0ae795268 -SHA1 (patch-gcc_config.gcc) = 77c241a77e1879cd0a73847591d39adac7b13fc3 +SHA1 (patch-gcc_config.gcc) = 36d6af33ee7997d67179090114dfd8fc3e403a74 SHA1 (patch-gcc_config_dragonfly-spec.h) = bf0c97caa314714542cf8cc63fdf0c73bda80511 SHA1 (patch-gcc_config_dragonfly.h) = 6d46b7b4637a20b36e19a15e1eaffdfff6638de9 -SHA1 (patch-gcc_config_freebsd-spec.h) = 8a1b78b479a386caec14e6a6333fde4a8af6de2c +SHA1 (patch-gcc_config_freebsd-spec.h) = 58eb1a97c243da253f7be070521ed4b6ea6c2c76 SHA1 (patch-gcc_config_i386_dragonfly.h) = 7d60d29b5ae636d69650e8c412a94f7a6045f6d9 SHA1 (patch-gcc_config_i386_dragonfly64.h) = 9d2d8512a913e58055fa5c1b7d85a109117dcfba SHA1 (patch-gcc_config_t-dragonfly) = dd8d5919af737dfb9e3c18be9a41b4e2c6f31155 diff --git a/lang/g95/patches/patch-gcc_config.gcc b/lang/g95/patches/patch-gcc_config.gcc index 72f983855ac..4504a479f1d 100644 --- a/lang/g95/patches/patch-gcc_config.gcc +++ b/lang/g95/patches/patch-gcc_config.gcc @@ -1,21 +1,23 @@ -$NetBSD: patch-gcc_config.gcc,v 1.2 2014/04/17 21:19:02 asau Exp $ +$NetBSD: patch-gcc_config.gcc,v 1.3 2015/10/07 10:36:54 sevan Exp $ Darwin 64-bit support. DragonFly BSD support. -FreeBSD 10 support. +FreeBSD 10 & 11 support. ---- ../gcc-4.1.2/gcc/config.gcc.orig 2006-10-16 01:12:23.000000000 +0200 -+++ ../gcc-4.1.2/gcc/config.gcc 2014-04-17 15:05:05.084032706 +0200 -@@ -412,6 +412,8 @@ +--- ../gcc-4.1.2/gcc/config.gcc.orig 2006-10-15 23:12:23.000000000 +0000 ++++ ../gcc-4.1.2/gcc/config.gcc +@@ -412,6 +412,10 @@ case ${target} in tm_defines="${tm_defines} FBSD_MAJOR=8" ;; *-*-freebsd9 | *-*-freebsd[9].*) tm_defines="${tm_defines} FBSD_MAJOR=9" ;; + *-*-freebsd10 | *-*-freebsd10.*) + tm_defines="${tm_defines} FBSD_MAJOR=10" ;; ++ *-*-freebsd11 | *-*-freebsd11.*) ++ tm_defines="${tm_defines} FBSD_MAJOR=11" ;; *) echo 'Please update *-*-freebsd* in gcc/config.gcc' exit 1 -@@ -440,6 +442,23 @@ +@@ -440,6 +444,23 @@ case ${target} in esac fbsd_tm_file="${fbsd_tm_file} freebsd-spec.h freebsd.h" ;; @@ -39,7 +41,7 @@ FreeBSD 10 support. *-*-linux*libc1* | *-*-linux*aout*) # Avoid the generic linux case. ;; -@@ -981,6 +1000,8 @@ +@@ -981,6 +1002,8 @@ hppa[12]*-*-hpux11*) i[34567]86-*-darwin*) # All the configuration is presently done generically. ;; @@ -48,7 +50,7 @@ FreeBSD 10 support. i[34567]86-*-elf*) tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h" tmake_file="i386/t-i386elf t-svr4" -@@ -1012,6 +1033,12 @@ +@@ -1012,6 +1035,12 @@ i[34567]86-*-freebsd*) 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" ;; diff --git a/lang/g95/patches/patch-gcc_config_freebsd-spec.h b/lang/g95/patches/patch-gcc_config_freebsd-spec.h index 675efa8b81f..dcba5543b3f 100644 --- a/lang/g95/patches/patch-gcc_config_freebsd-spec.h +++ b/lang/g95/patches/patch-gcc_config_freebsd-spec.h @@ -1,18 +1,21 @@ -$NetBSD: patch-gcc_config_freebsd-spec.h,v 1.1 2013/09/23 17:56:32 asau Exp $ +$NetBSD: patch-gcc_config_freebsd-spec.h,v 1.2 2015/10/07 10:36:54 sevan Exp $ Do not create duplicate definitions. +Add support for FreeBSD 9 to 11 From FreeBSD ports. ---- ../gcc-4.1.2/gcc/config/freebsd-spec.h.orig 2005-07-20 13:12:58.000000000 +0200 -+++ ../gcc-4.1.2/gcc/config/freebsd-spec.h 2012-06-20 15:57:35.000000000 +0200 -@@ -51,11 +51,13 @@ +--- ../gcc-4.1.2/gcc/config/freebsd-spec.h.orig 2005-07-19 13:42:12.000000000 +0000 ++++ ../gcc-4.1.2/gcc/config/freebsd-spec.h +@@ -51,11 +51,15 @@ Boston, MA 02110-1301, USA. */ #define FBSD_TARGET_OS_CPP_BUILTINS() \ do \ { \ - if (FBSD_MAJOR == 9) \ -+ if (FBSD_MAJOR == 10) \ ++ if (FBSD_MAJOR == 11) \ ++ builtin_define ("__FreeBSD__=11"); \ ++ else if (FBSD_MAJOR == 10) \ + builtin_define ("__FreeBSD__=10"); \ -+ else if (FBSD_MAJOR == 9) \ ++ else if (FBSD_MAJOR == 9) \ builtin_define ("__FreeBSD__=9"); \ else if (FBSD_MAJOR == 8) \ builtin_define ("__FreeBSD__=8"); \ |