aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libxine
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2005-10-01 18:20:02 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2005-10-01 18:20:02 +0000
commited140258dc1980807a6c739ad9b76f696888a86e (patch)
treea3737483b9ae4187d8b87feee60c383277013f16 /multimedia/libxine
parent685963973286a34e6cdf492c5a62d53969bdeef0 (diff)
downloadports-ed140258dc1980807a6c739ad9b76f696888a86e.tar.gz
ports-ed140258dc1980807a6c739ad9b76f696888a86e.zip
Notes
Diffstat (limited to 'multimedia/libxine')
-rw-r--r--multimedia/libxine/files/patch-src:video_out:video_out_xv.c15
-rw-r--r--multimedia/libxine/files/patch-src:xine-engine:xine_internal.h80
2 files changed, 95 insertions, 0 deletions
diff --git a/multimedia/libxine/files/patch-src:video_out:video_out_xv.c b/multimedia/libxine/files/patch-src:video_out:video_out_xv.c
new file mode 100644
index 000000000000..3740304d22ef
--- /dev/null
+++ b/multimedia/libxine/files/patch-src:video_out:video_out_xv.c
@@ -0,0 +1,15 @@
+--- src/video_out/video_out_xv.c.orig Wed Apr 28 01:56:34 2004
++++ src/video_out/video_out_xv.c Sun May 9 21:51:48 2004
+@@ -47,7 +47,11 @@
+ #if defined (__SVR4) && defined (__sun)
+ # include <sys/int_types.h>
+ #else
+-# include <stdint.h>
++# if defined(HAVE_STDINT_H)
++# include <stdint.h>
++# else
++# include <inttypes.h>
++# endif
+ #endif
+
+ #include <sys/types.h>
diff --git a/multimedia/libxine/files/patch-src:xine-engine:xine_internal.h b/multimedia/libxine/files/patch-src:xine-engine:xine_internal.h
new file mode 100644
index 000000000000..88f8ce9033a7
--- /dev/null
+++ b/multimedia/libxine/files/patch-src:xine-engine:xine_internal.h
@@ -0,0 +1,80 @@
+--- src/xine-engine/xine_internal.h.orig Tue Apr 26 17:09:12 2005
++++ src/xine-engine/xine_internal.h Sat Apr 30 14:16:33 2005
+@@ -70,6 +70,77 @@
+ # include <xine/info_helper.h>
+ #endif
+
++#ifndef INT8_MIN
++#define INT8_MIN (-0x7f-1)
++#endif
++
++#ifndef INT8_MAX
++#define INT8_MAX 0x7f
++#endif
++
++#ifndef INT16_MAX
++#define INT16_MAX 0x7fff
++#endif
++
++#ifndef INT16_MIN
++#define INT16_MIN (-0x7fff-1)
++#endif
++
++#ifndef INT32_MAX
++#define INT32_MAX 0x7fffffff
++#endif
++
++#ifndef INT32_MIN
++#define INT32_MIN (-0x7fffffff-1)
++#endif
++
++#ifndef PRIiMAX
++#define PRIiMAX "lld"
++typedef long long intmax_t;
++#endif
++
++#ifndef PRId64
++#if defined(__alpha__) || defined(__amd64__) || defined(__ia64__) || defined(__sparc64__)
++#define PRId64 "ld"
++#else if defined(__i386__) || defined(__powerpc__)
++#define PRId64 "lld"
++#endif
++#endif
++
++#ifndef PRIdMAX
++#define PRIdMAX "lld"
++#endif
++
++#ifndef SCNdMAX
++#define SCNdMAX "lld"
++#endif
++
++#ifndef PRIx32
++#define PRIx32 "x"
++#endif
++
++#ifndef PRIx16
++#define PRIx16 "x"
++#endif
++
++#ifndef PRIx8
++#define PRIx8 "x"
++#endif
++
++#ifndef PRIXMAX
++#define PRIXMAX "llX"
++#endif
++
++#ifndef PRIxMAX
++#define PRIxMAX "llx"
++#endif
++
++#ifndef UINT64_C
++#define UINT64_C(c) (c ## ULL)
++#endif
++
++
++
+
+ #define XINE_MAX_EVENT_LISTENERS 50
+ #define XINE_MAX_EVENT_TYPES 100