diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-12-26 16:45:31 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-12-26 16:45:31 +0000 |
commit | a1218ec516dcc9e893d9112874a766364cc850c2 (patch) | |
tree | 5fc0f9f8c4e10e4b7a22fb2bb667a6651120e94e /lang/g95 | |
parent | e1ab2d0519baa121de1ac526f83fa749d54be474 (diff) | |
download | ports-a1218ec516dcc9e893d9112874a766364cc850c2.tar.gz ports-a1218ec516dcc9e893d9112874a766364cc850c2.zip |
- Fix build on FreeBSD 8.x
Submitted by: Wesley Shields <wxs@atarininja.org>
Notes
Notes:
svn path=/head/; revision=204581
Diffstat (limited to 'lang/g95')
-rw-r--r-- | lang/g95/files/patch-gcc__config__freebsd-spec.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/g95/files/patch-gcc__config__freebsd-spec.h b/lang/g95/files/patch-gcc__config__freebsd-spec.h new file mode 100644 index 000000000000..847552c342c3 --- /dev/null +++ b/lang/g95/files/patch-gcc__config__freebsd-spec.h @@ -0,0 +1,11 @@ +--- ../gcc-4.0.3/gcc/config/freebsd-spec.h.orig 2007-12-26 10:31:59.000000000 -0500 ++++ ../gcc-4.0.3/gcc/config/freebsd-spec.h 2007-12-26 10:32:21.000000000 -0500 +@@ -55,7 +55,7 @@ + builtin_define ("__FreeBSD__=9"); \ + else if (FBSD_MAJOR == 8) \ + builtin_define ("__FreeBSD__=8"); \ +- if (FBSD_MAJOR == 7) \ ++ else if (FBSD_MAJOR == 7) \ + builtin_define ("__FreeBSD__=7"); \ + else if (FBSD_MAJOR == 6) \ + builtin_define ("__FreeBSD__=6"); \ |