Unbreak build with clang 6.0 by fixing
error: constant expression evaluates to -1 which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing] Add LICENSE info.
This commit is contained in:
parent
5c008c532a
commit
8b056a72f7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=471525
@ -3,12 +3,18 @@
|
||||
|
||||
PORTNAME= splay
|
||||
PORTVERSION= 0.9.5.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://splay.sourceforge.net/tgz/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Audio player that decodes MPEG Layer 1/2/3 and WAV files
|
||||
|
||||
LICENSE= GPLv2+ LGPL20+
|
||||
LICENSE_COMB= multi
|
||||
LICENSE_FILE_GPLv2+= COPYING
|
||||
LICENSE_FILE_LGPL20+= COPYING.LIB
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
PLIST_FILES= bin/splay man/man1/splay.1.gz
|
||||
|
25
audio/splay/files/patch-libs_huffmantable.cc
Normal file
25
audio/splay/files/patch-libs_huffmantable.cc
Normal file
@ -0,0 +1,25 @@
|
||||
--- libs/huffmantable.cc.orig 2001-02-15 13:43:40 UTC
|
||||
+++ libs/huffmantable.cc
|
||||
@@ -550,11 +550,11 @@ htd33[ 31][2]={{ 16, 1},{ 8, 1},{ 4, 1},{ 2, 1}
|
||||
|
||||
const HUFFMANCODETABLE Mpegtoraw::ht[HTN]=
|
||||
{
|
||||
- { 0, 0-1, 0-1, 0, 0, htd33},
|
||||
+ { 0,0u-1,0u-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,0u-1,0u-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 @@ const HUFFMANCODETABLE Mpegtoraw::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,0u-1,0u-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},
|
Loading…
Reference in New Issue
Block a user