From e1fee1b1d21f049d2d5b1eef6e80b707728d5a90 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Thu, 19 Nov 2015 14:25:13 +0000 Subject: Fix build with flex 2.6.0 --- devel/doxygen/files/patch-src_pycode.l | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/doxygen/files/patch-src_pycode.l (limited to 'devel/doxygen/files/patch-src_pycode.l') diff --git a/devel/doxygen/files/patch-src_pycode.l b/devel/doxygen/files/patch-src_pycode.l new file mode 100644 index 000000000000..476cf39054b6 --- /dev/null +++ b/devel/doxygen/files/patch-src_pycode.l @@ -0,0 +1,11 @@ +--- src/pycode.l.orig 2015-11-19 06:41:15 UTC ++++ src/pycode.l +@@ -1503,7 +1503,7 @@ void parsePythonCode(CodeOutputInterface + extern "C" { // some bogus code to keep the compiler happy + void pycodeYYdummy() { yy_flex_realloc(0,0); } + } +-#elif YY_FLEX_SUBMINOR_VERSION<33 ++#elif YY_FLEX_MINOR_VERSION==5 && YY_FLEX_SUBMINOR_VERSION<33 + #error "You seem to be using a version of flex newer than 2.5.4. These are currently incompatible with 2.5.4, and do NOT work with doxygen! Please use version 2.5.4 or expect things to be parsed wrongly! A bug report has been submitted (#732132)." + #endif + -- cgit v1.2.3