summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2014-04-17 21:19:02 +0000
committerasau <asau@pkgsrc.org>2014-04-17 21:19:02 +0000
commitfa2db5ab206e2d248485686f2eda7a6f59075f8e (patch)
treed875044273110a22692a2c9eaca9918bd6af14c7 /lang
parentb2c0be5f8e4c2e331c550dd2f42bcba443dd2c53 (diff)
downloadpkgsrc-fa2db5ab206e2d248485686f2eda7a6f59075f8e.tar.gz
FreeBSD 10 support.
Diffstat (limited to 'lang')
-rw-r--r--lang/g95/distinfo4
-rw-r--r--lang/g95/patches/patch-gcc_config.gcc22
2 files changed, 18 insertions, 8 deletions
diff --git a/lang/g95/distinfo b/lang/g95/distinfo
index 60040064e77..9843ad68fbf 100644
--- a/lang/g95/distinfo
+++ b/lang/g95/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2014/02/19 18:27:43 jperkin Exp $
+$NetBSD: distinfo,v 1.21 2014/04/17 21:19:02 asau Exp $
SHA1 (g95_source.tgz) = b5e503fd6459b65cbda73190685f9490230d9cff
RMD160 (g95_source.tgz) = 98d03e9a1835f4b3553a72a798bdf1d90a757176
@@ -10,7 +10,7 @@ SHA1 (patch-ab) = 7429a4da26aa573dcdd94bf417da1e009f95d273
SHA1 (patch-ac) = b20a90cc2f9078cf0048980b75fa6836da0f28a8
SHA1 (patch-g95spec.c) = d6f434e715835cd39511c45ed18632c8401b78a2
SHA1 (patch-gcc_Makefile.in) = cc5cc142a85612ebf2d38513e4b05db0ae795268
-SHA1 (patch-gcc_config.gcc) = 9da8f32372c64b1590d97e3f26aec0d5652cc959
+SHA1 (patch-gcc_config.gcc) = 77c241a77e1879cd0a73847591d39adac7b13fc3
SHA1 (patch-gcc_config_dragonfly-spec.h) = bf0c97caa314714542cf8cc63fdf0c73bda80511
SHA1 (patch-gcc_config_dragonfly.h) = 6d46b7b4637a20b36e19a15e1eaffdfff6638de9
SHA1 (patch-gcc_config_freebsd-spec.h) = 8a1b78b479a386caec14e6a6333fde4a8af6de2c
diff --git a/lang/g95/patches/patch-gcc_config.gcc b/lang/g95/patches/patch-gcc_config.gcc
index 48880db4afd..72f983855ac 100644
--- a/lang/g95/patches/patch-gcc_config.gcc
+++ b/lang/g95/patches/patch-gcc_config.gcc
@@ -1,11 +1,21 @@
-$NetBSD: patch-gcc_config.gcc,v 1.1 2013/05/20 05:47:34 adam Exp $
+$NetBSD: patch-gcc_config.gcc,v 1.2 2014/04/17 21:19:02 asau Exp $
Darwin 64-bit support.
DragonFly BSD support.
+FreeBSD 10 support.
---- ../gcc-4.1.2/gcc/config.gcc.orig 2006-10-15 23:12:23.000000000 +0000
-+++ ../gcc-4.1.2/gcc/config.gcc
-@@ -440,6 +440,23 @@ case ${target} in
+--- ../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 @@
+ 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" ;;
+ *)
+ echo 'Please update *-*-freebsd* in gcc/config.gcc'
+ exit 1
+@@ -440,6 +442,23 @@
esac
fbsd_tm_file="${fbsd_tm_file} freebsd-spec.h freebsd.h"
;;
@@ -29,7 +39,7 @@ DragonFly BSD support.
*-*-linux*libc1* | *-*-linux*aout*)
# Avoid the generic linux case.
;;
-@@ -981,6 +998,8 @@ hppa[12]*-*-hpux11*)
+@@ -981,6 +1000,8 @@
i[34567]86-*-darwin*)
# All the configuration is presently done generically.
;;
@@ -38,7 +48,7 @@ DragonFly BSD 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 +1031,12 @@ i[34567]86-*-freebsd*)
+@@ -1012,6 +1033,12 @@
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"
;;