pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2017Q3]: pkgsrc/multimedia/smpeg Pullup ticket #5606 - request...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e133bc4967e8
branches: pkgsrc-2017Q3
changeset: 408574:e133bc4967e8
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Mon Nov 06 19:16:29 2017 +0000
description:
Pullup ticket #5606 - requested by sevan
multimedia/smpeg: build fix
Revisions pulled up:
- multimedia/smpeg/distinfo 1.9
- multimedia/smpeg/patches/patch-audio_huffmantable.cpp 1.1
---
Module Name: pkgsrc
Committed By: jperkin
Date: Thu Oct 19 15:59:22 UTC 2017
Modified Files:
pkgsrc/multimedia/smpeg: distinfo
Added Files:
pkgsrc/multimedia/smpeg/patches: patch-audio_huffmantable.cpp
Log Message:
smpeg: Fix build with GCC >= 6, from various.
diffstat:
multimedia/smpeg/distinfo | 3 +-
multimedia/smpeg/patches/patch-audio_huffmantable.cpp | 37 +++++++++++++++++++
2 files changed, 39 insertions(+), 1 deletions(-)
diffs (55 lines):
diff -r a1c115adf6a7 -r e133bc4967e8 multimedia/smpeg/distinfo
--- a/multimedia/smpeg/distinfo Mon Nov 06 19:11:46 2017 +0000
+++ b/multimedia/smpeg/distinfo Mon Nov 06 19:16:29 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2015/11/03 23:54:32 agc Exp $
+$NetBSD: distinfo,v 1.8.18.1 2017/11/06 19:16:29 bsiegert Exp $
SHA1 (smpeg-0.4.4.tar.gz) = 6d7f4449472e6270ab435b2224f3fad951c35259
RMD160 (smpeg-0.4.4.tar.gz) = d55249ad53417fa0df3d925aed0e83d2204e28b7
@@ -9,3 +9,4 @@
SHA1 (patch-ac) = 6f0cdeb9864db4db6730c8137287a073172a09ab
SHA1 (patch-ad) = 021ffc5024723173c8a6cda04ae6f70add974faa
SHA1 (patch-ae) = 0c7646ec3ce331b6991d59d96efa1ba07fbb91e5
+SHA1 (patch-audio_huffmantable.cpp) = 4bde79539a6fe488bc6be7092f23fac18efa362e
diff -r a1c115adf6a7 -r e133bc4967e8 multimedia/smpeg/patches/patch-audio_huffmantable.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/smpeg/patches/patch-audio_huffmantable.cpp Mon Nov 06 19:16:29 2017 +0000
@@ -0,0 +1,37 @@
+$NetBSD: patch-audio_huffmantable.cpp,v 1.1.2.2 2017/11/06 19:16:29 bsiegert Exp $
+
+Fix build with GCC >= 6.
+
+--- audio/huffmantable.cpp.orig 1999-08-26 04:37:52.000000000 +0000
++++ audio/huffmantable.cpp
+@@ -9,6 +9,7 @@
+ #include "config.h"
+ #endif
+
++#include <climits>
+ #include "MPEGaudio.h"
+
+ static const unsigned int
+@@ -550,11 +551,11 @@ htd33[ 31][2]={{ 16, 1},{ 8, 1},{ 4,
+
+ const HUFFMANCODETABLE MPEGaudio::ht[HTN]=
+ {
+- { 0, 0-1, 0-1, 0, 0, htd33},
++ { 0, UINT_MAX, UINT_MAX, 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, UINT_MAX, UINT_MAX, 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 +565,7 @@ const HUFFMANCODETABLE MPEGaudio::ht[HTN
+ {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, UINT_MAX, UINT_MAX, 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},
Home |
Main Index |
Thread Index |
Old Index