openbsd-ports/multimedia/xine-lib/patches/patch-src_input_libreal_real_c
jakemsr e8d61b3065 update to xine-lib-1.1.7
- use some CONFIGURE_ENV instead of patching
- rearrange/update CONFIGURE_ARGS
- many patches no longer relevant
- add CD audio support

input, tetsing and prodding from brad@
2007-06-13 10:58:28 +00:00

15 lines
506 B
Plaintext

$OpenBSD: patch-src_input_libreal_real_c,v 1.6 2007/06/13 10:58:29 jakemsr Exp $
--- src/input/libreal/real.c.orig Sun Apr 15 10:42:16 2007
+++ src/input/libreal/real.c Sun May 20 22:40:02 2007
@@ -51,8 +51,9 @@ static const unsigned char xor_table[] = {
#define BE_32C(x,y) do { *(uint32_t *)(x) = be2me_32((y)); } while(0)
#define LE_32C(x,y) do { *(uint32_t *)(x) = le2me_32((y)); } while(0)
+#ifndef MAX
#define MAX(x,y) ((x>y) ? x : y)
-
+#endif
static void hash(char *field, char *param) {