From owner-svn-ports-head@freebsd.org Thu Aug 13 17:45:08 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5DB939B8212; Thu, 13 Aug 2015 17:45:08 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 348DD90A; Thu, 13 Aug 2015 17:45:08 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7DHj82a061650; Thu, 13 Aug 2015 17:45:08 GMT (envelope-from kwm@FreeBSD.org) Received: (from kwm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7DHj7K9061648; Thu, 13 Aug 2015 17:45:07 GMT (envelope-from kwm@FreeBSD.org) Message-Id: <201508131745.t7DHj7K9061648@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kwm set sender to kwm@FreeBSD.org using -f From: Koop Mast Date: Thu, 13 Aug 2015 17:45:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r394176 - in head/devel/libgtop: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2015 17:45:08 -0000 Author: kwm Date: Thu Aug 13 17:45:06 2015 New Revision: 394176 URL: https://svnweb.freebsd.org/changeset/ports/394176 Log: Add gtk-doc annotations for the glibtop_init functions. Their return value should not be freed. This fixes usage from gnome-instrospection (invalid free). Submitted by: Ting-Wei Lan Obtained from: upstream libgtop git 598764c Added: head/devel/libgtop/files/patch-glibtop.h (contents, props changed) Modified: head/devel/libgtop/Makefile Modified: head/devel/libgtop/Makefile ============================================================================== --- head/devel/libgtop/Makefile Thu Aug 13 17:39:53 2015 (r394175) +++ head/devel/libgtop/Makefile Thu Aug 13 17:45:06 2015 (r394176) @@ -4,7 +4,7 @@ PORTNAME= libgtop PORTVERSION= 2.30.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 Added: head/devel/libgtop/files/patch-glibtop.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libgtop/files/patch-glibtop.h Thu Aug 13 17:45:06 2015 (r394176) @@ -0,0 +1,38 @@ +--- glibtop.h.orig 2015-08-13 19:30:44.824882000 +0200 ++++ glibtop.h 2015-08-13 19:30:04.376611000 +0200 +@@ -125,14 +125,35 @@ extern glibtop *glibtop_global_server; + + extern const unsigned long glibtop_server_features; + ++/** ++ * glibtop_init: ++ * ++ * Returns: (transfer none): ++ */ + glibtop * + glibtop_init (void); + ++/** ++ * glibtop_init_r: ++ * @server_ptr: (out): ++ * @features: ++ * @flags: ++ * ++ * Returns: (transfer none): ++ */ + glibtop * + glibtop_init_r (glibtop **server_ptr, + unsigned long features, + unsigned flags); + ++/** ++ * glibtop_init_s: ++ * @server_ptr: (out): ++ * @features: ++ * @flags: ++ * ++ * Returns: (transfer none): ++ */ + glibtop * + glibtop_init_s (glibtop **server_ptr, + unsigned long features,