diff options
author | max <max@FreeBSD.org> | 1997-02-04 18:32:42 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-02-04 18:32:42 +0800 |
commit | f07b753115ca5df32cd5af936c16539bde6948da (patch) | |
tree | 1713d134c71cfb8ef3e9d9eb77f07c10910a8c42 /audio | |
parent | dfe879bee4f543352c2ec5ed32e854bad97563b5 (diff) | |
download | freebsd-ports-gnome-f07b753115ca5df32cd5af936c16539bde6948da.tar.gz freebsd-ports-gnome-f07b753115ca5df32cd5af936c16539bde6948da.tar.zst freebsd-ports-gnome-f07b753115ca5df32cd5af936c16539bde6948da.zip |
Upgrade, 10.11 -> 12.12.
Suggested by: Bill Fenner <fenner@parc.xerox.com>
(Closing PR #2554.)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/sox/Makefile | 17 | ||||
-rw-r--r-- | audio/sox/distinfo | 2 | ||||
-rw-r--r-- | audio/sox/files/patch-aa | 28 | ||||
-rw-r--r-- | audio/sox/files/patch-ab | 39 |
4 files changed, 42 insertions, 44 deletions
diff --git a/audio/sox/Makefile b/audio/sox/Makefile index ee4d2022899a..da6e0a9e30e9 100644 --- a/audio/sox/Makefile +++ b/audio/sox/Makefile @@ -1,19 +1,24 @@ # New ports collection makefile for: sox - Sound Exchange -# Version required: 10p11 +# Version required: 12p12 # Date created: 17 Oct 1994 # Whom: torstenb # -# $Id: Makefile,v 1.7 1996/11/15 23:14:24 obrien Exp $ +# $Id: Makefile,v 1.8 1996/11/18 11:21:36 asami Exp $ # -DISTNAME= sox10p11 -PKGNAME= sox-10.11 +DISTNAME= soxgamma +PKGNAME= sox-12.12 CATEGORIES= audio -MASTER_SITES= ftp://nic.switch.ch/software/sources/audio/ -EXTRACT_SUFX= .tar.Z +MASTER_SITES= http://www.spies.com/Sox/Archive/ 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 + .include <bsd.port.mk> diff --git a/audio/sox/distinfo b/audio/sox/distinfo index 382a08eec022..b325642f1740 100644 --- a/audio/sox/distinfo +++ b/audio/sox/distinfo @@ -1 +1 @@ -MD5 (sox10p11.tar.Z) = 2cd81eafbe532644eaf3904d643045d8 +MD5 (soxgamma.tar.gz) = ed5586a59ee9fed5e7cea90e46a6c51b diff --git a/audio/sox/files/patch-aa b/audio/sox/files/patch-aa index cbc245dbca15..090adb375032 100644 --- a/audio/sox/files/patch-aa +++ b/audio/sox/files/patch-aa @@ -1,5 +1,5 @@ -*** sbdsp.c.orig Mon Jul 26 12:58:00 1993 ---- sbdsp.c Mon Oct 31 18:26:56 1994 +*** 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> @@ -18,18 +18,18 @@ #include <sys/sb.h> #endif *************** -*** 77,83 **** - ioctl(fileno(ft->fp), DSP_IOCTL_VOICE, &off); +*** 78,84 **** ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, &ft->info.rate); - #elif defined(LINUXSOUND) + #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); ---- 77,87 ---- - ioctl(fileno(ft->fp), DSP_IOCTL_VOICE, &off); +--- 78,88 ---- ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, &ft->info.rate); - #elif defined(LINUXSOUND) + #else + #if defined(LINUXSOUND) ! #if SOUND_VERSION >= 200 ! ioctl(fileno(ft->fp), SOUND_PCM_WRITE_RATE, &ft->info.rate); ! #else @@ -39,17 +39,17 @@ ioctl(fileno(ft->fp), DSP_IOCTL_VOICE, 0); ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, ft->info.rate); *************** -*** 143,149 **** - ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, &ft->info.rate); - #elif defined(LINUXSOUND) +*** 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); ---- 147,157 ---- - ioctl(fileno(ft->fp), DSP_IOCTL_SPEED, &ft->info.rate); - #elif defined(LINUXSOUND) +--- 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); diff --git a/audio/sox/files/patch-ab b/audio/sox/files/patch-ab index 0135eb323bc7..e00a39ff6724 100644 --- a/audio/sox/files/patch-ab +++ b/audio/sox/files/patch-ab @@ -1,23 +1,16 @@ -*** Makefile.unx.orig Mon Jul 26 12:58:00 1993 ---- Makefile.unx Mon Oct 31 19:19:42 1994 -*************** -*** 122,128 **** ---- 122,139 ---- - # AR = ar r - # RANLIB = ranlib - -+ -+ # FreeBSD 1.x / 2.x -+ CFLAGS = -O -DLINUXSOUND -D_HAVE_PARAM_H -+ CC = cc -+ AR = ar r -+ RANLIB = ranlib -+ - all: sox -+ -+ install: -+ cp sox ${PREFIX}/bin/sox -+ cp sox.man ${PREFIX}/man/man1/sox.1 - - sox: sox.o $(SOUNDLIB) - $(CC) $(CFLAGS) -o sox sox.o $(SOUNDLIB) -lm +--- 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 = -O -DLINUXSOUND -D_HAVE_PARAM_H ++CC = cc ++AR = ar r ++RANLIB = ranlib ++ + all: sox + + sox: sox.o $(SOUNDLIB) |