summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-05-19 10:27:26 +0000
committerjmmv <jmmv@pkgsrc.org>2004-05-19 10:27:26 +0000
commitaabc43cdbc65e1349c1938a3f5aa28057830b4fd (patch)
tree24681adb7128a8f5683a3a2616f955c83e6b0354 /sysutils
parentcfa28d0c9775a1d93a7af0c8c12d235410402b9c (diff)
downloadpkgsrc-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')
-rw-r--r--sysutils/gnome-vfs/distinfo4
-rw-r--r--sysutils/gnome-vfs/patches/patch-am13
-rw-r--r--sysutils/gnome-vfs/patches/patch-an13
3 files changed, 29 insertions, 1 deletions
diff --git a/sysutils/gnome-vfs/distinfo b/sysutils/gnome-vfs/distinfo
index c63a6194712..c9fb59c6030 100644
--- a/sysutils/gnome-vfs/distinfo
+++ b/sysutils/gnome-vfs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2003/12/30 12:18:56 gavan Exp $
+$NetBSD: distinfo,v 1.14 2004/05/19 10:27:26 jmmv Exp $
SHA1 (gnome-vfs-1.0.5.tar.gz) = 41156323969d44e3f14ce481b81bfdb5d1deba49
Size (gnome-vfs-1.0.5.tar.gz) = 1048954 bytes
@@ -12,3 +12,5 @@ SHA1 (patch-ai) = 43c4bf209541816e804b628c9a1cba68327c3b7b
SHA1 (patch-aj) = 0adb274d6deae3522e5f194ceae08aab452ca3f1
SHA1 (patch-ak) = 1c99154076a6e69a5951348449e49ede797345d7
SHA1 (patch-al) = b4346af92d7b69b05f142c67213b3c7623431f2d
+SHA1 (patch-am) = 9d101ad4efdcfd7ce999e9d696db2bec76efaec2
+SHA1 (patch-an) = 5d0a875d23d8fd54b29bba19aacd341fbb2bdf37
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)
+ {