From lofi@lofi.dyndns.org  Sun May 18 12:32:03 2003
Return-Path: <lofi@lofi.dyndns.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id ED22937B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 May 2003 12:32:03 -0700 (PDT)
Received: from meitner.wh.uni-dortmund.de (meitner.wh.uni-dortmund.de [129.217.129.133])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D76A443F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 May 2003 12:32:02 -0700 (PDT)
	(envelope-from lofi@lofi.dyndns.org)
Received: from lofi.dyndns.org (pc2-105.intern.meitner [10.3.12.105])
	by meitner.wh.uni-dortmund.de (Postfix) with ESMTP id 2E43F167522
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 May 2003 21:31:59 +0200 (CEST)
Received: from lofi.dyndns.org (lofi@localhost [127.0.0.1])
	by lofi.dyndns.org (8.12.6p2/8.12.6) with ESMTP id h4IJVwAB013403
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 May 2003 21:31:58 +0200 (CEST)
	(envelope-from lofi@lofi.dyndns.org)
Received: (from lofi@localhost)
	by lofi.dyndns.org (8.12.6p2/8.12.6/Submit) id h4IJVwDq013402;
	Sun, 18 May 2003 21:31:58 +0200 (CEST)
	(envelope-from lofi)
Message-Id: <200305181931.h4IJVwDq013402@lofi.dyndns.org>
Date: Sun, 18 May 2003 21:31:58 +0200 (CEST)
From: Michael Nottebrock <lofi@lofi.dyndns.org>
Reply-To: Michael Nottebrock <michaelnottebrock@gmx.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: audio/portaudio
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         52406
>Category:       ports
>Synopsis:       New port: audio/portaudio
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 18 12:40:11 PDT 2003
>Closed-Date:    Tue Jun 03 12:03:38 PDT 2003
>Last-Modified:  Tue Jun 03 12:03:38 PDT 2003
>Originator:     Michael Nottebrock
>Release:        FreeBSD 5.0-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD lofi.dyndns.org 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #0: Fri May 9 14:01:49 CEST 2003 lofi@lofi.dyndns.org:/usr/obj/usr/src/sys/LOFI i386


	
>Description:
	PortAudio is a free, cross platform, open-source, audio I/O library.
>How-To-Repeat:
	
>Fix:

	

--- portaudio.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	portaudio
#	portaudio/pkg-descr
#	portaudio/distinfo
#	portaudio/Makefile
#	portaudio/pkg-plist
#	portaudio/files
#	portaudio/files/patch-Makefile.linux
#	portaudio/files/patch-pa_unix_oss::pa_unix_oss.c
#
echo c - portaudio
mkdir -p portaudio > /dev/null 2>&1
echo x - portaudio/pkg-descr
sed 's/^X//' >portaudio/pkg-descr << 'END-of-portaudio/pkg-descr'
XPortAudio is a free, cross platform, open-source, audio I/O library.
XIt lets you write simple audio programs in 'C' that will compile
Xand run on many platforms including Windows, Macintosh (8,9,X),
XUnix (OSS), SGI, and BeOS. PortAudio is intended to promote the
Xexchange of audio synthesis software between developers on different
Xplatforms, and was recently selected as the audio component of a
Xlarger PortMusic project that includes MIDI and sound file support.
X
XWWW: http://www.portaudio.com
X
Xmichaelnottebrock@gmx.net
END-of-portaudio/pkg-descr
echo x - portaudio/distinfo
sed 's/^X//' >portaudio/distinfo << 'END-of-portaudio/distinfo'
XMD5 (portaudio_v18.zip) = 4371cbba9e0aa13d0b605c7bf31da50a
END-of-portaudio/distinfo
echo x - portaudio/Makefile
sed 's/^X//' >portaudio/Makefile << 'END-of-portaudio/Makefile'
X# New ports collection makefile for:	portaudio
X# Date created:				18 May 2003
X# Whom:					michaelnottebrock@gmx.net
X#
X# $FreeBSD$
X#
X
XPORTNAME=	portaudio
XPORTVERSION=	18
XCATEGORIES=	audio
XMASTER_SITES=	http://www.portaudio.com/archives/
XDISTNAME=	${PORTNAME}_v${PORTVERSION}
X
XMAINTAINER=	michaelnottebrock@gmx.net
XCOMMENT=	Portable cross-platform Audio API
X
XUSE_ZIP=	yes
XUSE_GMAKE=	yes
XMAKEFILE=	Makefile.linux
XINSTALLS_SHLIB=	yes
X
Xdo-install:	# none
X
Xpost-install:
X
X	${INSTALL} -c -o root -g wheel ${WRKSRC}/pa_common/portaudio.h \
X	${PREFIX}/include/portaudio.h
X
X.include <bsd.port.mk>
END-of-portaudio/Makefile
echo x - portaudio/pkg-plist
sed 's/^X//' >portaudio/pkg-plist << 'END-of-portaudio/pkg-plist'
Xinclude/portaudio.h
Xlib/libportaudio.so
END-of-portaudio/pkg-plist
echo c - portaudio/files
mkdir -p portaudio/files > /dev/null 2>&1
echo x - portaudio/files/patch-Makefile.linux
sed 's/^X//' >portaudio/files/patch-Makefile.linux << 'END-of-portaudio/files/patch-Makefile.linux'
X--- Makefile.linux.orig	Sun May 18 20:32:32 2003
X+++ Makefile.linux	Sun May 18 20:33:06 2003
X@@ -18,7 +18,7 @@
X 
X CDEFINES = -I../pa_common
X CFLAGS = -g
X-LIBINST = /usr/local/lib
X+LIBINST = $(PREFIX)/lib
X 
X TESTS:= $(wildcard pa_tests/pa*.c pa_tests/debug*.c)
X TESTO:= $(wildcard pa_tests/pa*.o pa_tests/debug*.o)
END-of-portaudio/files/patch-Makefile.linux
echo x - portaudio/files/patch-pa_unix_oss::pa_unix_oss.c
sed 's/^X//' >portaudio/files/patch-pa_unix_oss::pa_unix_oss.c << 'END-of-portaudio/files/patch-pa_unix_oss::pa_unix_oss.c'
X--- pa_unix_oss/pa_unix_oss.c.orig	Sun May 18 21:19:17 2003
X+++ pa_unix_oss/pa_unix_oss.c	Sun May 18 21:19:30 2003
X@@ -95,7 +95,6 @@
X 
X #include <stdio.h>
X #include <stdlib.h>
X-#include <malloc.h>
X #include <memory.h>
X #include <math.h>
X #include <sys/ioctl.h>
END-of-portaudio/files/patch-pa_unix_oss::pa_unix_oss.c
exit
--- portaudio.shar ends here ---


>Release-Note:
>Audit-Trail:

From: Michael Nottebrock <michaelnottebrock@gmx.net>
To: FreeBSD-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org
Cc:  
Subject: Re: ports/52406: New port: audio/portaudio
Date: Sun, 18 May 2003 22:05:16 +0200

 Small change: More reasonable mode for the headerfile. New shar below.
 
 
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	portaudio
 #	portaudio/pkg-descr
 #	portaudio/distinfo
 #	portaudio/Makefile
 #	portaudio/pkg-plist
 #	portaudio/files
 #	portaudio/files/patch-Makefile.linux
 #	portaudio/files/patch-pa_unix_oss::pa_unix_oss.c
 #
 echo c - portaudio
 mkdir -p portaudio > /dev/null 2>&1
 echo x - portaudio/pkg-descr
 sed 's/^X//' >portaudio/pkg-descr << 'END-of-portaudio/pkg-descr'
 XPortAudio is a free, cross platform, open-source, audio I/O library.
 XIt lets you write simple audio programs in 'C' that will compile
 Xand run on many platforms including Windows, Macintosh (8,9,X),
 XUnix (OSS), SGI, and BeOS. PortAudio is intended to promote the
 Xexchange of audio synthesis software between developers on different
 Xplatforms, and was recently selected as the audio component of a
 Xlarger PortMusic project that includes MIDI and sound file support.
 X
 XWWW: http://www.portaudio.com
 X
 Xmichaelnottebrock@gmx.net
 END-of-portaudio/pkg-descr
 echo x - portaudio/distinfo
 sed 's/^X//' >portaudio/distinfo << 'END-of-portaudio/distinfo'
 XMD5 (portaudio_v18.zip) = 4371cbba9e0aa13d0b605c7bf31da50a
 END-of-portaudio/distinfo
 echo x - portaudio/Makefile
 sed 's/^X//' >portaudio/Makefile << 'END-of-portaudio/Makefile'
 X# New ports collection makefile for:	portaudio
 X# Date created:				18 May 2003
 X# Whom:					michaelnottebrock@gmx.net
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	portaudio
 XPORTVERSION=	18
 XCATEGORIES=	audio
 XMASTER_SITES=	http://www.portaudio.com/archives/
 XDISTNAME=	${PORTNAME}_v${PORTVERSION}
 X
 XMAINTAINER=	michaelnottebrock@gmx.net
 XCOMMENT=	Portable cross-platform Audio API
 X
 XUSE_ZIP=	yes
 XUSE_GMAKE=	yes
 XMAKEFILE=	Makefile.linux
 XINSTALLS_SHLIB=	yes
 X
 Xdo-install:	# none
 X
 Xpost-install:
 X
 X	${INSTALL} -c -o root -g wheel -m 444 ${WRKSRC}/pa_common/portaudio.h \
 X	${PREFIX}/include/portaudio.h
 X
 X.include <bsd.port.mk>
 END-of-portaudio/Makefile
 echo x - portaudio/pkg-plist
 sed 's/^X//' >portaudio/pkg-plist << 'END-of-portaudio/pkg-plist'
 Xinclude/portaudio.h
 Xlib/libportaudio.so
 END-of-portaudio/pkg-plist
 echo c - portaudio/files
 mkdir -p portaudio/files > /dev/null 2>&1
 echo x - portaudio/files/patch-Makefile.linux
 sed 's/^X//' >portaudio/files/patch-Makefile.linux << 
 'END-of-portaudio/files/patch-Makefile.linux'
 X--- Makefile.linux.orig	Sun May 18 20:32:32 2003
 X+++ Makefile.linux	Sun May 18 20:33:06 2003
 X@@ -18,7 +18,7 @@
 X 
 X CDEFINES = -I../pa_common
 X CFLAGS = -g
 X-LIBINST = /usr/local/lib
 X+LIBINST = $(PREFIX)/lib
 X 
 X TESTS:= $(wildcard pa_tests/pa*.c pa_tests/debug*.c)
 X TESTO:= $(wildcard pa_tests/pa*.o pa_tests/debug*.o)
 END-of-portaudio/files/patch-Makefile.linux
 echo x - portaudio/files/patch-pa_unix_oss::pa_unix_oss.c
 sed 's/^X//' >portaudio/files/patch-pa_unix_oss::pa_unix_oss.c << 
 'END-of-portaudio/files/patch-pa_unix_oss::pa_unix_oss.c'
 X--- pa_unix_oss/pa_unix_oss.c.orig	Sun May 18 21:19:17 2003
 X+++ pa_unix_oss/pa_unix_oss.c	Sun May 18 21:19:30 2003
 X@@ -95,7 +95,6 @@
 X 
 X #include <stdio.h>
 X #include <stdlib.h>
 X-#include <malloc.h>
 X #include <memory.h>
 X #include <math.h>
 X #include <sys/ioctl.h>
 END-of-portaudio/files/patch-pa_unix_oss::pa_unix_oss.c
 exit
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: will 
State-Changed-When: Mon Jun 2 20:22:55 PDT 2003 
State-Changed-Why:  
Even with your newer shar, I get this: 
===>  Applying FreeBSD patches for portaudio-18 
1 out of 1 hunks failed--saving rejects to Makefile.linux.rej 

From: Michael Nottebrock <michaelnottebrock@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/52406: New port: audio/portaudio
Date: Tue, 3 Jun 2003 12:04:31 +0200

 Hm, the newer shar is mangled for some reason. Can you fetch this one: 
 http://lofi.dyndns.org/~lofi/portaudio.shar , it should work. I can send a 
 new PR, too, let me know.
 
State-Changed-From-To: feedback->closed 
State-Changed-By: lioux 
State-Changed-When: Tue Jun 3 12:03:37 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52406 
>Unformatted:
 >> Patch patch-Makefile.linux failed to apply cleanly. 
 *** Error code 1 
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=52406 
