aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-05-11 10:42:33 +0800
committerlioux <lioux@FreeBSD.org>2003-05-11 10:42:33 +0800
commit4aaad0e22e579e90d9b2e1505f14b7f7c3c08398 (patch)
tree3abd5c9547a7a3136eddbd7bbf069c399aa84516 /multimedia
parent24d4799d06f4f719864da1e483b84308aa726512 (diff)
downloadfreebsd-ports-gnome-4aaad0e22e579e90d9b2e1505f14b7f7c3c08398.tar.gz
freebsd-ports-gnome-4aaad0e22e579e90d9b2e1505f14b7f7c3c08398.tar.zst
freebsd-ports-gnome-4aaad0e22e579e90d9b2e1505f14b7f7c3c08398.zip
Fix build on alpha ARCH
Submitted by: marcus
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gstreamer-plugins/files/patch-ffmpeg::simple_idct_alpha.c18
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-ffmpeg::simple_idct_alpha.c18
2 files changed, 22 insertions, 14 deletions
diff --git a/multimedia/gstreamer-plugins/files/patch-ffmpeg::simple_idct_alpha.c b/multimedia/gstreamer-plugins/files/patch-ffmpeg::simple_idct_alpha.c
index a8d8e148331f..8149c39817cb 100644
--- a/multimedia/gstreamer-plugins/files/patch-ffmpeg::simple_idct_alpha.c
+++ b/multimedia/gstreamer-plugins/files/patch-ffmpeg::simple_idct_alpha.c
@@ -1,13 +1,17 @@
---- gst-libs/ext/ffmpeg/ffmpeg/libavcodec/alpha/simple_idct_alpha.c.orig Tue Mar 18 02:16:44 2003
-+++ gst-libs/ext/ffmpeg/ffmpeg/libavcodec/alpha/simple_idct_alpha.c Wed Mar 19 01:10:35 2003
-@@ -27,6 +27,10 @@
+--- gst-libs/ext/ffmpeg/ffmpeg/libavcodec/alpha/simple_idct_alpha.c.orig Fri Apr 25 22:06:13 2003
++++ gst-libs/ext/ffmpeg/ffmpeg/libavcodec/alpha/simple_idct_alpha.c Fri Apr 25 23:19:39 2003
+@@ -24,8 +24,14 @@
+ * and Falk Hueffner <falk@debian.org>
+ */
+
++#include <sys/param.h>
++
#include "asm.h"
#include "../dsputil.h"
-
++
+#if defined(__FreeBSD__) && __FreeBSD_version < 500000
-+typedef long int int_fast32_t;
++typedef __int32_t int_fast32_t;
+#endif
-+
+
extern void (*put_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels,
int line_size);
- extern void (*add_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels,
diff --git a/multimedia/gstreamer-plugins80/files/patch-ffmpeg::simple_idct_alpha.c b/multimedia/gstreamer-plugins80/files/patch-ffmpeg::simple_idct_alpha.c
index a8d8e148331f..8149c39817cb 100644
--- a/multimedia/gstreamer-plugins80/files/patch-ffmpeg::simple_idct_alpha.c
+++ b/multimedia/gstreamer-plugins80/files/patch-ffmpeg::simple_idct_alpha.c
@@ -1,13 +1,17 @@
---- gst-libs/ext/ffmpeg/ffmpeg/libavcodec/alpha/simple_idct_alpha.c.orig Tue Mar 18 02:16:44 2003
-+++ gst-libs/ext/ffmpeg/ffmpeg/libavcodec/alpha/simple_idct_alpha.c Wed Mar 19 01:10:35 2003
-@@ -27,6 +27,10 @@
+--- gst-libs/ext/ffmpeg/ffmpeg/libavcodec/alpha/simple_idct_alpha.c.orig Fri Apr 25 22:06:13 2003
++++ gst-libs/ext/ffmpeg/ffmpeg/libavcodec/alpha/simple_idct_alpha.c Fri Apr 25 23:19:39 2003
+@@ -24,8 +24,14 @@
+ * and Falk Hueffner <falk@debian.org>
+ */
+
++#include <sys/param.h>
++
#include "asm.h"
#include "../dsputil.h"
-
++
+#if defined(__FreeBSD__) && __FreeBSD_version < 500000
-+typedef long int int_fast32_t;
++typedef __int32_t int_fast32_t;
+#endif
-+
+
extern void (*put_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels,
int line_size);
- extern void (*add_pixels_clamped_axp_p)(const DCTELEM *block, uint8_t *pixels,