From 1e80e3baa1327661bbef180f8d79bc24a3bf0187 Mon Sep 17 00:00:00 2001 From: dinoex Date: Sat, 16 Apr 2011 09:42:26 +0000 Subject: - fix objc API, so only one libobjc is linked in. --- www/webserver/files/patch-WebServer.m | 13 +++++++++++++ www/webserver/pkg-plist | 1 + 2 files changed, 14 insertions(+) create mode 100644 www/webserver/files/patch-WebServer.m (limited to 'www') 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 -- cgit