From gslin@netnews.NCTU.edu.tw  Mon Jul 31 09:27:53 2006
Return-Path: <gslin@netnews.NCTU.edu.tw>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1C95F16A4DD
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 31 Jul 2006 09:27:53 +0000 (UTC)
	(envelope-from gslin@netnews.NCTU.edu.tw)
Received: from netnews.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0A73F43D6B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 31 Jul 2006 09:27:46 +0000 (GMT)
	(envelope-from gslin@netnews.NCTU.edu.tw)
Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000)
	id 1221779; Mon, 31 Jul 2006 17:27:43 +0800 (CST)
Message-Id: <20060731092743.1221779@netnews.NCTU.edu.tw>
Date: Mon, 31 Jul 2006 17:27:43 +0800 (CST)
From: Gea-Suan Lin <gslin@gslin.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: gslin@gslin.org
Subject: [PATCH] audio/ccaudio: update to 1.2.0
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         101087
>Category:       ports
>Synopsis:       [PATCH] audio/ccaudio: update to 1.2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    clsung
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 31 09:30:12 GMT 2006
>Closed-Date:    Tue Aug 01 02:10:21 GMT 2006
>Last-Modified:  Tue Aug 01 02:10:21 GMT 2006
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Update to 1.2.0

Added file(s):
- files/patch-src-audiofile.cpp

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- ccaudio-1.2.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/audio/ccaudio/Makefile /home/staff/gslin/work/ccaudio/Makefile
--- /usr/ports/audio/ccaudio/Makefile	Thu May  4 03:12:08 2006
+++ /home/staff/gslin/work/ccaudio/Makefile	Mon Jul 31 17:26:46 2006
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	ccaudio
-PORTVERSION=	1.1.4
-PORTREVISION=	1
+PORTVERSION=	1.2.0
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	gnutelephony
@@ -15,24 +14,17 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	C++ class framework for manipulating audio files
 
-LIB_DEPENDS=	ccgnu2-1.3.1:${PORTSDIR}/devel/commoncpp
+LIB_DEPENDS=	ccgnu2:${PORTSDIR}/devel/commoncpp
 
 USE_GNOME=	gnometarget
 GNU_CONFIGURE=	yes
-USE_GCC=	3.4
-INSTALL_TARGET=	install man
+USE_GCC=	3.4+
 INSTALLS_SHLIB=	yes
 
-MAN3=		Audio.3cc AudioCodec.3cc AudioCopy.3cc AudioFile.3cc \
-		AudioSample.3cc AudioTone.3cc CDAudio.3cc DTMFDetect.3cc \
-		LinearSample.3cc
-
-.include <bsd.port.pre.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|<stdint\.h>|<stdlib.h>|g' ${WRKSRC}/src/dtmf.cpp
 	@${REINPLACE_CMD} -e \
 		's|@CXXFLAGS@|& $$(g_711_CXXFLAGS)|' ${WRKSRC}/dso/Makefile.in
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/audio/ccaudio/distinfo /home/staff/gslin/work/ccaudio/distinfo
--- /usr/ports/audio/ccaudio/distinfo	Thu Jan  5 18:02:21 2006
+++ /home/staff/gslin/work/ccaudio/distinfo	Mon Jul 31 17:04:49 2006
@@ -1,3 +1,3 @@
-MD5 (ccaudio-1.1.4.tar.gz) = d3e0c859c297b2a76b2137e760ce82f0
-SHA256 (ccaudio-1.1.4.tar.gz) = eb4504811b0b2234d328c280bb72742e14d98edebc9d6d6e973241186677456c
-SIZE (ccaudio-1.1.4.tar.gz) = 336489
+MD5 (ccaudio-1.2.0.tar.gz) = 919210cf0d917fbb7813d2cbf2c1e941
+SHA256 (ccaudio-1.2.0.tar.gz) = 6805fe04a3281fbcc66d247f63f6def5db042c7cf55fd7a5b3b783de4999c387
+SIZE (ccaudio-1.2.0.tar.gz) = 343071
diff -ruN --exclude=CVS /usr/ports/audio/ccaudio/files/patch-src-audiofile.cpp /home/staff/gslin/work/ccaudio/files/patch-src-audiofile.cpp
--- /usr/ports/audio/ccaudio/files/patch-src-audiofile.cpp	Thu Jan  1 08:00:00 1970
+++ /home/staff/gslin/work/ccaudio/files/patch-src-audiofile.cpp	Mon Jul 31 17:13:53 2006
@@ -0,0 +1,11 @@
+--- src/audiofile.cpp.orig	Mon Jul 31 17:13:02 2006
++++ src/audiofile.cpp	Mon Jul 31 17:13:20 2006
+@@ -38,6 +38,8 @@
+ // whether to permit this exception to apply to your modifications.
+ // If you do not wish that, delete this exception notice.  
+ 
++#include <sys/types.h>
++#include <sys/stat.h>
+ #include <cc++/config.h>
+ #include <cc++/strchar.h>
+ #include <cc++/export.h>
diff -ruN --exclude=CVS /usr/ports/audio/ccaudio/pkg-plist /home/staff/gslin/work/ccaudio/pkg-plist
--- /usr/ports/audio/ccaudio/pkg-plist	Thu Feb 23 18:34:25 2006
+++ /home/staff/gslin/work/ccaudio/pkg-plist	Mon Jul 31 17:25:11 2006
@@ -1,8 +1,10 @@
 include/cc++2/cc++/audio.h
-lib/libccaudio1-1.1.so
-lib/libccaudio1-1.1.so.0
+lib/ccaudio1/g.711
+lib/libccaudio1-1.2.so
+lib/libccaudio1-1.2.so.0
 lib/libccaudio1.a
 lib/libccaudio1.la
 lib/libccaudio1.so
-lib/ccaudio1/g.711
-@dirrm lib/ccaudio1
+@dirrmtry include/cc++2/cc++
+@dirrmtry include/cc++2
+@dirrmtry lib/ccaudio1
--- ccaudio-1.2.0.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jul 31 09:30:32 UTC 2006 
Responsible-Changed-Why:  
clsung@ wants his PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101087 
State-Changed-From-To: open->closed 
State-Changed-By: clsung 
State-Changed-When: Tue Aug 1 02:10:19 UTC 2006 
State-Changed-Why:  
Committed. Thank You. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101087 
>Unformatted:
