SOURCES: libgsf-gio.patch - fix build without gnomevfs (gio only)
charles
charles at pld-linux.org
Mon Sep 15 02:02:32 CEST 2008
Author: charles Date: Mon Sep 15 00:02:32 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix build without gnomevfs (gio only)
---- Files affected:
SOURCES:
libgsf-gio.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/libgsf-gio.patch
diff -u SOURCES/libgsf-gio.patch:1.1 SOURCES/libgsf-gio.patch:1.2
--- SOURCES/libgsf-gio.patch:1.1 Sun Aug 31 17:25:23 2008
+++ SOURCES/libgsf-gio.patch Mon Sep 15 02:02:27 2008
@@ -9,3 +9,41 @@
"
PKG_CHECK_MODULES(LIBGSF, $libgsf_reqs)
+--- libgsf-1.14.9/gsf-gnome/gsf-input-gnomevfs.h.orig 2008-04-22 13:19:46.000000000 +0200
++++ libgsf-1.14.9/gsf-gnome/gsf-input-gnomevfs.h 2008-09-15 01:17:01.000000000 +0200
+@@ -22,6 +22,7 @@
+ #ifndef GSF_INPUT_GNOMEVFS_H
+ #define GSF_INPUT_GNOMEVFS_H
+
++#include <gsf-config.h>
+ #include <gsf/gsf-input.h>
+ #ifndef LIBGSF_GNOMEVFS_VIA_GIO
+ /*
+@@ -29,6 +30,8 @@
+ * want to avoid it.
+ */
+ #include <libgnomevfs/gnome-vfs.h>
++#else
++#define GnomeVFSURI void
+ #endif
+
+ G_BEGIN_DECLS
+--- libgsf-1.14.9/gsf-gnome/gsf-output-gnomevfs.h.orig 2008-07-03 16:44:51.000000000 +0200
++++ libgsf-1.14.9/gsf-gnome/gsf-output-gnomevfs.h 2008-09-15 01:18:03.000000000 +0200
+@@ -22,6 +22,7 @@
+ #ifndef GSF_OUTPUT_GNOMEVFS_H
+ #define GSF_OUTPUT_GNOMEVFS_H
+
++#include <gsf-config.h>
+ #include <gsf/gsf-output.h>
+ #ifndef LIBGSF_GNOMEVFS_VIA_GIO
+ /*
+@@ -29,6 +30,8 @@
+ * want to avoid it.
+ */
+ #include <libgnomevfs/gnome-vfs.h>
++#else
++#define GnomeVFSURI void
+ #endif
+
+ G_BEGIN_DECLS
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/libgsf-gio.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list