summaryrefslogtreecommitdiff
path: root/devel/doxygen/files/patch-src_vhdlcode.l
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-11-19 14:25:13 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-11-19 14:25:13 +0000
commite1fee1b1d21f049d2d5b1eef6e80b707728d5a90 (patch)
tree7ee97f3b509d658a8ea381f259b3adf11e0942c1 /devel/doxygen/files/patch-src_vhdlcode.l
parent- Update to version 0.4.1 (diff)
Fix build with flex 2.6.0
Notes
Notes: svn path=/head/; revision=401949
Diffstat (limited to 'devel/doxygen/files/patch-src_vhdlcode.l')
-rw-r--r--devel/doxygen/files/patch-src_vhdlcode.l11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/doxygen/files/patch-src_vhdlcode.l b/devel/doxygen/files/patch-src_vhdlcode.l
new file mode 100644
index 000000000000..8fa957e57d7e
--- /dev/null
+++ b/devel/doxygen/files/patch-src_vhdlcode.l
@@ -0,0 +1,11 @@
+--- src/vhdlcode.l.orig 2015-11-19 06:41:43 UTC
++++ src/vhdlcode.l
+@@ -1613,7 +1613,7 @@ void codeFreeVhdlScanner()
+ extern "C" { // some bogus code to keep the compiler happy
+ void vhdlcodeYYdummy() { 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 but older than 2.5.33. These versions do NOT work with doxygen! Please use version <=2.5.4 or >=2.5.33 or expect things to be parsed wrongly!"
+ #endif
+