Bug#451831: antlr: Patch to fix build with gcc-4.3

James Westby jw+debian at jameswestby.net
Sun Nov 18 19:54:56 UTC 2007


Package: antlr

Hi,

The following patch from Matthias Klose fixes the package
to build with gcc-4.3. Please consider including it
in the package.

Thanks,

James

diff -pruN 2.7.6-9/lib/cpp/antlr/CharScanner.hpp
2.7.6-9ubuntu1/lib/cpp/antlr/CharScanner.hpp
--- 2.7.6-9/lib/cpp/antlr/CharScanner.hpp	2005-12-07 18:01:02.000000000 +0000
+++ 2.7.6-9ubuntu1/lib/cpp/antlr/CharScanner.hpp	2007-09-18 19:23:11.000000000 +0100
@@ -17,6 +17,7 @@
 #else
 #include <cctype>
 #endif
+#include <cstring>
 
 #if ( _MSC_VER == 1200 )
 // VC6 seems to need this






More information about the pkg-java-maintainers mailing list