summaryrefslogtreecommitdiff
path: root/graphics/gpicview
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-11-17 19:03:10 +0000
committerjoerg <joerg@pkgsrc.org>2014-11-17 19:03:10 +0000
commitb5bedbc863df9ef9d4255f768fa0886267275f63 (patch)
treee692be581680412fb364dc25c2b9636b6095ebb0 /graphics/gpicview
parentcd9641833d5f51db329e56f4b26fb51867e3c633 (diff)
downloadpkgsrc-b5bedbc863df9ef9d4255f768fa0886267275f63.tar.gz
Always return a value from a non-void function.
Diffstat (limited to 'graphics/gpicview')
-rw-r--r--graphics/gpicview/distinfo3
-rw-r--r--graphics/gpicview/patches/patch-src_main-win.c13
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/gpicview/distinfo b/graphics/gpicview/distinfo
index 408381c3479..f5747dea180 100644
--- a/graphics/gpicview/distinfo
+++ b/graphics/gpicview/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2014/11/12 18:11:57 snj Exp $
+$NetBSD: distinfo,v 1.3 2014/11/17 19:03:10 joerg Exp $
SHA1 (gpicview-0.2.4.tar.gz) = 423143c850390db9784ad9812b9f929c18dd51ea
RMD160 (gpicview-0.2.4.tar.gz) = 36f7debf3b01d534dd6d16e1ad6f6c04b80ceda8
Size (gpicview-0.2.4.tar.gz) = 488510 bytes
+SHA1 (patch-src_main-win.c) = 2971f6a6db8ffdd5bd205f414c545814628e0360
diff --git a/graphics/gpicview/patches/patch-src_main-win.c b/graphics/gpicview/patches/patch-src_main-win.c
new file mode 100644
index 00000000000..9984e79d5e6
--- /dev/null
+++ b/graphics/gpicview/patches/patch-src_main-win.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_main-win.c,v 1.1 2014/11/17 19:03:10 joerg Exp $
+
+--- src/main-win.c.orig 2014-11-16 15:22:49.000000000 +0000
++++ src/main-win.c
+@@ -378,7 +378,7 @@ gboolean main_win_open( MainWin* mw, con
+ image_list_sort_by_name( mw->img_list, GTK_SORT_DESCENDING );
+ if (image_list_get_first(mw->img_list))
+ main_win_open(mw, image_list_get_current_file_path(mw->img_list), zoom);
+- return;
++ return FALSE;
+ }
+
+