aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpeg_play
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-01-31 02:28:08 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-01-31 02:28:08 +0000
commit44eaeffeee5b768b46f9e5db93c3c6aeaa4a389f (patch)
tree106fc963d039c222d2e57438c1ab61bbaeeaf2f1 /multimedia/mpeg_play
parent9c2035c0d155e8d9d8480840daa043ebef9fd96b (diff)
Fix build on AMD64
Notes
Notes: svn path=/head/; revision=99573
Diffstat (limited to 'multimedia/mpeg_play')
-rw-r--r--multimedia/mpeg_play/files/patch-video.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/mpeg_play/files/patch-video.h b/multimedia/mpeg_play/files/patch-video.h
new file mode 100644
index 000000000000..ecdd9861bc4b
--- /dev/null
+++ b/multimedia/mpeg_play/files/patch-video.h
@@ -0,0 +1,20 @@
+--- video.h.orig Wed Oct 25 22:59:38 1995
++++ video.h Sat Jan 31 03:25:41 2004
+@@ -431,7 +431,7 @@
+ #define __SCO__ 1
+ #endif
+
+-#if defined(__i386__) || defined(__VAX__) || defined(__MIPSEL__) || defined(__alpha__) || defined(__SCO__)
++#if defined(__i386__) || defined(__VAX__) || defined(__MIPSEL__) || defined(__alpha__) || defined(__SCO__) || defined(__amd64__)
+ #undef BIG_ENDIAN_ARCHITECTURE
+ #define LITTLE_ENDIAN_ARCHITECTURE 1
+ #endif
+@@ -445,7 +445,7 @@
+ Error: Unknown endianism of architecture
+ #endif
+
+-#ifdef __alpha__
++#if defined(__alpha__) || defined(__amd64__)
+ #define SIXTYFOUR_BIT
+ #endif
+ #endif /* video.h already included */