Gentoo Archives: gentoo-commits

From: "Naohiro Aota (naota)" <naota@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/tomoe/files: tomoe-0.6.0-glib232.patch
Date: Fri, 22 Jun 2012 02:13:48
Message-Id: 20120622021329.078E12004C@flycatcher.gentoo.org
naota       12/06/22 02:13:29

  Added:                tomoe-0.6.0-glib232.patch
  Log:
  Add patch to build with glib-2.32. #422781
  
  (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-i18n/tomoe/files/tomoe-0.6.0-glib232.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/tomoe/files/tomoe-0.6.0-glib232.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/tomoe/files/tomoe-0.6.0-glib232.patch?rev=1.1&content-type=text/plain

Index: tomoe-0.6.0-glib232.patch
===================================================================
diff --git a/lib/glib-compat-key-file.h b/lib/glib-compat-key-file.h
index 6cae16b..1fb1490 100644
--- a/lib/glib-compat-key-file.h
+++ b/lib/glib-compat-key-file.h
@@ -51,7 +51,7 @@
 #ifndef __G_KEY_FILE_H__
 #define __G_KEY_FILE_H__
 
-#include <glib/gerror.h>
+#include <glib.h>
 
 G_BEGIN_DECLS
 
diff --git a/lib/glib-utils.h b/lib/glib-utils.h
index 275c96c..7afca67 100644
--- a/lib/glib-utils.h
+++ b/lib/glib-utils.h
@@ -28,7 +28,7 @@
 #include "config.h"
 #endif /* HAVE_CONFIG_H */
 
-#include <glib/garray.h>
+#include <glib.h>
 #include <glib/gi18n-lib.h>
 #include "glib-compat-file-utilities.h"
 #include "glib-compat-key-file.h"
diff --git a/lib/tomoe.c b/lib/tomoe.c
index 8578c27..4534017 100644
--- a/lib/tomoe.c
+++ b/lib/tomoe.c
@@ -26,7 +26,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <glib/garray.h>
+#include <glib.h>
 #include "tomoe.h"
 
 static gboolean initialized = FALSE;