summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2005-01-08 11:08:58 +0000
committernork <nork@FreeBSD.org>2005-01-08 11:08:58 +0000
commitd06094495501d485c82ebb3f9e6cac174fbe5aa5 (patch)
tree4d4a1f93b8283f054d51f576e1a7a7003914c7bd /lang
parentdc75f891f09dfbec14962dd6e285a98ca2133adb (diff)
downloadFreeBSD-ports-d06094495501d485c82ebb3f9e6cac174fbe5aa5.zip
FreeBSD-ports-d06094495501d485c82ebb3f9e6cac174fbe5aa5.tar.gz
o Fix -pthread issue.
This fix resolves openoffice building problem on 5.2.1 or later. o Bump PORTREVISION. PR: ports/75785 [1], bin/62300 [2] Pointed out by: Oleg Sharoiko <os@rsu.ru> [1], many many people on openoffice@FreeBSD.org Inspired by: maho, Mark Andrews <marka@isc.org> [2] Discussed with: maho, daichi Committed at: Murayakuba Japanese style pub http://www.murayakuba.jp/ Committed with: maho, daichi
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc32/Makefile2
-rw-r--r--lang/gcc32/files/patch-gcc,config,freebsd-spec.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/lang/gcc32/Makefile b/lang/gcc32/Makefile
index a1276e8..e19a822 100644
--- a/lang/gcc32/Makefile
+++ b/lang/gcc32/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gcc
PORTVERSION= 3.2.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_GCC} \
http://web.inter.NL.net/hcc/Haj.Ten.Brugge/:bc
diff --git a/lang/gcc32/files/patch-gcc,config,freebsd-spec.h b/lang/gcc32/files/patch-gcc,config,freebsd-spec.h
index 046cca5..6d19354 100644
--- a/lang/gcc32/files/patch-gcc,config,freebsd-spec.h
+++ b/lang/gcc32/files/patch-gcc,config,freebsd-spec.h
@@ -1,9 +1,10 @@
--- gcc/config/freebsd-spec.h.orig Tue Mar 2 14:34:55 2004
+++ gcc/config/freebsd-spec.h Fri Dec 17 11:22:26 2004
-@@ -130,11 +130,19 @@
+@@ -130,11 +130,20 @@
}"
#else
#if FBSD_MAJOR >= 5
++#include <sys/param.h>
+#if __FreeBSD_version < 502102 /* upto FreeBSD 5.2.1 */
#define FBSD_LIB_SPEC " \
%{!shared: \
OpenPOWER on IntegriCloud