From owner-svn-ports-head@freebsd.org Sun Jun 3 23:20:15 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E573FEBBE5; Sun, 3 Jun 2018 23:20:15 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E53AE83315; Sun, 3 Jun 2018 23:20:14 +0000 (UTC) (envelope-from truckman@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C7450252AF; Sun, 3 Jun 2018 23:20:14 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w53NKEFm089749; Sun, 3 Jun 2018 23:20:14 GMT (envelope-from truckman@FreeBSD.org) Received: (from truckman@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w53NKECe089747; Sun, 3 Jun 2018 23:20:14 GMT (envelope-from truckman@FreeBSD.org) Message-Id: <201806032320.w53NKECe089747@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: truckman set sender to truckman@FreeBSD.org using -f From: Don Lewis Date: Sun, 3 Jun 2018 23:20:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r471525 - in head/audio/splay: . files X-SVN-Group: ports-head X-SVN-Commit-Author: truckman X-SVN-Commit-Paths: in head/audio/splay: . files X-SVN-Commit-Revision: 471525 X-SVN-Commit-Repository: ports 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.26 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: Sun, 03 Jun 2018 23:20:15 -0000 Author: truckman Date: Sun Jun 3 23:20:14 2018 New Revision: 471525 URL: https://svnweb.freebsd.org/changeset/ports/471525 Log: 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. Added: head/audio/splay/files/patch-libs_huffmantable.cc (contents, props changed) Modified: head/audio/splay/Makefile Modified: head/audio/splay/Makefile ============================================================================== --- head/audio/splay/Makefile Sun Jun 3 23:07:07 2018 (r471524) +++ head/audio/splay/Makefile Sun Jun 3 23:20:14 2018 (r471525) @@ -3,11 +3,17 @@ 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 Added: head/audio/splay/files/patch-libs_huffmantable.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/splay/files/patch-libs_huffmantable.cc Sun Jun 3 23:20:14 2018 (r471525) @@ -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},