summaryrefslogtreecommitdiffstats
path: root/multimedia/mpeg_play
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-01-31 02:28:08 +0000
committerarved <arved@FreeBSD.org>2004-01-31 02:28:08 +0000
commit90a85508941a604fec8ec5cdf4a12e9680cb596b (patch)
tree2c678e0508eb3fa18f2c4f86bc0f14ce9543ddfd /multimedia/mpeg_play
parent26f269dfae6296502f74a56d5f24c54558dd247a (diff)
downloadFreeBSD-ports-90a85508941a604fec8ec5cdf4a12e9680cb596b.zip
FreeBSD-ports-90a85508941a604fec8ec5cdf4a12e9680cb596b.tar.gz
Fix build on AMD64
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 0000000..ecdd986
--- /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 */
OpenPOWER on IntegriCloud