summaryrefslogtreecommitdiff
path: root/audio/libac3/patches
diff options
context:
space:
mode:
authorrh <rh>2000-10-15 17:49:47 +0000
committerrh <rh>2000-10-15 17:49:47 +0000
commitf0a09d4af7f563a3210c9bd4a491f688406369e2 (patch)
tree097b4e6911f2cd1650445d6ccf638b9c9cac6230 /audio/libac3/patches
parentf5fe22f6f64c94ed342e5c1c57540f336f5a4e0a (diff)
downloadpkgsrc-f0a09d4af7f563a3210c9bd4a491f688406369e2.tar.gz
Initial import of libac3-0.6.1, an ac3 audio (as used on DVDs) decoding
library.
Diffstat (limited to 'audio/libac3/patches')
-rw-r--r--audio/libac3/patches/patch-aa33
-rw-r--r--audio/libac3/patches/patch-ab12
2 files changed, 45 insertions, 0 deletions
diff --git a/audio/libac3/patches/patch-aa b/audio/libac3/patches/patch-aa
new file mode 100644
index 00000000000..59a27b68739
--- /dev/null
+++ b/audio/libac3/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/10/15 17:49:47 rh Exp $
+
+--- configure.orig Wed Mar 29 19:51:49 2000
++++ configure Tue May 9 09:32:16 2000
+@@ -1255,27 +1255,7 @@
+ case "$host" in
+ *-linux*) rm -f output.c; ln -s output_linux.c output.c;;
+-*-openbsd*|*-freebsd*) rm -f output.c; ln -s output_linux.c output.c;;
++*-openbsd*|*-freebsd*|*-netbsd*) rm -f output.c; ln -s output_linux.c output.c;;
+ *-irix*) rm -f output.c; ln -s output_irix.c output.c;;
+ *-solaris*) rm -f output.c; ln -s output_solaris.c output.c;;
+-*) echo "$host is not currently supported by ac3dec"; exit 1;;
+-esac
+-
+-case "$host" in
+-i?86-*) cat >> confdefs.h <<\EOF
+-#define __i386__ 1
+-EOF
+-;;
+-alpha*-*) cat >> confdefs.h <<\EOF
+-#define __alpha__ 1
+-EOF
+-;;
+-sparc-*) cat >> confdefs.h <<\EOF
+-#define __sparc__ 1
+-EOF
+-;;
+-ppc-*) cat >> confdefs.h <<\EOF
+-#define __ppc__ 1
+-EOF
+-;;
+ *) echo "$host is not currently supported by ac3dec"; exit 1;;
+ esac
diff --git a/audio/libac3/patches/patch-ab b/audio/libac3/patches/patch-ab
new file mode 100644
index 00000000000..f9ca7f01218
--- /dev/null
+++ b/audio/libac3/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/10/15 17:49:47 rh Exp $
+
+--- libac3/bitstream.c.orig Mon Sep 25 23:05:02 2000
++++ libac3/bitstream.c
+@@ -23,6 +23,7 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+
+ #include "ac3.h"
+ #include "ac3_internal.h"