[gtk-osx] Bug 772454 - Gnucash crashes when opening new file



commit f6e11a030ede8fd40bfd20e59f9da08ae8611324
Author: John Ralls <jralls ceridwen us>
Date:   Sun Dec 18 14:25:56 2016 -0800

    Bug 772454 - Gnucash crashes when opening new file
    
    Disable the kqueue file monitor as a work-around.

 modulesets-stable/gtk-osx.modules            |    1 +
 patches/glib-bug-772454-disable-kqueue.patch |   17 +++++++++++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/modulesets-stable/gtk-osx.modules b/modulesets-stable/gtk-osx.modules
index ed3e06c..06c94ee 100644
--- a/modulesets-stable/gtk-osx.modules
+++ b/modulesets-stable/gtk-osx.modules
@@ -84,6 +84,7 @@
       <patch file="https://git.gnome.org/browse/gtk-osx/plain/patches/gio-in-reserved-in-gcc-48.patch"; 
strip="1"/>
       <patch 
file="https://git.gnome.org/browse/gtk-osx/plain/patches/0001-Bug747146-Build-cocoanotification-only-if-supported.patch";
 strip="1"/>
       <patch file="https://git.gnome.org/browse/gtk-osx/plain/patches/glib-gint64-long-long.patch"; 
strip="1"/>
+      <patch file="https://git.gnome.org/browse/gtk-osx/plain/patches/glib-bug-772454-disable-kqueue.patch"; 
strip="1"/>
     </branch>
     <dependencies>
         <dep package="libffi"/>
diff --git a/patches/glib-bug-772454-disable-kqueue.patch b/patches/glib-bug-772454-disable-kqueue.patch
new file mode 100644
index 0000000..8c23440
--- /dev/null
+++ b/patches/glib-bug-772454-disable-kqueue.patch
@@ -0,0 +1,17 @@
+--- a/configure.ac     Fri Sep 16 16:15:34 2016
++++ b/configure.ac     Sun Dec 18 14:09:32 2016
+@@ -1605,10 +1605,10 @@
+ dnl ** Check for kqueue (GIO) **
+ dnl ****************************
+ kqueue_support=no
+-AC_CHECK_HEADERS([sys/event.h],
+-[
+-      AC_CHECK_FUNCS(kqueue kevent, [kqueue_support=yes])
+-])
++#AC_CHECK_HEADERS([sys/event.h],
++#[
++#     AC_CHECK_FUNCS(kqueue kevent, [kqueue_support=yes])
++#])
+ 
+ AM_CONDITIONAL(HAVE_KQUEUE, [test "$kqueue_support" = "yes"])
+ 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]