Skip to content

Instantly share code, notes, and snippets.

@makenowjust
Last active August 29, 2015 14:17
Show Gist options
  • Save makenowjust/ee3341c4aaa4e3728d16 to your computer and use it in GitHub Desktop.
Save makenowjust/ee3341c4aaa4e3728d16 to your computer and use it in GitHub Desktop.
kite-1.0.4.tar.gzのコンパイルに使うパッチ
diff -Naru kite-1.0.4.orig/backend/common/kite_vm.c kite-1.0.4/backend/common/kite_vm.c
--- kite-1.0.4.orig/backend/common/kite_vm.c 2015-03-27 04:04:34.393858194 +0000
+++ kite-1.0.4/backend/common/kite_vm.c 2015-03-27 04:08:33.341847540 +0000
@@ -152,7 +152,8 @@
#endif
#ifdef HAVE_GC_H
- ret->old_proc = GC_set_warn_proc((GC_warn_proc)kite_ignore_gc_warnings);
+ ret->old_proc = GC_get_warn_proc();
+ GC_set_warn_proc((GC_warn_proc)kite_ignore_gc_warnings);
#endif /* HAVE_GC_H */
return ret;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment