[gnucash] Deal with more picky glib.

Bill Nottingham notting at fedoraproject.org
Tue Oct 25 22:02:57 UTC 2011


commit ab6996545290e80f0290392c6fde74f4d9d4db55
Author: Bill Nottingham <notting at redhat.com>
Date:   Tue Oct 25 18:02:45 2011 -0400

    Deal with more picky glib.

 gnucash-2.4.8-glib.patch |   13 +++++++++++++
 gnucash.spec             |    2 ++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/gnucash-2.4.8-glib.patch b/gnucash-2.4.8-glib.patch
new file mode 100644
index 0000000..5a58666
--- /dev/null
+++ b/gnucash-2.4.8-glib.patch
@@ -0,0 +1,13 @@
+diff -up gnucash-2.4.8/src/core-utils/gnc-filepath-utils.c.foo gnucash-2.4.8/src/core-utils/gnc-filepath-utils.c
+diff -up gnucash-2.4.8/src/gnome-utils/gnc-frequency.c.foo gnucash-2.4.8/src/gnome-utils/gnc-frequency.c
+--- gnucash-2.4.8/src/gnome-utils/gnc-frequency.c.foo	2011-10-25 18:02:01.110179380 -0400
++++ gnucash-2.4.8/src/gnome-utils/gnc-frequency.c	2011-10-25 18:02:09.694179621 -0400
+@@ -26,7 +26,7 @@
+ #include "config.h"
+ 
+ #include <gtk/gtk.h>
+-#include <glib/gtypes.h>
++#include <glib.h>
+ #include <math.h>
+ #include <time.h>
+ 
diff --git a/gnucash.spec b/gnucash.spec
index 675ed36..10ba64c 100644
--- a/gnucash.spec
+++ b/gnucash.spec
@@ -20,6 +20,7 @@ BuildRequires: python-devel, libdbi-devel
 BuildRequires: libtool-ltdl-devel
 Patch0: gnucash-quiet.patch
 Patch1: gnucash-2.4.7-never-unload.patch
+Patch2: gnucash-2.4.8-glib.patch
 
 # Guile 2.0 support
 Patch101: gnucash-guile-1.patch
@@ -58,6 +59,7 @@ balanced books.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 %patch101 -p1
 %patch102 -p1
 %patch103 -p1


More information about the scm-commits mailing list