aboutsummaryrefslogtreecommitdiff
path: root/graphics/gpicview
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2013-12-28 23:24:36 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2013-12-28 23:24:36 +0000
commit00c282b2bb27dc0072607f6dd114bc16303bf16f (patch)
tree793ce8632aebd7c84dcf9a6678c1aca94f30764e /graphics/gpicview
parentc0b8ce3047d4278b18434cf9c0365644ce794417 (diff)
downloadports-00c282b2bb27dc0072607f6dd114bc16303bf16f.tar.gz
ports-00c282b2bb27dc0072607f6dd114bc16303bf16f.zip
Fix the build with clang.
PR: ports/184709 PR: ports/184727 Submitted by: Radim Kolar <hsn@sendmail.cz> Approved by: maintainer timeout (17 days)
Notes
Notes: svn path=/head/; revision=337928
Diffstat (limited to 'graphics/gpicview')
-rw-r--r--graphics/gpicview/files/patch-main-win.c11
1 files changed, 11 insertions, 0 deletions
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;
+ }
+
+