diff options
Diffstat (limited to 'homebrew/kite/patches.sh')
-rwxr-xr-x | homebrew/kite/patches.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/homebrew/kite/patches.sh b/homebrew/kite/patches.sh new file mode 100755 index 000000000..b6fb1134a --- /dev/null +++ b/homebrew/kite/patches.sh @@ -0,0 +1,18 @@ +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +--- a/backend/common/kite_vm.c 2010-08-21 01:20:25.000000000 +0200 ++++ b/backend/common/kite_vm.c 2012-02-11 02:29:37.000000000 +0100 +@@ -152,7 +152,12 @@ + #endif + + #ifdef HAVE_GC_H ++#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2 ++ ret->old_proc = GC_get_warn_proc(); ++ GC_set_warn_proc ((GC_warn_proc)kite_ignore_gc_warnings); ++#else + ret->old_proc = GC_set_warn_proc((GC_warn_proc)kite_ignore_gc_warnings); ++#endif + #endif /* HAVE_GC_H */ + + return ret; +EOF |