Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2019 22:11:48 +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: r492654 - in head/devel/libgit2-glib: . files
Message-ID:  <201902102211.x1AMBmiP081797@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Sun Feb 10 22:11:48 2019
New Revision: 492654
URL: https://svnweb.freebsd.org/changeset/ports/492654

Log:
  Add upstream patch to fix crasher in the unstable version of gnome-builder.
  
  Obtained from:	libgit2-glib upstream

Added:
  head/devel/libgit2-glib/files/
  head/devel/libgit2-glib/files/patch-libgit2-glib_ggit-branch-enumerator.c   (contents, props changed)
Modified:
  head/devel/libgit2-glib/Makefile

Modified: head/devel/libgit2-glib/Makefile
==============================================================================
--- head/devel/libgit2-glib/Makefile	Sun Feb 10 21:59:58 2019	(r492653)
+++ head/devel/libgit2-glib/Makefile	Sun Feb 10 22:11:48 2019	(r492654)
@@ -5,6 +5,7 @@
 
 PORTNAME=	libgit2-glib
 PORTVERSION=	0.27.7
+PORTREVISION=	1
 CATEGORIES=	devel gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome

Added: head/devel/libgit2-glib/files/patch-libgit2-glib_ggit-branch-enumerator.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libgit2-glib/files/patch-libgit2-glib_ggit-branch-enumerator.c	Sun Feb 10 22:11:48 2019	(r492654)
@@ -0,0 +1,17 @@
+From 75e405a41f5b4954bc253168acbf12b8b4136871 Mon Sep 17 00:00:00 2001
+From: Christian Hergert <chergert@redhat.com>
+Date: Mon, 28 Jan 2019 14:52:38 -0800
+Subject: [PATCH] branch-enumerator: fix missing struct field init
+
+This needs to be set to NULL so that it is not accidentially freed during
+a call to ggit_branch_enumerator_next().
+--- libgit2-glib/ggit-branch-enumerator.c.orig	2018-11-04 01:51:54 UTC
++++ libgit2-glib/ggit-branch-enumerator.c
+@@ -19,6 +19,7 @@ _ggit_branch_enumerator_wrap (git_branch_iterator *ite
+ 	ret = g_slice_new (GgitBranchEnumerator);
+ 	ret->ref_count = 1;
+ 	ret->iterator = iter;
++	ret->ref = NULL;
+ 
+ 	return ret;
+ }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902102211.x1AMBmiP081797>