From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 21 04:40:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 13BEE36D for ; Tue, 21 Jan 2014 04:40:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 E246D1F29 for ; Tue, 21 Jan 2014 04:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0L4e0Bi060603 for ; Tue, 21 Jan 2014 04:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0L4e0of060592; Tue, 21 Jan 2014 04:40:00 GMT (envelope-from gnats) Resent-Date: Tue, 21 Jan 2014 04:40:00 GMT Resent-Message-Id: <201401210440.s0L4e0of060592@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov 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 AD75134B; Tue, 21 Jan 2014 04:37:27 +0000 (UTC) Received: from smtpout3.timeweb.ru (smtpout3.timeweb.ru [92.53.117.25]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 665AF1F19; Tue, 21 Jan 2014 04:37:27 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1W5T5Y-0008Ln-JV; Tue, 21 Jan 2014 08:37:24 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 481DE5DB; Tue, 21 Jan 2014 08:37:24 +0400 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 435FF18865; Tue, 21 Jan 2014 08:37:24 +0400 (MSK) Message-Id: <20140121043724.435FF18865@hades.panopticon> Date: Tue, 21 Jan 2014 08:37:24 +0400 (MSK) From: Dmitry Marakasov To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/185953: [PATCH] audio/maplay: fix build on 10.x Cc: sylvio@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 04:40:01 -0000 >Number: 185953 >Category: ports >Synopsis: [PATCH] audio/maplay: fix build on 10.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jan 21 04:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 10.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD hades.panopticon 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260807: Fri Jan 17 13:14:28 MSK >Description: - Fix build on 10.x - Support staging Port maintainer (sylvio@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- maplay-1.2.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 340547) +++ Makefile (working copy) @@ -14,12 +14,11 @@ LICENSE= GPLv2 NO_WRKSUBDIR= yes -NO_STAGE= yes PLIST_FILES= bin/maplay PORTDOCS= README -.include +OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's,machine/soundcard.h,sys/soundcard.h,' \ @@ -26,10 +25,8 @@ ${WRKSRC}/configuration.sh do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/maplay ${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/maplay ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include Index: files/patch-maplay.cc =================================================================== --- files/patch-maplay.cc (revision 340547) +++ files/patch-maplay.cc (working copy) @@ -1,5 +1,5 @@ ---- maplay.cc.orig Thu Jun 23 22:14:36 1994 -+++ maplay.cc Thu Nov 21 16:40:21 2002 +--- maplay.cc.orig 1994-06-23 16:14:36.000000000 +0400 ++++ maplay.cc 2014-01-21 06:31:36.011086289 +0400 @@ -39,8 +39,8 @@ #include #include @@ -34,8 +34,12 @@ static real scalefactor; // data extracted from header of first frame: -@@ -93,12 +92,12 @@ - main (int argc, char *argv[]) +@@ -90,15 +89,15 @@ + } + + +-main (int argc, char *argv[]) ++int main (int argc, char *argv[]) { int i; - bool read_ready = False, write_ready = False; --- maplay-1.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: