From owner-svn-ports-all@freebsd.org Sat Jan 28 20:50:44 2017 Return-Path: Delivered-To: svn-ports-all@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 D2172CC5B8E; Sat, 28 Jan 2017 20:50:44 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 949C11B27; Sat, 28 Jan 2017 20:50:44 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0SKoh43074551; Sat, 28 Jan 2017 20:50:43 GMT (envelope-from olivierd@FreeBSD.org) Received: (from olivierd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0SKohSs074549; Sat, 28 Jan 2017 20:50:43 GMT (envelope-from olivierd@FreeBSD.org) Message-Id: <201701282050.v0SKohSs074549@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: olivierd set sender to olivierd@FreeBSD.org using -f From: Olivier Duchateau Date: Sat, 28 Jan 2017 20:50:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432652 - in head/multimedia: audacious-plugins audacious-plugins-gtk3 audacious-plugins/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-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2017 20:50:44 -0000 Author: olivierd Date: Sat Jan 28 20:50:43 2017 New Revision: 432652 URL: https://svnweb.freebsd.org/changeset/ports/432652 Log: - Fix memory issue with AAC plugin - Bump PORTREVISION Reported by: gnn@ (private email) Obtained from: Upstream repository MFH: 2017Q1 Added: head/multimedia/audacious-plugins/files/patch-src_ffaudio_ffaudio-core.cc (contents, props changed) Modified: head/multimedia/audacious-plugins-gtk3/Makefile head/multimedia/audacious-plugins/Makefile Modified: head/multimedia/audacious-plugins-gtk3/Makefile ============================================================================== --- head/multimedia/audacious-plugins-gtk3/Makefile Sat Jan 28 20:49:44 2017 (r432651) +++ head/multimedia/audacious-plugins-gtk3/Makefile Sat Jan 28 20:50:43 2017 (r432652) @@ -4,7 +4,7 @@ PORTNAME= audacious-plugins PORTVERSION= 3.8.1 DISTVERSIONSUFFIX= -gtk3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia audio MASTER_SITES= http://distfiles.audacious-media-player.org/ PKGNAMESUFFIX= ${DISTVERSIONSUFFIX} @@ -25,6 +25,7 @@ CONFLICTS_INSTALL= audacious-plugins-3.* MASTERDIR= ${.CURDIR}/../audacious-plugins DISTINFO_FILE= ${.CURDIR}/distinfo +FILESDIR= ${MASTERDIR}/files GNU_CONFIGURE= yes USES= compiler:c++11-lib execinfo gettext-tools gmake iconv \ Modified: head/multimedia/audacious-plugins/Makefile ============================================================================== --- head/multimedia/audacious-plugins/Makefile Sat Jan 28 20:49:44 2017 (r432651) +++ head/multimedia/audacious-plugins/Makefile Sat Jan 28 20:50:43 2017 (r432652) @@ -3,7 +3,7 @@ PORTNAME= audacious-plugins PORTVERSION= 3.8.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia audio MASTER_SITES= http://distfiles.audacious-media-player.org/ Added: head/multimedia/audacious-plugins/files/patch-src_ffaudio_ffaudio-core.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/audacious-plugins/files/patch-src_ffaudio_ffaudio-core.cc Sat Jan 28 20:50:43 2017 (r432652) @@ -0,0 +1,24 @@ +--- src/ffaudio/ffaudio-core.cc.orig 2016-12-06 14:15:33 UTC ++++ src/ffaudio/ffaudio-core.cc +@@ -99,7 +99,8 @@ struct ScopedContext + + struct ScopedPacket : public AVPacket + { +- ScopedPacket () { av_init_packet (this); } ++ ScopedPacket () : AVPacket () ++ { av_init_packet (this); } + + #if CHECK_LIBAVCODEC_VERSION (55, 25, 100, 55, 16, 0) + ~ScopedPacket () { av_packet_unref (this); } +@@ -553,8 +554,10 @@ bool FFaudio::play (const char * filenam + /* On EOF, send an empty packet to "flush" the decoder */ + /* Otherwise, make a mutable (shallow) copy of the real packet */ + AVPacket tmp; +- if (eof) ++ if (eof) { ++ tmp = AVPacket (); + av_init_packet (& tmp); ++ } + else + tmp = pkt; +