summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-base/gconf/files/gconf-1.0.9-gcc4.patch')
-rw-r--r--gnome-base/gconf/files/gconf-1.0.9-gcc4.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnome-base/gconf/files/gconf-1.0.9-gcc4.patch b/gnome-base/gconf/files/gconf-1.0.9-gcc4.patch
new file mode 100644
index 000000000000..0d02cb359ef1
--- /dev/null
+++ b/gnome-base/gconf/files/gconf-1.0.9-gcc4.patch
@@ -0,0 +1,23 @@
+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;