aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2008-03-03 03:21:44 +0800
committermarcus <marcus@FreeBSD.org>2008-03-03 03:21:44 +0800
commitff48703f60d37f25a999bbd3cc025e9a783fb6d8 (patch)
tree5cc847367c87981082b8bada6a931fe653b5326d
parent3139f33ac6d06173af254ddf12efaa62c3a27737 (diff)
downloadfreebsd-ports-gnome-ff48703f60d37f25a999bbd3cc025e9a783fb6d8.tar.gz
freebsd-ports-gnome-ff48703f60d37f25a999bbd3cc025e9a783fb6d8.tar.zst
freebsd-ports-gnome-ff48703f60d37f25a999bbd3cc025e9a783fb6d8.zip
Fix build with guile-1.8.
Reported by: pointyhat via pav
-rw-r--r--lang/gnustep-guile/files/patch-Library_gg_class.m13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/gnustep-guile/files/patch-Library_gg_class.m b/lang/gnustep-guile/files/patch-Library_gg_class.m
new file mode 100644
index 000000000000..e5e4367e6c1a
--- /dev/null
+++ b/lang/gnustep-guile/files/patch-Library_gg_class.m
@@ -0,0 +1,13 @@
+--- Library/gg_class.m.orig 2008-03-02 14:19:31.000000000 -0500
++++ Library/gg_class.m 2008-03-02 14:20:22.000000000 -0500
+@@ -414,8 +414,8 @@ gstep_send_msg_to_guile(id rcv, SEL sel,
+ data.selname = gh_str02scm((char*)selname);
+ data.argslist = argsList;
+
+- val = gh_catch(SCM_BOOL_T, (scm_catch_body_t)proc_wrapper, (void*)&data,
+- (scm_catch_handler_t)proc_error, (void*)procname);
++ val = gh_catch(SCM_BOOL_T, (scm_t_catch_body)proc_wrapper, (void*)&data,
++ (scm_t_catch_handler)proc_error, (void*)procname);
+
+ /*
+ * Now decode the Guile return value into the correct ObjectiveC