aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2005-10-02 02:20:02 +0800
committernobutaka <nobutaka@FreeBSD.org>2005-10-02 02:20:02 +0800
commit1f0ec16924ba74416e1d1f67a62ff83c6207cccf (patch)
treedaffb5101609e937499e8f7506a4416359507bda /multimedia
parent75e8d3bcc8a8ee9117b0af129b205136cc3b6132 (diff)
downloadfreebsd-ports-gnome-1f0ec16924ba74416e1d1f67a62ff83c6207cccf.tar.gz
freebsd-ports-gnome-1f0ec16924ba74416e1d1f67a62ff83c6207cccf.tar.zst
freebsd-ports-gnome-1f0ec16924ba74416e1d1f67a62ff83c6207cccf.zip
Backout the removal of patch-src:video_out:video_out_xv.c and
patch-src:xine-engine:xine_internal.h to fix build error on 4-stable. PR: ports/86527 Submitted by: Tod McQuillin <devin@spamcop.net>
Diffstat (limited to 'multimedia')
-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