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:
parent
4484522d4c
commit
01018c14f1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272980
@ -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>
|
||||
|
17
lang/etoile-io/files/patch-Runtime.m
Normal file
17
lang/etoile-io/files/patch-Runtime.m
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user