public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/smpeg/files/, media-libs/smpeg/
@ 2016-12-29 14:18 Alexis Ballier
  0 siblings, 0 replies; only message in thread
From: Alexis Ballier @ 2016-12-29 14:18 UTC (permalink / raw
  To: gentoo-commits

commit:     ef5af0ae93adbe5f549ad922756f3f566244d274
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 29 14:17:32 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Dec 29 14:17:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef5af0ae

media-libs/smpeg: fix build with gcc6, bug #592450, patch by Peter Levine.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-libs/smpeg/files/smpeg-0.4.4-gcc6.patch | 25 +++++++++++++++++++++++++
 media-libs/smpeg/smpeg-0.4.4-r10.ebuild       |  5 +++--
 2 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/media-libs/smpeg/files/smpeg-0.4.4-gcc6.patch b/media-libs/smpeg/files/smpeg-0.4.4-gcc6.patch
new file mode 100644
index 00000000..4419bec
--- /dev/null
+++ b/media-libs/smpeg/files/smpeg-0.4.4-gcc6.patch
@@ -0,0 +1,25 @@
+--- smpeg-0.4.4/audio/huffmantable.cpp.old	2016-09-21 17:28:34.497031221 -0400
++++ smpeg-0.4.4/audio/huffmantable.cpp	2016-09-21 17:30:24.346141555 -0400
+@@ -550,11 +550,11 @@
+ 
+ const HUFFMANCODETABLE MPEGaudio::ht[HTN]=
+ {
+-  { 0, 0-1, 0-1, 0,  0, htd33},
++  { 0, (unsigned) 0-1, (unsigned) 0-1, 0,  0, htd33},
+   { 1, 2-1, 2-1, 0,  7,htd01},
+   { 2, 3-1, 3-1, 0, 17,htd02},
+   { 3, 3-1, 3-1, 0, 17,htd03},
+-  { 4, 0-1, 0-1, 0,  0, htd33},
++  { 4, (unsigned) 0-1, (unsigned) 0-1, 0,  0, htd33},
+   { 5, 4-1, 4-1, 0, 31,htd05},
+   { 6, 4-1, 4-1, 0, 31,htd06},
+   { 7, 6-1, 6-1, 0, 71,htd07},
+@@ -564,7 +564,7 @@
+   {11, 8-1, 8-1, 0,127,htd11},
+   {12, 8-1, 8-1, 0,127,htd12},
+   {13,16-1,16-1, 0,511,htd13},
+-  {14, 0-1, 0-1, 0,  0, htd33},
++  {14, (unsigned) 0-1, (unsigned) 0-1, 0,  0, htd33},
+   {15,16-1,16-1, 0,511,htd15},
+   {16,16-1,16-1, 1,511,htd16},
+   {17,16-1,16-1, 2,511,htd16},

diff --git a/media-libs/smpeg/smpeg-0.4.4-r10.ebuild b/media-libs/smpeg/smpeg-0.4.4-r10.ebuild
index c7dd365..4f4dba1 100644
--- a/media-libs/smpeg/smpeg-0.4.4-r10.ebuild
+++ b/media-libs/smpeg/smpeg-0.4.4-r10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -45,7 +45,8 @@ src_prepare() {
 		"${FILESDIR}"/${P}-mmx.patch \
 		"${FILESDIR}"/${P}-malloc.patch \
 		"${FILESDIR}"/${P}-format.patch \
-		"${FILESDIR}"/${P}-missing-init.patch
+		"${FILESDIR}"/${P}-missing-init.patch \
+		"${FILESDIR}"/${P}-gcc6.patch
 
 	cd "${WORKDIR}"
 	epatch "${DISTDIR}"/${P}-gtkm4.patch.bz2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-29 14:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-29 14:18 [gentoo-commits] repo/gentoo:master commit in: media-libs/smpeg/files/, media-libs/smpeg/ Alexis Ballier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox