From owner-svn-ports-head@FreeBSD.ORG Thu Dec 19 17:49:37 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3E1B5677; Thu, 19 Dec 2013 17:49:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 29F16171C; Thu, 19 Dec 2013 17:49:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBJHnbXY032354; Thu, 19 Dec 2013 17:49:37 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBJHnark032350; Thu, 19 Dec 2013 17:49:36 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201312191749.rBJHnark032350@svn.freebsd.org> From: Pawel Pekala Date: Thu, 19 Dec 2013 17:49:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336941 - in head/audio/sidplay: . 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-head@freebsd.org X-Mailman-Version: 2.1.17 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: Thu, 19 Dec 2013 17:49:37 -0000 Author: pawel Date: Thu Dec 19 17:49:36 2013 New Revision: 336941 URL: http://svnweb.freebsd.org/changeset/ports/336941 Log: - Fix build with clang - Update MASTER_SITES - Add LICENSE - Switch to PLIST_FILES PR: ports/184823 Submitted by: KATO Tsuguru Added: head/audio/sidplay/files/patch-sid2wav.cpp (contents, props changed) head/audio/sidplay/files/patch-sidcon.cpp (contents, props changed) head/audio/sidplay/files/patch-sidplay.cpp (contents, props changed) Deleted: head/audio/sidplay/pkg-plist Modified: head/audio/sidplay/Makefile (contents, props changed) Modified: head/audio/sidplay/Makefile ============================================================================== --- head/audio/sidplay/Makefile Thu Dec 19 17:46:59 2013 (r336940) +++ head/audio/sidplay/Makefile Thu Dec 19 17:49:36 2013 (r336941) @@ -3,25 +3,27 @@ PORTNAME= sidplay PORTVERSION= 1.0.9 +DISTVERSIONPREFIX= base- CATEGORIES= audio emulators -MASTER_SITES= http://bsd-geek.de/FreeBSD/distfiles/ -DISTNAME= ${PORTNAME}-base-${PORTVERSION} +MASTER_SITES= http://bsd-geek.de/FreeBSD/distfiles/ \ + http://www.sourcefiles.org/Multimedia/Module_Players/ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Commodore SID-chip emulator that plays SID music files +LICENSE= GPLv2 # (or later) + LIB_DEPENDS= libsidplay.so:${PORTSDIR}/audio/libsidplay +GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-sidplay-includes=${LOCALBASE}/include \ --with-sidplay-library=${LOCALBASE}/lib - -WRKSRC= ${WRKDIR}/${PORTNAME}-base-${PORTVERSION} -GNU_CONFIGURE= yes -NO_STAGE= yes +PLIST_FILES= bin/sid2wav bin/sidcon bin/sidplay post-install: - ${STRIP_CMD} ${PREFIX}/bin/sidplay ${PREFIX}/bin/sid2wav \ - ${PREFIX}/bin/sidcon + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sidplay \ + ${STAGEDIR}${PREFIX}/bin/sid2wav \ + ${STAGEDIR}${PREFIX}/bin/sidcon .include Added: head/audio/sidplay/files/patch-sid2wav.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/sidplay/files/patch-sid2wav.cpp Thu Dec 19 17:49:36 2013 (r336941) @@ -0,0 +1,32 @@ +--- sid2wav.cpp.orig ++++ sid2wav.cpp +@@ -18,9 +18,9 @@ + // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + // + +-#include +-#include +-#include ++#include ++#include ++#include + #include + + #include +@@ -39,6 +39,16 @@ + #include + #include + ++using std::cerr; ++using std::cout; ++using std::endl; ++using std::dec; ++using std::flush; ++using std::hex; ++using std::ios; ++using std::setfill; ++using std::setw; ++ + const char s2w_version[] = "1.8"; + + struct wav_hdr // little endian Added: head/audio/sidplay/files/patch-sidcon.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/sidplay/files/patch-sidcon.cpp Thu Dec 19 17:49:36 2013 (r336941) @@ -0,0 +1,23 @@ +--- sidcon.cpp.orig ++++ sidcon.cpp +@@ -25,12 +25,18 @@ + #include + #include + #include +-#include +-#include ++#include ++#include + + #include + #include + ++using std::cerr; ++using std::cin; ++using std::cout; ++using std::endl; ++using std::flush; ++ + static bool toPSID = true, + toSIDPLAY = false, + checkOnly = false, Added: head/audio/sidplay/files/patch-sidplay.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/sidplay/files/patch-sidplay.cpp Thu Dec 19 17:49:36 2013 (r336941) @@ -0,0 +1,28 @@ +--- sidplay.cpp.orig ++++ sidplay.cpp +@@ -18,8 +18,8 @@ + // + + #include +-#include +-#include ++#include ++#include + #include + #include + #include +@@ -41,6 +41,14 @@ + #define DISALLOW_STEREO_SOUND + #endif + ++using std::cerr; ++using std::cout; ++using std::dec; ++using std::endl; ++using std::hex; ++using std::setfill; ++using std::setw; ++ + // Error and status message numbers. + enum + {