aboutsummaryrefslogtreecommitdiff
path: root/business/gnucash/glib-single-include.patch
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-24 22:01:44 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-09-25 00:13:12 -0400
commit031b54d0d3beb1846bf599cbe1dbc84364d718de (patch)
treeb2191cc39e4001a3917f5f6ab221eef5305b9aac /business/gnucash/glib-single-include.patch
parent8a905fad57b3a5279dd07411469db5bac83d743e (diff)
business/gnucash: Patched for glib 2.32+
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'business/gnucash/glib-single-include.patch')
-rw-r--r--business/gnucash/glib-single-include.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/business/gnucash/glib-single-include.patch b/business/gnucash/glib-single-include.patch
new file mode 100644
index 0000000000000..5213f5dfed72b
--- /dev/null
+++ b/business/gnucash/glib-single-include.patch
@@ -0,0 +1,37 @@
+Index: gnucash-2.4.5/src/core-utils/gnc-filepath-utils.c
+===================================================================
+--- gnucash-2.4.5.orig/src/core-utils/gnc-filepath-utils.c
++++ gnucash-2.4.5/src/core-utils/gnc-filepath-utils.c
+@@ -47,7 +47,6 @@
+ #include "gnc-filepath-utils.h"
+
+ #ifdef _MSC_VER
+-#include <glib/gwin32.h>
+ #define PATH_MAX MAXPATHLEN
+ #endif
+
+Index: gnucash-2.4.5/src/gnome-utils/gnc-frequency.c
+===================================================================
+--- gnucash-2.4.5.orig/src/gnome-utils/gnc-frequency.c
++++ gnucash-2.4.5/src/gnome-utils/gnc-frequency.c
+@@ -26,7 +26,7 @@
+ #include "config.h"
+
+ #include <gtk/gtk.h>
+-#include <glib/gtypes.h>
++#include <glib.h>
+ #include <math.h>
+ #include <time.h>
+
+Index: gnucash-2.4.5/src/libqof/qof/gnc-date.c
+===================================================================
+--- gnucash-2.4.5.orig/src/libqof/qof/gnc-date.c
++++ gnucash-2.4.5/src/libqof/qof/gnc-date.c
+@@ -40,7 +40,6 @@
+ #include <string.h>
+ #include <time.h>
+
+-#include <glib.h>
+ #include <glib/gi18n.h>
+
+ #include "gnc-date-p.h"