svn commit: r493768 - in head/devel/gitg: . files
Koop Mast
kwm at FreeBSD.org
Sun Feb 24 15:36:35 UTC 2019
Author: kwm
Date: Sun Feb 24 15:36:34 2019
New Revision: 493768
URL: https://svnweb.freebsd.org/changeset/ports/493768
Log:
Fix a crash on exit if build with -fstack-protector-all.
PR: 234607
Submitted by: rozhuk.im at gmail.com
Added:
head/devel/gitg/files/
head/devel/gitg/files/patch-libgitg_gitg-repository-list-box.vala (contents, props changed)
Modified:
head/devel/gitg/Makefile
Modified: head/devel/gitg/Makefile
==============================================================================
--- head/devel/gitg/Makefile Sun Feb 24 15:34:40 2019 (r493767)
+++ head/devel/gitg/Makefile Sun Feb 24 15:36:34 2019 (r493768)
@@ -3,6 +3,7 @@
PORTNAME= gitg
PORTVERSION= 3.30.1
+PORTREVISION= 1
CATEGORIES= devel deskutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
Added: head/devel/gitg/files/patch-libgitg_gitg-repository-list-box.vala
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/gitg/files/patch-libgitg_gitg-repository-list-box.vala Sun Feb 24 15:36:34 2019 (r493768)
@@ -0,0 +1,19 @@
+# gitg crash on exit if built with -fstack-protector-all
+# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234607
+# https://gitlab.gnome.org/GNOME/gitg/issues/171
+--- libgitg/gitg-repository-list-box.vala
++++ libgitg/gitg-repository-list-box.vala
+@@ -407,9 +407,12 @@ namespace Gitg
+ return ((Row)b).time.compare(((Row)a).time);
+ }
+
++ [CCode (cname = "g_bookmark_file_get_uris", array_length_type = "gsize")]
++ extern static string[] bookmark_file_get_uris (BookmarkFile bookmark);
++
+ public void populate_bookmarks()
+ {
+- var uris = d_bookmark_file.get_uris();
++ var uris = bookmark_file_get_uris(d_bookmark_file);
+
+ foreach (var uri in uris)
+ {
More information about the svn-ports-all
mailing list