summaryrefslogtreecommitdiff
path: root/multimedia/libxine/files/patch-src:xine-engine:xine_internal.h
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2006-11-29 20:38:21 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2006-11-29 20:38:21 +0000
commitc5b30f3654b40fe7b34099e459013124bd8f1893 (patch)
treeaf97a21656b82b9632c362e8dce85951a74454d7 /multimedia/libxine/files/patch-src:xine-engine:xine_internal.h
parent- Update to 1.10 (diff)
make buildable on FreeBSD 4
PR: ports/103769 Approved by: maintainer timeout (62 days)
Notes
Notes: svn path=/head/; revision=178277
Diffstat (limited to 'multimedia/libxine/files/patch-src:xine-engine:xine_internal.h')
-rw-r--r--multimedia/libxine/files/patch-src:xine-engine:xine_internal.h65
1 files changed, 56 insertions, 9 deletions
diff --git a/multimedia/libxine/files/patch-src:xine-engine:xine_internal.h b/multimedia/libxine/files/patch-src:xine-engine:xine_internal.h
index 88f8ce9033a7..c53bb6712627 100644
--- a/multimedia/libxine/files/patch-src:xine-engine:xine_internal.h
+++ b/multimedia/libxine/files/patch-src:xine-engine:xine_internal.h
@@ -1,7 +1,7 @@
---- 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>
+--- src/xine-engine/xine_internal.h.orig Sat Apr 22 00:46:33 2006
++++ src/xine-engine/xine_internal.h Thu Sep 28 16:13:27 2006
+@@ -72,6 +72,124 @@
+ # include <xine/alphablend.h>
#endif
+#ifndef INT8_MIN
@@ -28,11 +28,41 @@
+#define INT32_MIN (-0x7fffffff-1)
+#endif
+
++#ifndef PRIdMAX
++#define PRIdMAX "lld"
++#endif
++
++#ifndef SCNdMAX
++#define SCNdMAX "lld"
++#endif
++
+#ifndef PRIiMAX
-+#define PRIiMAX "lld"
++#define PRIiMAX "lld"
+typedef long long intmax_t;
+#endif
+
++
++#ifndef PRId32
++#define PRId32 "d"
++#endif
++
++#ifndef SCNd32
++#define SCNd32 "d"
++#endif
++
++#ifndef PRIdFAST16
++#define PRIdFAST16 "d"
++#endif
++
++#ifndef PRIdFAST32
++#define PRIdFAST32 "d"
++#endif
++
++#ifndef SCNu32
++#define SCNu32 "u"
++#endif
++
++
+#ifndef PRId64
+#if defined(__alpha__) || defined(__amd64__) || defined(__ia64__) || defined(__sparc64__)
+#define PRId64 "ld"
@@ -41,14 +71,31 @@
+#endif
+#endif
+
-+#ifndef PRIdMAX
-+#define PRIdMAX "lld"
++#ifndef SCNd64
++#define SCNd64 PRId64
++#endif
++
++#ifndef PRIu64
++#if defined(__alpha__) || defined(__amd64__) || defined(__ia64__) || defined(__sparc64__)
++#define PRIu64 "lu"
++#else if defined(__i386__) || defined(__powerpc__)
++#define PRIu64 "llu"
++#endif
+#endif
+
-+#ifndef SCNdMAX
-+#define SCNdMAX "lld"
++#ifndef SCNu64
++#define SCNu64 PRIu64
+#endif
+
++#ifndef PRIX64
++#if defined(__alpha__) || defined(__amd64__) || defined(__ia64__) || defined(__sparc64__)
++#define PRIX64 "lX"
++#else if defined(__i386__) || defined(__powerpc__)
++#define PRIX64 "llX"
++#endif
++#endif
++
++
+#ifndef PRIx32
+#define PRIx32 "x"
+#endif