Date: Sun, 24 Feb 2019 15:36:34 +0000 (UTC) From: Koop Mast <kwm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r493768 - in head/devel/gitg: . files Message-ID: <201902241536.x1OFaYVJ064555@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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) + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902241536.x1OFaYVJ064555>