From 00c282b2bb27dc0072607f6dd114bc16303bf16f Mon Sep 17 00:00:00 2001 From: Raphael Kubo da Costa Date: Sat, 28 Dec 2013 23:24:36 +0000 Subject: Fix the build with clang. PR: ports/184709 PR: ports/184727 Submitted by: Radim Kolar Approved by: maintainer timeout (17 days) --- graphics/gpicview/files/patch-main-win.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 graphics/gpicview/files/patch-main-win.c (limited to 'graphics') diff --git a/graphics/gpicview/files/patch-main-win.c b/graphics/gpicview/files/patch-main-win.c new file mode 100644 index 000000000000..fafde71535c1 --- /dev/null +++ b/graphics/gpicview/files/patch-main-win.c @@ -0,0 +1,11 @@ +--- src/main-win.c.orig 2013-10-23 10:42:02.000000000 +0200 ++++ src/main-win.c 2013-12-12 18:26:14.000000000 +0100 +@@ -378,7 +378,7 @@ + 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 TRUE; + } + + -- cgit v1.2.3