diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-05-19 10:27:26 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-05-19 10:27:26 +0000 |
commit | aabc43cdbc65e1349c1938a3f5aa28057830b4fd (patch) | |
tree | 24681adb7128a8f5683a3a2616f955c83e6b0354 /sysutils/gnome-vfs/patches | |
parent | cfa28d0c9775a1d93a7af0c8c12d235410402b9c (diff) | |
download | pkgsrc-aabc43cdbc65e1349c1938a3f5aa28057830b4fd.tar.gz |
Fix build with GCC >= 3.4.x, which does better type checking of enumerations.
Two functions returned an incorrect type, according to their prototype (these
changes matches fixes done in the 2.x branch of gnome-vfs).
From John R. Shannon in PR pkg/25615.
Diffstat (limited to 'sysutils/gnome-vfs/patches')
-rw-r--r-- | sysutils/gnome-vfs/patches/patch-am | 13 | ||||
-rw-r--r-- | sysutils/gnome-vfs/patches/patch-an | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/sysutils/gnome-vfs/patches/patch-am b/sysutils/gnome-vfs/patches/patch-am new file mode 100644 index 00000000000..8b269031808 --- /dev/null +++ b/sysutils/gnome-vfs/patches/patch-am @@ -0,0 +1,13 @@ +$NetBSD: patch-am,v 1.1 2004/05/19 10:27:26 jmmv Exp $ + +--- libgnomevfs/gnome-vfs-private-utils.c.orig 2001-07-16 20:21:07.000000000 +0200 ++++ libgnomevfs/gnome-vfs-private-utils.c +@@ -263,7 +263,7 @@ gnome_vfs_forkexec (const gchar *file_na + * + * Return value: + **/ +-GnomeVFSProcessResult ++GnomeVFSProcessRunResult + gnome_vfs_process_run_cancellable (const gchar *file_name, + const gchar * const argv[], + GnomeVFSProcessOptions options, diff --git a/sysutils/gnome-vfs/patches/patch-an b/sysutils/gnome-vfs/patches/patch-an new file mode 100644 index 00000000000..6cee69df538 --- /dev/null +++ b/sysutils/gnome-vfs/patches/patch-an @@ -0,0 +1,13 @@ +$NetBSD: patch-an,v 1.1 2004/05/19 10:27:26 jmmv Exp $ + +--- libgnomevfs/gnome-vfs-process.c.orig 2001-07-16 20:21:07.000000000 +0200 ++++ libgnomevfs/gnome-vfs-process.c +@@ -258,7 +258,7 @@ gnome_vfs_process_free (GnomeVFSProcess + * + * Return value: A numeric value reporting the result of the operation. + **/ +-GnomeVFSProcessRunResult ++GnomeVFSProcessResult + gnome_vfs_process_signal (GnomeVFSProcess *process, + guint signal_number) + { |