/[gentoo-x86]/net-print/libgnomecups/files/libgnomecups-0.2.3-glib.h.patch
Gentoo

Contents of /net-print/libgnomecups/files/libgnomecups-0.2.3-glib.h.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Jan 25 22:12:03 2012 UTC (2 years, 2 months ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
Fix building with >=glib-2.31 (bug #400789, thanks to Rolf S. Arvidson for reporting). Fix g_list_find_custom() argument order. Don't build static libraries and don't install .la files.

(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

1 tetromino 1.1 From d84eee9450b3b6f6155074915efc61bedcc8d446 Mon Sep 17 00:00:00 2001
2     From: Dominique Leuenberger <dimstar@opensuse.org>
3     Date: Sun, 27 Nov 2011 21:36:41 +0100
4     Subject: [PATCH] Fix: Only glib.h can be included
5    
6     ---
7     libgnomecups/gnome-cups-i18n.c | 2 +-
8     libgnomecups/gnome-cups-init.h | 3 +--
9     2 files changed, 2 insertions(+), 3 deletions(-)
10    
11     diff --git a/libgnomecups/gnome-cups-i18n.c b/libgnomecups/gnome-cups-i18n.c
12     index 8987c5c..127756d 100644
13     --- a/libgnomecups/gnome-cups-i18n.c
14     +++ b/libgnomecups/gnome-cups-i18n.c
15     @@ -1,5 +1,5 @@
16     #include <config.h>
17     -#include <glib/gmacros.h>
18     +#include <glib.h>
19     #include "gnome-cups-i18n.h"
20    
21     #ifdef ENABLE_NLS
22     diff --git a/libgnomecups/gnome-cups-init.h b/libgnomecups/gnome-cups-init.h
23     index 22b682a..c4600fc 100644
24     --- a/libgnomecups/gnome-cups-init.h
25     +++ b/libgnomecups/gnome-cups-init.h
26     @@ -1,8 +1,7 @@
27     #ifndef GNOME_CUPS_INIT
28     #define GNOME_CUPS_INIT
29    
30     -#include <glib/gtypes.h>
31     -#include <glib/gmacros.h>
32     +#include <glib.h>
33    
34     G_BEGIN_DECLS
35    
36     --
37     1.7.7

  ViewVC Help
Powered by ViewVC 1.1.20