[gentoo-x86] / gnome-base / gconf / files / gconf-1.0.9-gcc4.patch Project Root:

GentooView of /gnome-base/gconf/files/gconf-1.0.9-gcc4.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision: 1.1 - (download) (annotate)
Wed Feb 22 13:52:51 2006 UTC (3 years, 9 months ago) by agriffis
Branch: MAIN
Fix compilation with gcc-4. Add patch to fix compilation when LINGUAS
contains zh #114805
(Portage version: 2.1_pre4-r1)
These functions are declared external in a header file, then defined with
static, the mismatch is an error with gcc4

--- GConf-1.0.9/backends/bdb.c.agriffis	2006-02-21 08:55:42.000000000 -0500
+++ GConf-1.0.9/backends/bdb.c	2006-02-21 08:55:51.000000000 -0500
@@ -331,7 +331,7 @@
 
 /* } */
 
-static guint32
+guint32
 get_dir_id (BDB_Store * bdb, const char *dir)
 {
   int ret;
@@ -405,7 +405,7 @@
 
 /* { Functions to create directories and maintain the dir hierarchy */
 
-static guint32
+guint32
 get_or_create_dir (BDB_Store * bdb, const char *dir)
 {
   guint32 parent_id;

www@gentoo.org

Powered by ViewCVS 1.0_pre20050929

ViewCVS and CVS Help