ports/101087: [PATCH] audio/ccaudio: update to 1.2.0
Gea-Suan Lin
gslin at gslin.org
Mon Jul 31 09:30:15 UTC 2006
>Number: 101087
>Category: ports
>Synopsis: [PATCH] audio/ccaudio: update to 1.2.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 31 09:30:12 GMT 2006
>Closed-Date:
>Last-Modified:
>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 at 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
- at dirrm lib/ccaudio1
+ at dirrmtry include/cc++2/cc++
+ at dirrmtry include/cc++2
+ at dirrmtry lib/ccaudio1
--- ccaudio-1.2.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list