Date: Thu, 15 Jul 1999 23:43:32 -0500 (CDT) From: dnelson@emsphone.com To: FreeBSD-gnats-submit@freebsd.org Subject: ports/12658: sox port update to 12.16 Message-ID: <199907160443.XAA57290@dan.emsphone.com>
next in thread | raw e-mail | index | archive | help
>Number: 12658 >Category: ports >Synopsis: sox port update to 12.16 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 15 21:50:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Dan Nelson >Release: FreeBSD 4.0-CURRENT i386 >Organization: Executive Marketing Services, Inc. >Environment: FreeBSD dan.emsphone.com 4.0-CURRENT FreeBSD 4.0-CURRENT #27: Mon Jul 12 09:50:33 CDT 1999 dan@dan.emsphone.com:/usr/src/sys/compile/DAN i386 >Description: sox port is old (as of today that is) >How-To-Repeat: >Fix: apply following patch (and remove all files in patches/ ) -Dan Nelson dnelson@emsphone.com Index: Makefile =================================================================== RCS file: /home/ncvs/ports/audio/sox/Makefile,v retrieving revision 1.9 diff -u -r1.9 Makefile --- Makefile 1997/02/04 10:32:34 1.9 +++ Makefile 1999/07/16 04:30:53 @@ -6,19 +6,15 @@ # $Id: Makefile,v 1.9 1997/02/04 10:32:34 max Exp $ # -DISTNAME= soxgamma -PKGNAME= sox-12.12 +DISTNAME= sox-12.16 CATEGORIES= audio -MASTER_SITES= http://www.spies.com/Sox/Archive/ +MASTER_SITES= http://home.sprynet.com/~cbagwell/ MAINTAINER= torstenb@FreeBSD.ORG -NO_WRKSUBDIR= yes -MAKEFILE= Makefile.unx -MAN1= sox.1 - -do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/sox ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/sox.man ${PREFIX}/man/man1/sox.1 +MAN1= sox.1 play.1 +MLINKS= play.1 rec.1 +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-fast-ulaw --enable-fast-alaw .include <bsd.port.mk> Index: files/md5 =================================================================== RCS file: /home/ncvs/ports/audio/sox/files/md5,v retrieving revision 1.2 diff -u -r1.2 md5 --- md5 1997/02/04 10:32:38 1.2 +++ md5 1999/07/16 04:31:35 @@ -1 +1 @@ -MD5 (soxgamma.tar.gz) = ed5586a59ee9fed5e7cea90e46a6c51b +MD5 (sox-12.16.tar.gz) = c42277b664f46514f2fb35221795dcfa Index: patches/patch-aa =================================================================== RCS file: /home/ncvs/ports/audio/sox/patches/patch-aa,v retrieving revision 1.3 diff -u -r1.3 patch-aa --- patch-aa 1997/02/04 10:32:41 1.3 +++ patch-aa 1999/06/16 05:05:18 @@ -1,61 +0,0 @@ -*** sbdsp.c.orig Thu Aug 18 06:11:01 1994 ---- sbdsp.c Mon Jan 27 02:47:53 1997 -*************** -*** 21,27 **** - #include <i386/isa/sblast.h> - #else - #ifdef LINUXSOUND -! #include <linux/soundcard.h> - #else - #include <sys/sb.h> - #endif ---- 21,27 ---- - #include <i386/isa/sblast.h> - #else - #ifdef LINUXSOUND -! #include <machine/soundcard.h> - #else - #include <sys/sb.h> - #endif -*************** -*** 78,84 **** - ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, &ft->info.rate); - #else - #if defined(LINUXSOUND) -! ioctl(fileno(ft->fp), SNDCTL_DSP_SPEED, ft->info.rate); - #else - ioctl(fileno(ft->fp), DSP_IOCTL_VOICE, 0); - ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, ft->info.rate); ---- 78,88 ---- - ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, &ft->info.rate); - #else - #if defined(LINUXSOUND) -! #if SOUND_VERSION >= 200 -! ioctl(fileno(ft->fp), SOUND_PCM_WRITE_RATE, &ft->info.rate); -! #else -! ioctl(fileno(ft->fp), SOUND_PCM_WRITE_RATE, ft->info.rate); -! #endif - #else - ioctl(fileno(ft->fp), DSP_IOCTL_VOICE, 0); - ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, ft->info.rate); -*************** -*** 148,154 **** - #else - #if defined(LINUXSOUND) - ioctl(fileno(ft->fp), SNDCTL_DSP_SYNC, 0); -! ioctl(fileno(ft->fp), SNDCTL_DSP_SPEED, ft->info.rate); - #else - ioctl(fileno(ft->fp), DSP_IOCTL_VOICE, 1); - ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, ft->info.rate); ---- 152,162 ---- - #else - #if defined(LINUXSOUND) - ioctl(fileno(ft->fp), SNDCTL_DSP_SYNC, 0); -! #if SOUND_VERSION >= 200 -! ioctl(fileno(ft->fp), SOUND_PCM_WRITE_RATE, &ft->info.rate); -! #else -! ioctl(fileno(ft->fp), SOUND_PCM_WRITE_RATE, ft->info.rate); -! #endif - #else - ioctl(fileno(ft->fp), DSP_IOCTL_VOICE, 1); - ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, ft->info.rate); Index: patches/patch-ab =================================================================== RCS file: /home/ncvs/ports/audio/sox/patches/patch-ab,v retrieving revision 1.4 diff -u -r1.4 patch-ab --- patch-ab 1999/03/03 22:01:58 1.4 +++ patch-ab 1999/06/16 05:13:23 @@ -1,16 +0,0 @@ ---- Makefile.unx.orig Sat Oct 8 09:14:48 1994 -+++ Makefile.unx Mon Jan 27 15:09:32 1997 -@@ -153,6 +153,13 @@ - # RM = del /q - - -+ -+# FreeBSD 1.x / 2.x / 3.x -+CFLAGS += -DLINUXSOUND -D_HAVE_PARAM_H -+CC = cc -+AR = ar r -+RANLIB = ranlib -+ - all: sox - - sox: sox.o $(SOUNDLIB) Index: patches/patch-ac =================================================================== RCS file: /home/ncvs/ports/audio/sox/patches/patch-ac,v retrieving revision 1.3 diff -u -r1.3 patch-ac --- patch-ac 1997/04/24 11:44:28 1.3 +++ patch-ac 1999/06/16 05:11:53 @@ -1,11 +0,0 @@ ---- au.c.orig Wed Aug 3 22:13:29 1994 -+++ au.c Thu Apr 24 13:37:59 1997 -@@ -299,6 +299,8 @@ - wblong(ft, magic); - - /* hdr_size = SUN_HDRSIZE; /* + strlen(ft->comment); */ -+ if (ft->comment == NULL) -+ ft->comment = ""; - hdr_size = SUN_HDRSIZE + strlen(ft->comment); - wblong(ft, hdr_size); - Index: pkg/DESCR =================================================================== RCS file: /home/ncvs/ports/audio/sox/pkg/DESCR,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 DESCR --- DESCR 1994/10/23 01:16:15 1.1.1.1 +++ DESCR 1999/06/18 22:55:41 @@ -13,3 +13,5 @@ delay lines, applying low-, high, and band-pass filtering, reversing a sample in order to search for Satanic messages, and the infamous Fender Vibro effect. + +WWW: http://home.sprynet.com/~cbagwell/sox.html Index: pkg/PLIST =================================================================== RCS file: /home/ncvs/ports/audio/sox/pkg/PLIST,v retrieving revision 1.4 diff -u -r1.4 PLIST --- PLIST 1998/08/17 07:14:09 1.4 +++ PLIST 1999/07/16 03:40:36 @@ -1 +1,3 @@ bin/sox +bin/play +bin/rec >Release-Note: >Audit-Trail: >Unformatted: Dan Nelson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907160443.XAA57290>