summaryrefslogtreecommitdiff
path: root/sysutils/gnome-system-tools
diff options
context:
space:
mode:
authorjoerg <joerg>2012-01-20 17:01:07 +0000
committerjoerg <joerg>2012-01-20 17:01:07 +0000
commit5bd1992c69a38b19a2ad8eb49135994b864af02a (patch)
treef013b5620e781b49974aaa437f4343673b86db02 /sysutils/gnome-system-tools
parent0f415936ed9a7acea7d3f825f3b115625aaaa40c (diff)
downloadpkgsrc-5bd1992c69a38b19a2ad8eb49135994b864af02a.tar.gz
Don't return without value in non-void functions.
Diffstat (limited to 'sysutils/gnome-system-tools')
-rw-r--r--sysutils/gnome-system-tools/distinfo6
-rw-r--r--sysutils/gnome-system-tools/patches/patch-src_common_gst-dialog.c13
-rw-r--r--sysutils/gnome-system-tools/patches/patch-src_common_gst-polkit-action.c13
-rw-r--r--sysutils/gnome-system-tools/patches/patch-src_common_gst-service-role.c13
-rw-r--r--sysutils/gnome-system-tools/patches/patch-src_users_user-profiles.c31
5 files changed, 75 insertions, 1 deletions
diff --git a/sysutils/gnome-system-tools/distinfo b/sysutils/gnome-system-tools/distinfo
index df85b7999b7..b41c69d55da 100644
--- a/sysutils/gnome-system-tools/distinfo
+++ b/sysutils/gnome-system-tools/distinfo
@@ -1,6 +1,10 @@
-$NetBSD: distinfo,v 1.3 2009/07/17 18:43:15 hasso Exp $
+$NetBSD: distinfo,v 1.4 2012/01/20 17:01:07 joerg Exp $
SHA1 (gnome-system-tools-2.22.2.tar.bz2) = 6ff3d2775acf5e36927d523f708aef90190e974b
RMD160 (gnome-system-tools-2.22.2.tar.bz2) = 6850711c652bd2726fdb5556984fe5bc06c0c576
Size (gnome-system-tools-2.22.2.tar.bz2) = 4461916 bytes
SHA1 (patch-aa) = 65812c438b16316caf27cb0793743c744c4e1b6e
+SHA1 (patch-src_common_gst-dialog.c) = c38250b41396b22697e844e509ce632a03b99b82
+SHA1 (patch-src_common_gst-polkit-action.c) = 66496d51a3ce98ce4073f7c2187abe2b3e1b3bb2
+SHA1 (patch-src_common_gst-service-role.c) = 9361d58eec475515bfa1b23b6e62db06c5e377da
+SHA1 (patch-src_users_user-profiles.c) = bba51d0e2ebb8c98075450c088ad4e302a6f63cc
diff --git a/sysutils/gnome-system-tools/patches/patch-src_common_gst-dialog.c b/sysutils/gnome-system-tools/patches/patch-src_common_gst-dialog.c
new file mode 100644
index 00000000000..916f97d24a1
--- /dev/null
+++ b/sysutils/gnome-system-tools/patches/patch-src_common_gst-dialog.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_common_gst-dialog.c,v 1.1 2012/01/20 17:01:07 joerg Exp $
+
+--- src/common/gst-dialog.c.orig 2012-01-18 23:57:08.000000000 +0000
++++ src/common/gst-dialog.c
+@@ -449,7 +449,7 @@ gst_dialog_get_freeze_level (GstDialog *
+ {
+ GstDialogPrivate *priv;
+
+- g_return_if_fail (GST_IS_DIALOG (dialog));
++ g_return_val_if_fail (GST_IS_DIALOG (dialog), 0);
+
+ priv = GST_DIALOG_GET_PRIVATE (dialog);
+ return priv->frozen;
diff --git a/sysutils/gnome-system-tools/patches/patch-src_common_gst-polkit-action.c b/sysutils/gnome-system-tools/patches/patch-src_common_gst-polkit-action.c
new file mode 100644
index 00000000000..5ccedd9534b
--- /dev/null
+++ b/sysutils/gnome-system-tools/patches/patch-src_common_gst-polkit-action.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_common_gst-polkit-action.c,v 1.1 2012/01/20 17:01:07 joerg Exp $
+
+--- src/common/gst-polkit-action.c.orig 2012-01-18 23:58:45.000000000 +0000
++++ src/common/gst-polkit-action.c
+@@ -378,7 +378,7 @@ gst_polkit_action_authenticate (GstPolKi
+ GtkWidget *toplevel;
+ guint32 xid;
+
+- g_return_if_fail (GST_IS_POLKIT_ACTION (action));
++ g_return_val_if_fail (GST_IS_POLKIT_ACTION (action), FALSE);
+
+ priv = GST_POLKIT_ACTION_GET_PRIVATE (action);
+ xid = 0;
diff --git a/sysutils/gnome-system-tools/patches/patch-src_common_gst-service-role.c b/sysutils/gnome-system-tools/patches/patch-src_common_gst-service-role.c
new file mode 100644
index 00000000000..df64e7eeb89
--- /dev/null
+++ b/sysutils/gnome-system-tools/patches/patch-src_common_gst-service-role.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_common_gst-service-role.c,v 1.1 2012/01/20 17:01:07 joerg Exp $
+
+--- src/common/gst-service-role.c.orig 2012-01-18 23:58:15.000000000 +0000
++++ src/common/gst-service-role.c
+@@ -19,6 +19,8 @@
+ * Authors: Carlos Garnacho Parro <carlosg@gnome.org>.
+ */
+
++#include <stdlib.h>
++#include <string.h>
+ #include "gst-service-role.h"
+
+ typedef struct _ServiceRole ServiceRole;
diff --git a/sysutils/gnome-system-tools/patches/patch-src_users_user-profiles.c b/sysutils/gnome-system-tools/patches/patch-src_users_user-profiles.c
new file mode 100644
index 00000000000..334f9949b1a
--- /dev/null
+++ b/sysutils/gnome-system-tools/patches/patch-src_users_user-profiles.c
@@ -0,0 +1,31 @@
+$NetBSD: patch-src_users_user-profiles.c,v 1.1 2012/01/20 17:01:07 joerg Exp $
+
+--- src/users/user-profiles.c.orig 2012-01-19 00:04:05.000000000 +0000
++++ src/users/user-profiles.c
+@@ -170,7 +170,7 @@ gst_user_profiles_set_current (GstUserPr
+ {
+ GstUserProfilesPrivate *priv;
+
+- g_return_if_fail (GST_IS_USER_PROFILES (profiles));
++ g_return_val_if_fail (GST_IS_USER_PROFILES (profiles), NULL);
+
+ priv = GST_USER_PROFILES_GET_PRIVATE (profiles);
+
+@@ -184,7 +184,7 @@ gst_user_profiles_get_current (GstUserPr
+ {
+ GstUserProfilesPrivate *priv;
+
+- g_return_if_fail (GST_IS_USER_PROFILES (profiles));
++ g_return_val_if_fail (GST_IS_USER_PROFILES (profiles), NULL);
+
+ priv = GST_USER_PROFILES_GET_PRIVATE (profiles);
+
+@@ -196,7 +196,7 @@ gst_user_profiles_get_default_profile (G
+ {
+ GstUserProfilesPrivate *priv;
+
+- g_return_if_fail (GST_IS_USER_PROFILES (profiles));
++ g_return_val_if_fail (GST_IS_USER_PROFILES (profiles), NULL);
+
+ priv = GST_USER_PROFILES_GET_PRIVATE (profiles);
+