aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-12-07 15:48:20 +0800
committerdinoex <dinoex@FreeBSD.org>2002-12-07 15:48:20 +0800
commit0468a5cf0d27bf39b545af7c01170c67a6c1997e (patch)
tree3387d5fc908b29a093d05f21c7d8d864f13e171a /lang
parent10cfa6261baa35d56c4d9aa3b36a5391f59cc437 (diff)
downloadfreebsd-ports-gnome-0468a5cf0d27bf39b545af7c01170c67a6c1997e.tar.gz
freebsd-ports-gnome-0468a5cf0d27bf39b545af7c01170c67a6c1997e.tar.zst
freebsd-ports-gnome-0468a5cf0d27bf39b545af7c01170c67a6c1997e.zip
- prepare MASTER_SITE_GNUSTEP
- Fix build on beast http://beta.freebsd.org/errorlogs/5-full/gnustep-base-1.5.1.log
Diffstat (limited to 'lang')
-rw-r--r--lang/gnustep-base/Makefile8
-rw-r--r--lang/gnustep-base/files/patch-NSObject.m18
2 files changed, 23 insertions, 3 deletions
diff --git a/lang/gnustep-base/Makefile b/lang/gnustep-base/Makefile
index 0c605ebf861b..f845c4492cbb 100644
--- a/lang/gnustep-base/Makefile
+++ b/lang/gnustep-base/Makefile
@@ -8,9 +8,11 @@
PORTNAME= gnustep-base
PORTVERSION= 1.5.1
CATEGORIES= lang devel
-MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/core/ \
- http://archive.progeny.com/gnustep/core/ \
- ftp://ftp.easynet.nl/mirror/GNUstep/core/
+MASTER_SITES= ${MASTER_SITE_GNUSTEP} \
+ ftp://ftp.gnustep.org/pub/gnustep/ \
+ http://archive.progeny.com/gnustep/ \
+ ftp://ftp.easynet.nl/mirror/GNUstep/
+MASTER_SITE_SUBDIR= core
MAINTAINER= dinoex@FreeBSD.org
diff --git a/lang/gnustep-base/files/patch-NSObject.m b/lang/gnustep-base/files/patch-NSObject.m
new file mode 100644
index 000000000000..db840f25f494
--- /dev/null
+++ b/lang/gnustep-base/files/patch-NSObject.m
@@ -0,0 +1,18 @@
+--- Source/NSObject.m.orig Sun Nov 10 10:29:45 2002
++++ Source/NSObject.m Sat Dec 7 08:45:28 2002
+@@ -779,6 +779,7 @@
+ #endif
+
+ #ifdef __FreeBSD__
++#if defined __i386__
+ // Manipulate the FPU to add the exception mask. (Fixes SIGFPE
+ // problems on *BSD)
+
+@@ -789,6 +790,7 @@
+ cw |= 1; /* Mask 'invalid' exception */
+ __asm__ volatile ("fldcw (%0)" : : "g" (&cw));
+ }
++#endif
+ #endif
+
+ GSSetLocaleC(""); // Set up locale from environment.