From 0c2197a971d37e44f95d5f232781c47d33b64ef4 Mon Sep 17 00:00:00 2001 From: piernov Date: Wed, 8 Aug 2012 01:18:48 +0200 Subject: colord-gtk 0.1.22-1 ajout port --- ...e-__COLORD_H_INSIDE__-as-this-causes-incl.patch | 83 ++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 colord-gtk/Do-not-reuse-__COLORD_H_INSIDE__-as-this-causes-incl.patch (limited to 'colord-gtk/Do-not-reuse-__COLORD_H_INSIDE__-as-this-causes-incl.patch') diff --git a/colord-gtk/Do-not-reuse-__COLORD_H_INSIDE__-as-this-causes-incl.patch b/colord-gtk/Do-not-reuse-__COLORD_H_INSIDE__-as-this-causes-incl.patch new file mode 100644 index 000000000..edb60b271 --- /dev/null +++ b/colord-gtk/Do-not-reuse-__COLORD_H_INSIDE__-as-this-causes-incl.patch @@ -0,0 +1,83 @@ +From 71510fc785e440c068cc42dbd294dba5d74eeaff Mon Sep 17 00:00:00 2001 +From: Richard Hughes +Date: Wed, 27 Jun 2012 09:00:15 +0100 +Subject: [PATCH] Do not reuse __COLORD_H_INSIDE__ as this causes #include + insanity + +--- + libcolord-gtk/cd-version.h.in | 2 +- + libcolord-gtk/cd-window-sync.h | 2 +- + libcolord-gtk/cd-window.h | 2 +- + libcolord-gtk/colord-gtk.h | 9 +++------ + 4 files changed, 6 insertions(+), 9 deletions(-) + +diff --git a/libcolord-gtk/cd-version.h.in b/libcolord-gtk/cd-version.h.in +index 5ad7569..555556a 100644 +--- a/libcolord-gtk/cd-version.h.in ++++ b/libcolord-gtk/cd-version.h.in +@@ -29,7 +29,7 @@ + * See also: #CdClient, #CdDevice + */ + +-#if !defined (__COLORD_H_INSIDE__) && !defined (CD_COMPILATION) ++#if !defined (__COLORD_GTK_H_INSIDE__) && !defined (CD_COMPILATION) + #error "Only can be included directly." + #endif + +diff --git a/libcolord-gtk/cd-window-sync.h b/libcolord-gtk/cd-window-sync.h +index 6afe83b..47b8254 100644 +--- a/libcolord-gtk/cd-window-sync.h ++++ b/libcolord-gtk/cd-window-sync.h +@@ -19,7 +19,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +-#if !defined (__COLORD_H_INSIDE__) && !defined (CD_COMPILATION) ++#if !defined (__COLORD_GTK_H_INSIDE__) && !defined (CD_COMPILATION) + #error "Only can be included directly." + #endif + +diff --git a/libcolord-gtk/cd-window.h b/libcolord-gtk/cd-window.h +index 3b993a8..dbdab3e 100644 +--- a/libcolord-gtk/cd-window.h ++++ b/libcolord-gtk/cd-window.h +@@ -19,7 +19,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +-#if !defined (__COLORD_H_INSIDE__) && !defined (CD_COMPILATION) ++#if !defined (__COLORD_GTK_H_INSIDE__) && !defined (CD_COMPILATION) + #error "Only can be included directly." + #endif + +diff --git a/libcolord-gtk/colord-gtk.h b/libcolord-gtk/colord-gtk.h +index 658ec60..4080667 100644 +--- a/libcolord-gtk/colord-gtk.h ++++ b/libcolord-gtk/colord-gtk.h +@@ -31,20 +31,17 @@ + #ifndef __COLORD_GTK_H__ + #define __COLORD_GTK_H__ + +-#define __COLORD_H_INSIDE__ ++#define __COLORD_GTK_H_INSIDE__ + + #include +- + #include +-//#include +-//#include +-//#include ++ + #include + #include + #include + #include + +-#undef __COLORD_H_INSIDE__ ++#undef __COLORD_GTK_H_INSIDE__ + + #endif /* __COLORD_GTK_H__ */ + +-- +1.7.10.2 + -- cgit v1.2.3-54-g00ecf