summaryrefslogtreecommitdiff
path: root/graphics/mpeg_play/patches
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-10-07 02:13:10 +0000
committertv <tv@pkgsrc.org>1998-10-07 02:13:10 +0000
commit1c472621fdbc9a1a63d4004b8378589e6ec8cd28 (patch)
tree808bff0c69d9f450feab9905b372b5c5f9a04c62 /graphics/mpeg_play/patches
parent2ad709d6dbb02c877124756567993b51b1fbc1ec (diff)
downloadpkgsrc-1c472621fdbc9a1a63d4004b8378589e6ec8cd28.tar.gz
Update mpeg_play for NetBSD and enable.
Diffstat (limited to 'graphics/mpeg_play/patches')
-rw-r--r--graphics/mpeg_play/patches/patch-aa6
-rw-r--r--graphics/mpeg_play/patches/patch-ab20
2 files changed, 24 insertions, 2 deletions
diff --git a/graphics/mpeg_play/patches/patch-aa b/graphics/mpeg_play/patches/patch-aa
index 46a447230e0..97b7b6c916b 100644
--- a/graphics/mpeg_play/patches/patch-aa
+++ b/graphics/mpeg_play/patches/patch-aa
@@ -1,5 +1,7 @@
---- ./Imakefile.org Tue Feb 6 23:37:51 1996
-+++ ./Imakefile Wed Feb 7 00:05:59 1996
+$NetBSD: patch-aa,v 1.2 1998/10/07 02:13:10 tv Exp $
+
+--- ./Imakefile.proto.orig Tue Feb 6 23:37:51 1996
++++ ./Imakefile.proto Wed Feb 7 00:05:59 1996
@@ -1,5 +1,5 @@
/* See Makefile.proto for flags to define */
- DESTDIR = /usr/pkg/video
diff --git a/graphics/mpeg_play/patches/patch-ab b/graphics/mpeg_play/patches/patch-ab
new file mode 100644
index 00000000000..5cbc6f6420b
--- /dev/null
+++ b/graphics/mpeg_play/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1 1998/10/07 02:13:10 tv Exp $
+
+--- video.h.orig Tue Oct 6 22:06:33 1998
++++ video.h Tue Oct 6 22:06:40 1998
+@@ -388,6 +388,15 @@
+ extern unsigned int cacheMiss[8][8];
+ #endif
+
++#ifdef __NetBSD__
++#include <machine/endian.h>
++#if BYTE_ORDER == LITTLE_ENDIAN
++#define LITTLE_ENDIAN_ARCHITECTURE 1
++#else
++#define BIG_ENDIAN_ARCHITECTURE 1
++#endif
++#endif
++
+ #if !defined(__MIPSEL__) && (defined(MIPSEL) || defined(__MIPSEL) || defined(__MIPSEL__) || defined(__mipsel) || defined(__mipsel__))
+ #define __MIPSEL__ 1
+ #endif