diff options
author | dinoex <dinoex@FreeBSD.org> | 2011-04-21 13:03:28 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2011-04-21 13:03:28 +0800 |
commit | 1097702c84f1b4c864df244cdc3ead4576d4001c (patch) | |
tree | aa9f7c0980485ed51bb4efa37279012c9fe1605b /lang | |
parent | 96899176b25e0e8f8461272b35f6af8e1f6d564c (diff) | |
download | freebsd-ports-gnome-1097702c84f1b4c864df244cdc3ead4576d4001c.tar.gz freebsd-ports-gnome-1097702c84f1b4c864df244cdc3ead4576d4001c.tar.zst freebsd-ports-gnome-1097702c84f1b4c864df244cdc3ead4576d4001c.zip |
- fix build with base gcc
Diffstat (limited to 'lang')
-rw-r--r-- | lang/etoile-io/Makefile | 4 | ||||
-rw-r--r-- | lang/etoile-io/files/patch-Runtime.m | 17 |
2 files changed, 21 insertions, 0 deletions
diff --git a/lang/etoile-io/Makefile b/lang/etoile-io/Makefile index fd413d34dd96..b8274785fe67 100644 --- a/lang/etoile-io/Makefile +++ b/lang/etoile-io/Makefile @@ -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> diff --git a/lang/etoile-io/files/patch-Runtime.m b/lang/etoile-io/files/patch-Runtime.m new file mode 100644 index 000000000000..708b942932b2 --- /dev/null +++ b/lang/etoile-io/files/patch-Runtime.m @@ -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 + |