diff options
author | roy <roy> | 2012-03-05 13:32:58 +0000 |
---|---|---|
committer | roy <roy> | 2012-03-05 13:32:58 +0000 |
commit | 20b69c7dafa2a4edccd5626e060fd86dd095c10f (patch) | |
tree | b582a6df6c797b5d88bf8b7fac74fb9d42e4a380 /sysutils | |
parent | 237969ba452437bfb7e9554e90f265b2ee522a3d (diff) | |
download | pkgsrc-20b69c7dafa2a4edccd5626e060fd86dd095c10f.tar.gz |
Fix a compile issue where it's possible to return an unset value.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/xfce4-appfinder/distinfo | 3 | ||||
-rw-r--r-- | sysutils/xfce4-appfinder/patches/patch-src_xfce-appfinder-window.c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/sysutils/xfce4-appfinder/distinfo b/sysutils/xfce4-appfinder/distinfo index cfdbbfb8040..eca0fec481d 100644 --- a/sysutils/xfce4-appfinder/distinfo +++ b/sysutils/xfce4-appfinder/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.10 2009/09/16 01:15:34 reed Exp $ +$NetBSD: distinfo,v 1.11 2012/03/05 13:32:58 roy Exp $ SHA1 (xfce4-appfinder-4.6.1.tar.bz2) = ecc1f2c6afec8cfb79464a34d23f94c6ed7d017e RMD160 (xfce4-appfinder-4.6.1.tar.bz2) = 00487ac1c963b0c7085d7725e05a0928412c8295 Size (xfce4-appfinder-4.6.1.tar.bz2) = 314040 bytes +SHA1 (patch-src_xfce-appfinder-window.c) = 28d3f0d3e96d291248b1dcb475066e3a22ef60b9 diff --git a/sysutils/xfce4-appfinder/patches/patch-src_xfce-appfinder-window.c b/sysutils/xfce4-appfinder/patches/patch-src_xfce-appfinder-window.c new file mode 100644 index 00000000000..9164cb2c8f3 --- /dev/null +++ b/sysutils/xfce4-appfinder/patches/patch-src_xfce-appfinder-window.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_xfce-appfinder-window.c,v 1.1 2012/03/05 13:32:58 roy Exp $ + +Should return NULL to silence errors. + +--- src/xfce-appfinder-window.c.orig 2012-03-05 13:18:51.000000000 +0000 ++++ src/xfce-appfinder-window.c +@@ -926,7 +926,7 @@ _xfce_appfinder_window_reload_menu (Xfce + gchar *filename = NULL; + gint counter = 0; + +- g_return_if_fail (XFCE_IS_APPFINDER_WINDOW (window)); ++ g_return_val_if_fail (XFCE_IS_APPFINDER_WINDOW (window), NULL); + + DBG ("window->menu_filename = %s", window->menu_filename); + |