Files
pkgsrc-ng/devel/glib2/patches/patch-gio_gfile.c
2014-11-05 12:41:07 +01:00

22 lines
999 B
C

$NetBSD: patch-gio_gfile.c,v 1.2 2013/12/25 11:47:09 tron Exp $
GNOME bug report: https://bugzilla.gnome.org/show_bug.cgi?id=721034
Fix build with SunStudio compiler: void function cannot return value
--- gio/gfile.c.orig 2013-11-12 05:30:27.000000000 +0000
+++ gio/gfile.c 2013-12-25 09:58:51.000000000 +0000
@@ -7627,9 +7627,9 @@
g_return_if_fail (G_IS_FILE (file));
g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable));
- return G_FILE_GET_IFACE (file)->measure_disk_usage_async (file, flags, io_priority, cancellable,
- progress_callback, progress_data,
- callback, user_data);
+ G_FILE_GET_IFACE (file)->measure_disk_usage_async (file, flags, io_priority, cancellable,
+ progress_callback, progress_data,
+ callback, user_data);
}
/**