summaryrefslogtreecommitdiff
path: root/package/libantlr3c/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-05-12 12:36:21 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-05-12 12:36:21 +0200
commit8732b26738a41671d8d2223e4d629c20c7e622cc (patch)
tree06c8c984653e39d2039f5fc262cf97ec9140ed65 /package/libantlr3c/patches
parent6964a9c72877e278846d19174819b720b2815ae1 (diff)
add forked-daapd server and all deps
Diffstat (limited to 'package/libantlr3c/patches')
-rw-r--r--package/libantlr3c/patches/patch-antlr3config_h11
-rw-r--r--package/libantlr3c/patches/patch-configure20
2 files changed, 31 insertions, 0 deletions
diff --git a/package/libantlr3c/patches/patch-antlr3config_h b/package/libantlr3c/patches/patch-antlr3config_h
new file mode 100644
index 000000000..bf860a508
--- /dev/null
+++ b/package/libantlr3c/patches/patch-antlr3config_h
@@ -0,0 +1,11 @@
+--- libantlr3c-3.2.orig/antlr3config.h 2009-09-23 22:50:45.000000000 +0200
++++ libantlr3c-3.2/antlr3config.h 2011-05-10 14:06:43.000000000 +0200
+@@ -5,7 +5,7 @@
+ /* #undef ANTLR3_NODEBUGGER */
+
+ /* Define if 64 bit mode required */
+-#define ANTLR3_USE_64BIT 1
++/* #undef ANTLR3_USE_64BIT */
+
+ /* Define to 1 if you have the `accept' function. */
+ #define HAVE_ACCEPT 1
diff --git a/package/libantlr3c/patches/patch-configure b/package/libantlr3c/patches/patch-configure
new file mode 100644
index 000000000..4fd248902
--- /dev/null
+++ b/package/libantlr3c/patches/patch-configure
@@ -0,0 +1,20 @@
+--- libantlr3c-3.2.orig/configure 2009-12-11 23:55:07.000000000 +0100
++++ libantlr3c-3.2/configure 2011-05-10 14:08:20.000000000 +0200
+@@ -19533,7 +19533,7 @@ sparc*-*solaris*)
+ *)
+ CPPCMNTFLAGS=
+ CCFLAGS64=
+- OPTIMFLAGS="-O"
++ OPTIMFLAGS=""
+ if test x"$enable_debuginfo" = xyes; then
+ DEBUGFLAGS='-g'
+ fi
+@@ -19543,7 +19543,7 @@ esac
+ ;;
+ esac
+
+-CFLAGS="$CCFLAGS64 $CPPCMNTFLAGS $OPTIMFLAGS $DEBUGFLAGS $WARNFLAGS"
++CFLAGS="$CFLAGS $CCFLAGS64 $CPPCMNTFLAGS $OPTIMFLAGS $DEBUGFLAGS $WARNFLAGS"
+ { $as_echo "$as_me:$LINENO: result: $CFLAGS" >&5
+ $as_echo "$CFLAGS" >&6; }
+