diff options
author | zuntum <zuntum> | 2001-04-16 22:23:34 +0000 |
---|---|---|
committer | zuntum <zuntum> | 2001-04-16 22:23:34 +0000 |
commit | a00e3d46a509fb42f73d3bba7aa0b040d7b0b47d (patch) | |
tree | 8d45667ea9082646dcdb3545b6a73172e687a1c3 /audio/shorten/patches | |
parent | 8b92146762fe94f7e90de87ea349d49af35611c1 (diff) | |
download | pkgsrc-a00e3d46a509fb42f73d3bba7aa0b040d7b0b47d.tar.gz |
Initial import of shorten-3.1
Shorten is a lossless compressing tool specialized for Audio files where
it usually performs better than gzip/bzip2.
Package submitted by Ben Collver <collver@linuxfreemail.com>
in pkg/12586
Diffstat (limited to 'audio/shorten/patches')
-rw-r--r-- | audio/shorten/patches/patch-aa | 29 | ||||
-rw-r--r-- | audio/shorten/patches/patch-ab | 22 | ||||
-rw-r--r-- | audio/shorten/patches/patch-ac | 13 |
3 files changed, 64 insertions, 0 deletions
diff --git a/audio/shorten/patches/patch-aa b/audio/shorten/patches/patch-aa new file mode 100644 index 00000000000..d2d3aa186ba --- /dev/null +++ b/audio/shorten/patches/patch-aa @@ -0,0 +1,29 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/04/16 22:23:34 zuntum Exp $ + +--- Makefile.orig Tue Oct 10 19:45:29 2000 ++++ Makefile +@@ -2,10 +2,8 @@ + BOBJS = mkbshift.o + COBJS = exit.o array.o Sulawalaw.o + SOBJS = main.o shorten.o fixio.o vario.o poly.o lpc.o hsgetopt.o dupfinfo.o riffwave.o license.o +-CC = cc +-CFLAGS= -O + +-DESTDIR = /usr/local ++DESTDIR = ${PREFIX} + prefix = $(DESTDIR) + exec_prefix = $(prefix)/bin + man_prefix = $(prefix)/man/man$(manext) +@@ -17,9 +15,9 @@ + all: shorten shorten.man + + install: shorten +- mkdir -p $(exec_prefix) $(man_prefix) +- cp shorten $(exec_prefix) +- cp shorten.1 $(man_prefix) ++ ${MKDIR} $(exec_prefix) $(man_prefix) ++ ${BSD_INSTALL_PROGRAM} shorten $(exec_prefix) ++ ${BSD_INSTALL_MAN} shorten.1 $(man_prefix) + + install-debian: shorten + install -s shorten $(DESTDIR)/usr/bin diff --git a/audio/shorten/patches/patch-ab b/audio/shorten/patches/patch-ab new file mode 100644 index 00000000000..840e5a752e1 --- /dev/null +++ b/audio/shorten/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/04/16 22:23:34 zuntum Exp $ + +--- shorten.h.orig Tue Oct 10 10:34:50 2000 ++++ shorten.h Sun Apr 8 21:56:42 2001 +@@ -105,7 +105,7 @@ + #define MAX(a,b) (((a)>(b))?(a):(b)) + #endif + +-#if defined(unix) && !defined(linux) ++#if defined(eunuchs) && !defined(linux) + #define labs abs + #endif + +@@ -143,7 +143,7 @@ + #undef ulong + #define ulong unsigned long + +-#if defined(__STDC__) || defined(__GNUC__) || defined(sgi) || !defined(unix) ++#if defined(__STDC__) || defined(__GNUC__) || defined(sgi) || !defined(eunuchs) + typedef signed char schar; + #define PROTO(ARGS) ARGS + #else diff --git a/audio/shorten/patches/patch-ac b/audio/shorten/patches/patch-ac new file mode 100644 index 00000000000..7811494d7b7 --- /dev/null +++ b/audio/shorten/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/04/16 22:23:34 zuntum Exp $ + +--- dupfinfo.c.orig Sun Apr 8 21:58:00 2001 ++++ dupfinfo.c Sun Apr 8 21:58:26 2001 +@@ -35,7 +35,7 @@ + ftime.actime = buf.st_atime; + ftime.modtime = buf.st_mtime; + (void) utime(path1, &ftime); +-#ifdef unix ++#ifdef eunuchs + (void) chown(path1, buf.st_uid, -1); + (void) chown(path1, -1, buf.st_gid); + #endif |