From 3814ef10e8bbe2324015323d840d81715572d464 Mon Sep 17 00:00:00 2001 From: angelos Date: Sun, 17 May 1998 01:05:56 +0000 Subject: [PATCH] sox 12.12 --- audio/sox/Makefile | 24 ++++++++++++++++++++++++ audio/sox/files/md5 | 1 + audio/sox/patches/patch-aa | 28 ++++++++++++++++++++++++++++ audio/sox/patches/patch-ab | 32 ++++++++++++++++++++++++++++++++ audio/sox/patches/patch-ac | 11 +++++++++++ audio/sox/pkg/COMMENT | 1 + audio/sox/pkg/DESCR | 15 +++++++++++++++ audio/sox/pkg/PLIST | 2 ++ 8 files changed, 114 insertions(+) create mode 100644 audio/sox/Makefile create mode 100644 audio/sox/files/md5 create mode 100644 audio/sox/patches/patch-aa create mode 100644 audio/sox/patches/patch-ab create mode 100644 audio/sox/patches/patch-ac create mode 100644 audio/sox/pkg/COMMENT create mode 100644 audio/sox/pkg/DESCR create mode 100644 audio/sox/pkg/PLIST diff --git a/audio/sox/Makefile b/audio/sox/Makefile new file mode 100644 index 00000000000..97624ce019d --- /dev/null +++ b/audio/sox/Makefile @@ -0,0 +1,24 @@ +# OpenBSD makefile for: sox - Sound Exchange +# Version required: 12p12 +# Date created: May 3 1998 +# Whom: Angelos D. Keromytis +# +# $OpenBSD: Makefile,v 1.1.1.1 1998/05/17 01:05:56 angelos Exp $ +# + +DISTNAME= soxgamma +PKGNAME= sox-12.12 +CATEGORIES= audio +MASTER_SITES= http://www.spies.com/Sox/Archive/ + +MAINTAINER= angelos@openbsd.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 diff --git a/audio/sox/files/md5 b/audio/sox/files/md5 new file mode 100644 index 00000000000..b325642f174 --- /dev/null +++ b/audio/sox/files/md5 @@ -0,0 +1 @@ +MD5 (soxgamma.tar.gz) = ed5586a59ee9fed5e7cea90e46a6c51b diff --git a/audio/sox/patches/patch-aa b/audio/sox/patches/patch-aa new file mode 100644 index 00000000000..6456d9f3b7b --- /dev/null +++ b/audio/sox/patches/patch-aa @@ -0,0 +1,28 @@ +*** sbdsp.c.orig Wed Aug 17 17:11:01 1994 +--- sbdsp.c Sat May 16 21:03:19 1998 +*************** +*** 17,27 **** + */ + + #include + #ifdef SBLAST + #include + #else + #ifdef LINUXSOUND +! #include + #else + #include + #endif +--- 17,28 ---- + */ + + #include ++ #include + #ifdef SBLAST + #include + #else + #ifdef LINUXSOUND +! #include + #else + #include + #endif diff --git a/audio/sox/patches/patch-ab b/audio/sox/patches/patch-ab new file mode 100644 index 00000000000..6260829d121 --- /dev/null +++ b/audio/sox/patches/patch-ab @@ -0,0 +1,32 @@ +*** Makefile.unx.orig Fri Oct 7 20:14:48 1994 +--- Makefile.unx Sat May 16 21:02:55 1998 +*************** +*** 153,162 **** + # RM = del /q + + + all: sox + + sox: sox.o $(SOUNDLIB) +! $(CC) $(CFLAGS) -o sox sox.o $(SOUNDLIB) -lm + + $(SOUNDLIB): $(LIBOBJS) + $(RM) $(SOUNDLIB) +--- 153,169 ---- + # 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) +! $(CC) $(CFLAGS) -o sox sox.o $(SOUNDLIB) -lm -lossaudio + + $(SOUNDLIB): $(LIBOBJS) + $(RM) $(SOUNDLIB) diff --git a/audio/sox/patches/patch-ac b/audio/sox/patches/patch-ac new file mode 100644 index 00000000000..3cbfe90b75f --- /dev/null +++ b/audio/sox/patches/patch-ac @@ -0,0 +1,11 @@ +--- 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); + diff --git a/audio/sox/pkg/COMMENT b/audio/sox/pkg/COMMENT new file mode 100644 index 00000000000..85288a2b2fd --- /dev/null +++ b/audio/sox/pkg/COMMENT @@ -0,0 +1 @@ +SOund eXchange - universal sound sample translator. diff --git a/audio/sox/pkg/DESCR b/audio/sox/pkg/DESCR new file mode 100644 index 00000000000..01c81932b85 --- /dev/null +++ b/audio/sox/pkg/DESCR @@ -0,0 +1,15 @@ +sox translates sound samples between different file formats, +and performs various sound effects. + +This release understands "raw" files in various binary formats, +raw textual data, +Sound Blaster .VOC files, IRCAM SoundFile files, SUN Sparcstation +.au files, mutant DEC .au files, Apple/SGI AIFF files, +CD-R (music CD format), Macintosh HCOM files, Sounder files, +NeXT .snd files, SUN ADPCM (compressed) .au files, +and Soundtool (DOS) files. + +The sound effects include changing the sample rate, adding echo +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. diff --git a/audio/sox/pkg/PLIST b/audio/sox/pkg/PLIST new file mode 100644 index 00000000000..c4db356963c --- /dev/null +++ b/audio/sox/pkg/PLIST @@ -0,0 +1,2 @@ +bin/sox +man/man1/sox.1