Make compile on sparc64.
XXX Does this even work on big endian?
This commit is contained in:
parent
3a4a33485a
commit
f01c2c8f23
@ -1,11 +1,15 @@
|
|||||||
$OpenBSD: patch-configure,v 1.1 2001/04/22 22:57:27 avsm Exp $
|
$OpenBSD: patch-configure,v 1.2 2002/04/09 19:50:14 naddy Exp $
|
||||||
--- configure.orig Wed Mar 29 17:51:49 2000
|
--- configure.orig Thu Mar 30 02:51:49 2000
|
||||||
+++ configure Sun Apr 22 23:49:49 2001
|
+++ configure Tue Apr 9 21:35:14 2002
|
||||||
@@ -1273,7 +1273,7 @@ sparc-*) cat >> confdefs.h <<\EOF
|
@@ -1273,7 +1273,11 @@ sparc-*) cat >> confdefs.h <<\EOF
|
||||||
#define __sparc__ 1
|
#define __sparc__ 1
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
-ppc-*) cat >> confdefs.h <<\EOF
|
-ppc-*) cat >> confdefs.h <<\EOF
|
||||||
|
+sparc64-*) cat >> confdefs.h <<\EOF
|
||||||
|
+#define __sparc64__ 1
|
||||||
|
+EOF
|
||||||
|
+;;
|
||||||
+ppc-*|powerpc-*) cat >> confdefs.h <<\EOF
|
+ppc-*|powerpc-*) cat >> confdefs.h <<\EOF
|
||||||
#define __ppc__ 1
|
#define __ppc__ 1
|
||||||
EOF
|
EOF
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
$OpenBSD: patch-configure_in,v 1.1 2001/04/22 22:57:27 avsm Exp $
|
$OpenBSD: patch-configure_in,v 1.2 2002/04/09 19:50:14 naddy Exp $
|
||||||
--- configure.in.orig Wed Mar 29 17:51:24 2000
|
--- configure.in.orig Thu Mar 30 02:51:24 2000
|
||||||
+++ configure.in Sun Apr 22 23:49:45 2001
|
+++ configure.in Tue Apr 9 21:34:48 2002
|
||||||
@@ -29,7 +29,7 @@ case "$host" in
|
@@ -29,7 +29,8 @@ case "$host" in
|
||||||
i?86-*) AC_DEFINE(__i386__);;
|
i?86-*) AC_DEFINE(__i386__);;
|
||||||
alpha*-*) AC_DEFINE(__alpha__);;
|
alpha*-*) AC_DEFINE(__alpha__);;
|
||||||
sparc-*) AC_DEFINE(__sparc__);;
|
sparc-*) AC_DEFINE(__sparc__);;
|
||||||
-ppc-*) AC_DEFINE(__ppc__);;
|
-ppc-*) AC_DEFINE(__ppc__);;
|
||||||
|
+sparc64-*) AC_DEFINE(__sparc64__);;
|
||||||
+ppc-*|powerpc-*) AC_DEFINE(__ppc__);;
|
+ppc-*|powerpc-*) AC_DEFINE(__ppc__);;
|
||||||
*) echo "$host is not currently supported by ac3dec"; exit 1;;
|
*) echo "$host is not currently supported by ac3dec"; exit 1;;
|
||||||
esac
|
esac
|
||||||
|
11
audio/ac3dec/patches/patch-libac3_bitstream_c
Normal file
11
audio/ac3dec/patches/patch-libac3_bitstream_c
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
$OpenBSD: patch-libac3_bitstream_c,v 1.1 2002/04/09 19:50:14 naddy Exp $
|
||||||
|
--- libac3/bitstream.c.orig Tue Apr 9 21:37:14 2002
|
||||||
|
+++ libac3/bitstream.c Tue Apr 9 21:37:32 2002
|
||||||
|
@@ -23,6 +23,7 @@
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
+#include <string.h>
|
||||||
|
|
||||||
|
#include "ac3.h"
|
||||||
|
#include "ac3_internal.h"
|
Loading…
Reference in New Issue
Block a user