1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- fix build with base gcc

This commit is contained in:
Dirk Meyer 2011-04-21 05:03:28 +00:00
parent 4484522d4c
commit 01018c14f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272980
2 changed files with 21 additions and 0 deletions

View File

@ -31,4 +31,8 @@ PLIST_FILES= GNUstep/Local/Tools/ioobjc
DISTRIBUTEDVIEW_PORT?= deskutils/etoile-distributedview
post-patch:
${REINPLACE_CMD} -e 's|^inline|static inline|' \
${WRKSRC}/Languages/Io/iovm/IoState_inline.h
.include <bsd.port.mk>

View File

@ -0,0 +1,17 @@
--- Languages/Io/ObjcBridge/Runtime.m.orig 2007-08-03 16:46:18.000000000 +0200
+++ Languages/Io/ObjcBridge/Runtime.m 2011-04-21 06:46:53.000000000 +0200
@@ -11,11 +11,11 @@
while ((i < bufferLen) && (class = objc_next_class(&iterator))) buffer[i++]=class;
return classCount;
}
-#else
+#endif
+#if 1
IMP __objc_get_forward_imp(SEL sel)
{
- extern id _objc_msgForward(id self, SEL sel, ...);
- return _objc_msgForward;
+ return __objc_msg_forward;
}
#endif