Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/doxygen/files/
Date: Wed, 06 Dec 2017 11:53:31
Message-Id: 1512561199.ac3b4ad9d7c7f0a636b94396f62441afce52a61a.kensington@gentoo
1 commit: ac3b4ad9d7c7f0a636b94396f62441afce52a61a
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Tue Dec 5 17:33:27 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 6 11:53:19 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac3b4ad9
7
8 app-doc/doxygen: remove unused patch
9
10 Closes: https://github.com/gentoo/gentoo/pull/6452
11
12 .../files/doxygen-1.8.10-fix_flex_check.patch | 96 ----------------------
13 1 file changed, 96 deletions(-)
14
15 diff --git a/app-doc/doxygen/files/doxygen-1.8.10-fix_flex_check.patch b/app-doc/doxygen/files/doxygen-1.8.10-fix_flex_check.patch
16 deleted file mode 100644
17 index 24a3b64ad3e..00000000000
18 --- a/app-doc/doxygen/files/doxygen-1.8.10-fix_flex_check.patch
19 +++ /dev/null
20 @@ -1,96 +0,0 @@
21 -From 5fcb13572417a3b4a05217e9023c683864f35643 Mon Sep 17 00:00:00 2001
22 -From: Heiko Becker <heirecka@×××××××.org>
23 -Date: Thu, 19 Nov 2015 12:00:54 +0100
24 -Subject: [PATCH] Support flex-2.6.0
25 -
26 -The version checks only considered YY_FLEX_SUBMINOR_VERSION and did not
27 -take YY_FLEX_MINOR_VERSION into account, which made them fail with
28 -flex-2.6.0.
29 -
30 -diff --git a/src/code.l b/src/code.l
31 -index 3323580..25719af 100644
32 ---- a/src/code.l
33 -+++ b/src/code.l
34 -@@ -3700,7 +3700,7 @@ void codeFreeScanner()
35 - extern "C" { // some bogus code to keep the compiler happy
36 - void codeYYdummy() { yy_flex_realloc(0,0); }
37 - }
38 --#elif YY_FLEX_SUBMINOR_VERSION<33
39 -+#elif YY_FLEX_MINOR_VERSION<6 && YY_FLEX_SUBMINOR_VERSION<33
40 - #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!"
41 - #endif
42 -
43 -diff --git a/src/commentscan.l b/src/commentscan.l
44 -index cf892a0..2629857 100644
45 ---- a/src/commentscan.l
46 -+++ b/src/commentscan.l
47 -@@ -1128,7 +1128,7 @@ RCSTAG "$"{ID}":"[^\n$]+"$"
48 - // but we need to know the position in the input buffer where this
49 - // rule matched.
50 - // for flex 2.5.33+ we should use YY_CURRENT_BUFFER_LVALUE
51 --#if YY_FLEX_MINOR_VERSION>=5 && YY_FLEX_SUBMINOR_VERSION>=33
52 -+#if YY_FLEX_MINOR_VERSION>5 || YY_FLEX_MINOR_VERSION>=5 && YY_FLEX_SUBMINOR_VERSION>=33
53 - inputPosition=prevPosition + (int)(yy_bp - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf);
54 - #else
55 - inputPosition=prevPosition + (int)(yy_bp - yy_current_buffer->yy_ch_buf);
56 -@@ -1190,7 +1190,7 @@ RCSTAG "$"{ID}":"[^\n$]+"$"
57 - g_memberGroupHeader.resize(0);
58 - parseMore=TRUE;
59 - needNewEntry = TRUE;
60 --#if YY_FLEX_MINOR_VERSION>=5 && YY_FLEX_SUBMINOR_VERSION>=33
61 -+#if YY_FLEX_MINOR_VERSION>5 || YY_FLEX_MINOR_VERSION>=5 && YY_FLEX_SUBMINOR_VERSION>=33
62 - inputPosition=prevPosition + (int)(yy_bp - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf) + strlen(yytext);
63 - #else
64 - inputPosition=prevPosition + (int)(yy_bp - yy_current_buffer->yy_ch_buf) + strlen(yytext);
65 -diff --git a/src/fortrancode.l b/src/fortrancode.l
66 -index fb91a83..352912b 100644
67 ---- a/src/fortrancode.l
68 -+++ b/src/fortrancode.l
69 -@@ -1306,7 +1306,7 @@ void parseFortranCode(CodeOutputInterface &od,const char *className,const QCStri
70 - extern "C" { // some bogus code to keep the compiler happy
71 - void fortrancodeYYdummy() { yy_flex_realloc(0,0); }
72 - }
73 --#elif YY_FLEX_SUBMINOR_VERSION<33
74 -+#elif YY_FLEX_MINOR_VERSION<6 && YY_FLEX_SUBMINOR_VERSION<33
75 - #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!"
76 - #else
77 - extern "C" { // some bogus code to keep the compiler happy
78 -diff --git a/src/pycode.l b/src/pycode.l
79 -index 3c41a69..f58f7c1 100644
80 ---- a/src/pycode.l
81 -+++ b/src/pycode.l
82 -@@ -1503,7 +1503,7 @@ void parsePythonCode(CodeOutputInterface &od,const char * /*className*/,
83 - extern "C" { // some bogus code to keep the compiler happy
84 - void pycodeYYdummy() { yy_flex_realloc(0,0); }
85 - }
86 --#elif YY_FLEX_SUBMINOR_VERSION<33
87 -+#elif YY_FLEX_MINOR_VERSION<6 && YY_FLEX_SUBMINOR_VERSION<33
88 - #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)."
89 - #endif
90 -
91 -diff --git a/src/vhdlcode.l b/src/vhdlcode.l
92 -index 369ae48..6957048 100644
93 ---- a/src/vhdlcode.l
94 -+++ b/src/vhdlcode.l
95 -@@ -1613,7 +1613,7 @@ void codeFreeVhdlScanner()
96 - extern "C" { // some bogus code to keep the compiler happy
97 - void vhdlcodeYYdummy() { yy_flex_realloc(0,0); }
98 - }
99 --#elif YY_FLEX_SUBMINOR_VERSION<33
100 -+#elif YY_FLEX_MINOR_VERSION<6 && YY_FLEX_SUBMINOR_VERSION<33
101 - #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!"
102 - #endif
103 -
104 -diff --git a/src/xmlcode.l b/src/xmlcode.l
105 -index 15b5d7e..2bef4a0 100644
106 ---- a/src/xmlcode.l
107 -+++ b/src/xmlcode.l
108 -@@ -407,7 +407,7 @@ void resetXmlCodeParserState()
109 - extern "C" { // some bogus code to keep the compiler happy
110 - void xmlcodeYYdummy() { yy_flex_realloc(0,0); }
111 - }
112 --#elif YY_FLEX_SUBMINOR_VERSION<33
113 -+#elif YY_FLEX_MINOR_VERSION<6 && YY_FLEX_SUBMINOR_VERSION<33
114 - #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)."
115 - #endif
116 -