diff options
author | nobutaka <nobutaka@FreeBSD.org> | 2004-12-31 02:59:33 +0800 |
---|---|---|
committer | nobutaka <nobutaka@FreeBSD.org> | 2004-12-31 02:59:33 +0800 |
commit | 7e4a9ded242f4c08dc19a844aaafa0d729ebf93d (patch) | |
tree | 7ee9814ed9ca06bf94d5c4fe4b7b2159166c3bd2 /multimedia/libxine | |
parent | 668065ae40ad136412becc565b60f4887fa162f2 (diff) | |
download | freebsd-ports-graphics-7e4a9ded242f4c08dc19a844aaafa0d729ebf93d.tar.gz freebsd-ports-graphics-7e4a9ded242f4c08dc19a844aaafa0d729ebf93d.tar.zst freebsd-ports-graphics-7e4a9ded242f4c08dc19a844aaafa0d729ebf93d.zip |
Fix compile error on 4.x.
Submitted by: kan
Diffstat (limited to 'multimedia/libxine')
-rw-r--r-- | multimedia/libxine/files/patch-src:xine-engine:xine_internal.h | 45 |
1 files changed, 45 insertions, 0 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 new file mode 100644 index 00000000000..40c70a7dc86 --- /dev/null +++ b/multimedia/libxine/files/patch-src:xine-engine:xine_internal.h @@ -0,0 +1,45 @@ +--- src/xine-engine/xine_internal.h.orig Thu Dec 30 11:02:18 2004 ++++ src/xine-engine/xine_internal.h Thu Dec 30 11:20:56 2004 +@@ -70,6 +70,42 @@ + # include <xine/info_helper.h> + #endif + ++#ifndef INT8_MIN ++#define INT8_MIN (-0x7f-1) ++#endif ++ ++#ifndef INT8_MAX ++#define INT8_MAX 0x7f ++#endif ++ ++#ifndef PRIiMAX ++#define PRIiMAX "lld" ++typedef long long intmax_t; ++#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 UINT64_C ++#define UINT64_C(c) (c ## ULL) ++#endif + + #define XINE_MAX_EVENT_LISTENERS 50 + #define XINE_MAX_EVENT_TYPES 100 |