aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-05-15 00:20:58 +0800
committerlioux <lioux@FreeBSD.org>2003-05-15 00:20:58 +0800
commita4e0d6fd272979a27a54b5344ce8f92bd0741068 (patch)
treefa295d9986d5484e7b3642efdf2ed81cd02b1a3f /multimedia
parentf173edc97c108187161a7c16ffa5f1cd3af08052 (diff)
downloadfreebsd-ports-gnome-a4e0d6fd272979a27a54b5344ce8f92bd0741068.tar.gz
freebsd-ports-gnome-a4e0d6fd272979a27a54b5344ce8f92bd0741068.tar.zst
freebsd-ports-gnome-a4e0d6fd272979a27a54b5344ce8f92bd0741068.zip
Fix build on alpha ARCH
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libmpeg2/files/patch-libmpeg2::idct_alpha.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/libmpeg2/files/patch-libmpeg2::idct_alpha.c b/multimedia/libmpeg2/files/patch-libmpeg2::idct_alpha.c
new file mode 100644
index 000000000000..6f0821702ec3
--- /dev/null
+++ b/multimedia/libmpeg2/files/patch-libmpeg2::idct_alpha.c
@@ -0,0 +1,17 @@
+--- libmpeg2/idct_alpha.c.orig Wed May 14 13:19:19 2003
++++ libmpeg2/idct_alpha.c Wed May 14 13:19:32 2003
+@@ -24,6 +24,14 @@
+
+ #include "config.h"
+
++#if (defined(__unix__) || defined(unix)) && !defined(USG)
++#include <sys/param.h>
++#endif
++
++#if defined(__FreeBSD__) && __FreeBSD_version < 500000
++typedef __int32_t int_fast32_t;
++#endif
++
+ #ifdef ARCH_ALPHA
+
+ #include <stdlib.h>