diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-08-30 21:23:55 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-09-02 03:36:39 -0400 |
commit | fd4743379694f5035393714e59e55b01c3e68864 (patch) | |
tree | 3b898e3811528b24113e5e79af215daffaf8a057 /libraries/libgnomecups/patches/libgnomecups-0.2.3-glib.h.patch | |
parent | 9611ae4bfb7ceae8a3575318dbc3d0e79d970501 (diff) | |
download | slackbuilds-fd4743379694f5035393714e59e55b01c3e68864.tar.gz |
libraries/libgnomecups: Added patches for glib and cups.
Patches pulled from gentoo to allow building with newer
glib and cups.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/libgnomecups/patches/libgnomecups-0.2.3-glib.h.patch')
-rw-r--r-- | libraries/libgnomecups/patches/libgnomecups-0.2.3-glib.h.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/libraries/libgnomecups/patches/libgnomecups-0.2.3-glib.h.patch b/libraries/libgnomecups/patches/libgnomecups-0.2.3-glib.h.patch new file mode 100644 index 0000000000..3f73af861c --- /dev/null +++ b/libraries/libgnomecups/patches/libgnomecups-0.2.3-glib.h.patch @@ -0,0 +1,38 @@ +From d84eee9450b3b6f6155074915efc61bedcc8d446 Mon Sep 17 00:00:00 2001 +From: Dominique Leuenberger <dimstar@opensuse.org> +Date: Sun, 27 Nov 2011 21:36:41 +0100 +Subject: [PATCH] Fix: Only glib.h can be included + +--- + libgnomecups/gnome-cups-i18n.c | 2 +- + libgnomecups/gnome-cups-init.h | 3 +-- + 2 files changed, 2 insertions(+), 3 deletions(-) + +diff --git a/libgnomecups/gnome-cups-i18n.c b/libgnomecups/gnome-cups-i18n.c +index 8987c5c..127756d 100644 +--- a/libgnomecups/gnome-cups-i18n.c ++++ b/libgnomecups/gnome-cups-i18n.c +@@ -1,5 +1,5 @@ + #include <config.h> +-#include <glib/gmacros.h> ++#include <glib.h> + #include "gnome-cups-i18n.h" + + #ifdef ENABLE_NLS +diff --git a/libgnomecups/gnome-cups-init.h b/libgnomecups/gnome-cups-init.h +index 22b682a..c4600fc 100644 +--- a/libgnomecups/gnome-cups-init.h ++++ b/libgnomecups/gnome-cups-init.h +@@ -1,8 +1,7 @@ + #ifndef GNOME_CUPS_INIT + #define GNOME_CUPS_INIT + +-#include <glib/gtypes.h> +-#include <glib/gmacros.h> ++#include <glib.h> + + G_BEGIN_DECLS + +-- +1.7.7 + |