freebsd-ports/devel/libantlr3c/files/patch-antlr3config.h.in
Tijl Coosemans d3116291b1 - Add a patch to devel/libantlr3c to define ANTLR3_USE_64BIT on 64-bit
architectures and bump dependent ports
- Patch configure to respect CFLAGS
2014-07-15 14:21:30 +00:00

13 lines
280 B
C

--- antlr3config.h.in.orig
+++ antlr3config.h.in
@@ -4,7 +4,9 @@
#undef ANTLR3_NODEBUGGER
/* Define if 64 bit mode required */
-#undef ANTLR3_USE_64BIT
+#ifdef _LP64
+#define ANTLR3_USE_64BIT
+#endif
/* Define to 1 if you have the `accept' function. */
#undef HAVE_ACCEPT