aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2011-04-16 17:42:26 +0800
committerdinoex <dinoex@FreeBSD.org>2011-04-16 17:42:26 +0800
commit1e80e3baa1327661bbef180f8d79bc24a3bf0187 (patch)
tree032bc0e6e4a8896b64a4cc478e6cb6f4dba42900 /www
parent5bac4b17e7d69f4235f1f0f8b823930d31168fd9 (diff)
downloadfreebsd-ports-gnome-1e80e3baa1327661bbef180f8d79bc24a3bf0187.tar.gz
freebsd-ports-gnome-1e80e3baa1327661bbef180f8d79bc24a3bf0187.tar.zst
freebsd-ports-gnome-1e80e3baa1327661bbef180f8d79bc24a3bf0187.zip
- fix objc API, so only one libobjc is linked in.
Diffstat (limited to 'www')
-rw-r--r--www/webserver/files/patch-WebServer.m13
-rw-r--r--www/webserver/pkg-plist1
2 files changed, 14 insertions, 0 deletions
diff --git a/www/webserver/files/patch-WebServer.m b/www/webserver/files/patch-WebServer.m
new file mode 100644
index 000000000000..4b3c9d84ef76
--- /dev/null
+++ b/www/webserver/files/patch-WebServer.m
@@ -0,0 +1,13 @@
+--- WebServer.m.orig 2011-04-01 06:15:13.000000000 +0200
++++ WebServer.m 2011-04-16 11:24:04.000000000 +0200
+@@ -46,6 +46,10 @@
+
+ #define Alloc(X) [(X) allocWithZone: defaultMallocZone]
+
++#if (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4)
++#define object_getClass(object) (object->class_pointer)
++#endif
++
+ @implementation WebServer
+
+ + (void) initialize
diff --git a/www/webserver/pkg-plist b/www/webserver/pkg-plist
index 234c6244ad93..2773b509260f 100644
--- a/www/webserver/pkg-plist
+++ b/www/webserver/pkg-plist
@@ -5,6 +5,7 @@ GNUstep/Local/Library/Documentation/WebServer/WebServerBundles.gsdoc
GNUstep/Local/Library/Documentation/WebServer/WebServerBundles.html
GNUstep/Local/Library/Documentation/WebServer/WebServerHTML.gsdoc
GNUstep/Local/Library/Documentation/WebServer/WebServerHTML.html
+%%GNUSTEP_DEVEL%%GNUstep/Local/Library/Documentation/WebServer/OrderedSymbolDeclarations.plist
GNUstep/Local/Library/Documentation/WebServer/dependencies
GNUstep/Local/Library/Headers/WebServer/WebServer.h
GNUstep/Local/Library/Headers/WebServer/WebServerBundles.h