<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[143539] trunk/dports/textproc/doxygen</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/143539">143539</a></dd>
<dt>Author</dt> <dd>cal@macports.org</dd>
<dt>Date</dt> <dd>2015-12-14 14:14:18 -0800 (Mon, 14 Dec 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>doxygen: Update to 1.8.10, openmaintainer, #48231

Maintainer timeout. Additionally backport patch to fix build against flex 2.6.

Closes #48231, #49881</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportstextprocdoxygenPortfile">trunk/dports/textproc/doxygen/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportstextprocdoxygenfiles8c51120ad55b440b738ef0b96f8169d84a7ae88apatch">trunk/dports/textproc/doxygen/files/8c51120ad55b440b738ef0b96f8169d84a7ae88a.patch</a></li>
<li><a href="#trunkdportstextprocdoxygenfilesa8c73cdbe37cc53c398002d20e94037552a8fb55patch">trunk/dports/textproc/doxygen/files/a8c73cdbe37cc53c398002d20e94037552a8fb55.patch</a></li>
<li><a href="#trunkdportstextprocdoxygenfilescf936efb8ae99dd297b6afb9c6a06beb81f5b0fbpatch">trunk/dports/textproc/doxygen/files/cf936efb8ae99dd297b6afb9c6a06beb81f5b0fb.patch</a></li>
<li><a href="#trunkdportstextprocdoxygenfilespatchdocCMakeListstxtmantosharemandiff">trunk/dports/textproc/doxygen/files/patch-doc-CMakeLists.txt-man-to-share-man.diff</a></li>
<li><a href="#trunkdportstextprocdoxygenfilespatchdocCMakeListstxtdiff">trunk/dports/textproc/doxygen/files/patch-doc-CMakeLists.txt.diff</a></li>
<li><a href="#trunkdportstextprocdoxygenfilespatchexamplesCMakeListstxtdiff">trunk/dports/textproc/doxygen/files/patch-examples-CMakeLists.txt.diff</a></li>
<li><a href="#trunkdportstextprocdoxygenfilespatchsrcportable_ccdiff">trunk/dports/textproc/doxygen/files/patch-src-portable_c.c.diff</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkdportstextprocdoxygenfilespatchaddon_doxywizard_Makefileindiff">trunk/dports/textproc/doxygen/files/patch-addon_doxywizard_Makefile.in.diff</a></li>
<li><a href="#trunkdportstextprocdoxygenfilespatchconfigurediff">trunk/dports/textproc/doxygen/files/patch-configure.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportstextprocdoxygenPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/textproc/doxygen/Portfile (143538 => 143539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/textproc/doxygen/Portfile        2015-12-14 22:08:42 UTC (rev 143538)
+++ trunk/dports/textproc/doxygen/Portfile        2015-12-14 22:14:18 UTC (rev 143539)
</span><span class="lines">@@ -2,9 +2,10 @@
</span><span class="cx"> # $Id$
</span><span class="cx"> 
</span><span class="cx"> PortSystem              1.0
</span><ins>+PortGroup               cmake 1.0
</ins><span class="cx"> 
</span><span class="cx"> name                    doxygen
</span><del>-version                 1.8.9.1
</del><ins>+version                 1.8.10
</ins><span class="cx"> categories              textproc devel
</span><span class="cx"> maintainers             css openmaintainer
</span><span class="cx"> license                 GPL-2
</span><span class="lines">@@ -35,8 +36,8 @@
</span><span class="cx"> distfiles               ${distname}.src${extract.suffix}
</span><span class="cx"> 
</span><span class="cx"> checksums               ${distname}.src${extract.suffix} \
</span><del>-                        rmd160  103d45b36129a0a04b809050b7251acf6f9dacde \
-                        sha256  d4ab6e28d4d45d8956cad17470aade3fbe2356e8f64b92167e738c1887feccec
</del><ins>+                        rmd160  be064f0e8f00e6e20ed7c128f595e7010be1f23a \
+                        sha256  cedf78f6d213226464784ecb999b54515c97eab8a2f9b82514292f837cf88b93
</ins><span class="cx"> 
</span><span class="cx"> depends_build-append    bin:perl:perl5 \
</span><span class="cx">                         bin:python2.7:python27 \
</span><span class="lines">@@ -44,9 +45,13 @@
</span><span class="cx">                         port:bison
</span><span class="cx"> license_noconflict      perl5 python27
</span><span class="cx"> 
</span><del>-depends_lib             port:libpng \
-                        port:libiconv
</del><ins>+depends_lib             port:libpng
</ins><span class="cx"> 
</span><ins>+patchfiles              patch-src-portable_c.c.diff \
+                        cf936efb8ae99dd297b6afb9c6a06beb81f5b0fb.patch \
+                        8c51120ad55b440b738ef0b96f8169d84a7ae88a.patch \
+                        a8c73cdbe37cc53c398002d20e94037552a8fb55.patch
+
</ins><span class="cx"> post-extract {
</span><span class="cx">     # Use our flex
</span><span class="cx">     delete ${worksrcpath}/src/ce_lex.cpp
</span><span class="lines">@@ -79,69 +84,28 @@
</span><span class="cx">     set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-patchfiles              patch-configure.diff
-post-patch {
-    reinplace &quot;s/echo -n/printf/g&quot; ${worksrcpath}/configure
</del><ins>+# build fails out of source :/
+cmake.out_of_source     no
</ins><span class="cx"> 
</span><del>-    # ensure correct compilers and compiler options are used
-    reinplace &quot;/^TMAKE_CC\[\[:space:\]\]/s%=.*%= ${configure.cc} ${configure.cppflags} [get_canonical_archflags cc]%&quot; ${tmake_conf}
-    reinplace &quot;/^TMAKE_CXX\[\[:space:\]\]/s%=.*%= ${configure.cxx} ${configure.cppflags} ${cxx_stdlibflags} [get_canonical_archflags cxx]%&quot; ${tmake_conf}
-    reinplace &quot;/^TMAKE_LINK\[\[:space:\]\]/s%=.*%= ${configure.cxx} ${configure.ldflags} ${cxx_stdlibflags} [get_canonical_archflags ld]%&quot; ${tmake_conf}
-    reinplace &quot;/^TMAKE_LINK_SHLIB\[\[:space:\]\]/s%=.*%= ${configure.cxx} ${cxx_stdlibflags} [get_canonical_archflags ld]%&quot; ${tmake_conf}
-    reinplace &quot;s|-mmacosx-version-min=10.5||g&quot; ${tmake_conf}
-
-    # make sure LIBICONV_PLUG is undefined (this flag is necessary for the
-    # system-installed libiconv, but breaks linking with the MacPorts installed
-    # one)
-    reinplace &quot;s|#define LIBICONV_PLUG||g&quot; ${worksrcpath}/src/portable_c.c
-
-    # may not be strictly necessary, but remove trailing '/' from DESTDIR
-    reinplace &quot;s|\$(DESTDIR)/|\$(DESTDIR)|g&quot; ${worksrcpath}/Makefile.in
-
-    # link with doxygen's libmd5, avoiding a libwww port conflict
-    reinplace &quot;s|-lmd5|../lib/libmd5.a|&quot; ${worksrcpath}/src/doxygen.pro.in
-
-    # do not require GNU install; BSD install suffices
-    reinplace &quot;s,-n \&quot;`\$j/\$i --version 2&gt;/dev/null \| grep utils`\&quot;,-x \&quot;\$j/\$i\&quot;,g&quot; ${worksrcpath}/configure
-
-    # remove flag that is not defined for gcc and only suppresses some warnings for clang
-    if {[string match *gcc* ${configure.compiler}]} {
-        reinplace &quot;s|-Wno-invalid-source-encoding||g&quot; ${tmake_conf}
-    }
-}
-
-build.type              gnu
-
-configure.universal_args-delete \
-                        --disable-dependency-tracking
-configure.pre_args      --prefix ${prefix}
-configure.args          --make ${build.cmd} \
-                        --python python2.7
-
-build.target            all
-
-destroot.target         install
</del><span class="cx"> destroot.args           INSTALL=${prefix} \
</span><span class="cx">                         DOCDIR=${prefix}/share/doc/doxygen \
</span><span class="cx">                         MAN1DIR=share/man/man1
</span><span class="cx"> 
</span><del>-variant docs description {Include the doxygen PDF documentation and LaTeX} requires {latex} {
-    patchfiles-delete       patch-configure.diff
</del><ins>+variant docs description {Include the doxygen HTML and PDF documentation} {
+    configure.args-append   -Dbuild_doc=YES \
+                            -EPSTOPDF=${prefix}/bin/epstopdf
</ins><span class="cx"> 
</span><del>-    configure.args-append   --docdir ${prefix}/share/doc \
-                            --dot ${prefix}/bin/dot
</del><ins>+    patchfiles-append       patch-doc-CMakeLists.txt.diff \
+                            patch-doc-CMakeLists.txt-man-to-share-man.diff \
+                            patch-examples-CMakeLists.txt.diff
</ins><span class="cx"> 
</span><del>-    depends_build-append    path:bin/dot:graphviz
-    build.target-append     pdf
-    use_parallel_build      no
-
-    destroot.target-append  install_docs
-}
-
-variant latex description {Support LaTeX/PDF doxygen output} {
-    depends_build-append    bin:pdflatex:texlive-latex \
</del><ins>+    depends_build-append    path:bin/dot:graphviz \
</ins><span class="cx">                             bin:gs:ghostscript \
</span><ins>+                            port:texlive \
</ins><span class="cx">                             port:texlive-latex-extra
</span><ins>+
+    build.target-append     docs
+    use_parallel_build      no
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> variant wizard description {Include the GUI wizard based on Qt4} {
</span><span class="lines">@@ -150,45 +114,9 @@
</span><span class="cx">     PortGroup qt4 1.0
</span><span class="cx"> 
</span><span class="cx">     # tell configure to make the wizard app
</span><del>-    configure.args-append   --with-doxywizard
-
-    # on Macs, qmake builds .app directories; when installing, copy
-    # this directory to the correct location (via the reinplace below).
-    patchfiles-append       patch-addon_doxywizard_Makefile.in.diff
-
-    post-patch {
-        # allow for universal building, if desired
-        reinplace &quot;/CONFIG/s@x86@${qt_arch_types}@&quot; \
-            ${worksrcpath}/addon/doxywizard/doxywizard.pro.in
-
-        # give doxywizard the more mac-like name of DoxyWizard
-        reinplace &quot;/^TARGET\[\[:space:\]\]/s%=.*%= DoxyWizard%&quot; \
-            ${worksrcpath}/addon/doxywizard/doxywizard.pro.in
-
-        # fix final install location
-        reinplace &quot;s|__APPLICATIONS_DIR__|${applications_dir}|&quot; \
-            ${worksrcpath}/addon/doxywizard/Makefile.in
-
-        # use the correct QMAKE command; the other should work, but
-        # this one is guaranteed to.
-        reinplace &quot;s|QMAKE=qmake|QMAKE=${qt_qmake_cmd}|g&quot; \
-            ${worksrcpath}/addon/doxywizard/Makefile.in
-    }
-
-    post-destroot {
-        # allow doxywizard to be called from the command line
-        ln -s ${applications_dir}/DoxyWizard.app/Contents/MacOS/DoxyWizard ${destroot}${prefix}/bin/doxywizard
-    }
</del><ins>+    configure.args-append   -Dbuild_wizard=YES
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-platform darwin {
-    # Specify the platform explicitly to avoid a universal build.
-    global tmake_conf
-
-    set tmake_conf ${worksrcpath}/tmake/lib/macosx-c++/tmake.conf
-    configure.args-append   --platform macosx-c++
-}
-
</del><span class="cx"> livecheck.type          regex
</span><span class="cx"> livecheck.url           http://www.stack.nl/~dimitri/doxygen/download.html
</span><span class="cx"> livecheck.regex         {latest version of doxygen is (\d+(?:\.\d+)*)}
</span></span></pre></div>
<a id="trunkdportstextprocdoxygenfiles8c51120ad55b440b738ef0b96f8169d84a7ae88apatch"></a>
<div class="addfile"><h4>Added: trunk/dports/textproc/doxygen/files/8c51120ad55b440b738ef0b96f8169d84a7ae88a.patch (0 => 143539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/textproc/doxygen/files/8c51120ad55b440b738ef0b96f8169d84a7ae88a.patch                                (rev 0)
+++ trunk/dports/textproc/doxygen/files/8c51120ad55b440b738ef0b96f8169d84a7ae88a.patch        2015-12-14 22:14:18 UTC (rev 143539)
</span><span class="lines">@@ -0,0 +1,109 @@
</span><ins>+From 8c51120ad55b440b738ef0b96f8169d84a7ae88a Mon Sep 17 00:00:00 2001
+From: Dimitri van Heesch &lt;dimitri@stack.nl&gt;
+Date: Sun, 22 Nov 2015 13:58:59 +0100
+Subject: [PATCH] Support flex-2.6.0
+Upstream-Status: Backport [https://github.com/doxygen/doxygen/commit/8c51120ad55b440b738ef0b96f8169d84a7ae88a]
+
+---
+ src/code.l        | 4 ++--
+ src/commentscan.l | 4 ++--
+ src/fortrancode.l | 6 +++---
+ src/pycode.l      | 2 +-
+ src/vhdlcode.l    | 2 +-
+ src/xmlcode.l     | 2 +-
+ 6 files changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/src/code.l b/src/code.l
+index 25719af..f014924 100644
+--- ./src/code.l
++++ ./src/code.l
+@@ -3700,7 +3700,7 @@ void codeFreeScanner()
+ extern &quot;C&quot; { // some bogus code to keep the compiler happy
+   void codeYYdummy() { yy_flex_realloc(0,0); } 
+ }
+-#elif YY_FLEX_MINOR_VERSION&lt;6 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
+-#error &quot;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 &lt;=2.5.4 or &gt;=2.5.33 or expect things to be parsed wrongly!&quot;
++#elif YY_FLEX_MAJOR_VERISON&lt;=2 &amp;&amp; YY_FLEX_MINOR_VERSION&lt;=5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
++#error &quot;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).&quot;
+ #endif

+diff --git a/src/commentscan.l b/src/commentscan.l
+index 2629857..ffed075 100644
+--- ./src/commentscan.l
++++ ./src/commentscan.l
+@@ -1128,7 +1128,7 @@ RCSTAG    &quot;$&quot;{ID}&quot;:&quot;[^\n$]+&quot;$&quot;
+                                               // but we need to know the position in the input buffer where this 
+                                               // rule matched.
+                                               // for flex 2.5.33+ we should use YY_CURRENT_BUFFER_LVALUE
+-#if YY_FLEX_MINOR_VERSION&gt;5 || YY_FLEX_MINOR_VERSION&gt;=5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&gt;=33
++#if YY_FLEX_MAJOR_VERSION&gt;=2 &amp;&amp; (YY_FLEX_MINOR_VERSION&gt;5 || (YY_FLEX_MINOR_VERSION==5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&gt;=33))
+                                               inputPosition=prevPosition + (int)(yy_bp - YY_CURRENT_BUFFER_LVALUE-&gt;yy_ch_buf);
+ #else
+                                               inputPosition=prevPosition + (int)(yy_bp - yy_current_buffer-&gt;yy_ch_buf);
+@@ -1190,7 +1190,7 @@ RCSTAG    &quot;$&quot;{ID}&quot;:&quot;[^\n$]+&quot;$&quot;
+                                           g_memberGroupHeader.resize(0);
+                                           parseMore=TRUE;
+                                           needNewEntry = TRUE;
+-#if YY_FLEX_MINOR_VERSION&gt;5 || YY_FLEX_MINOR_VERSION&gt;=5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&gt;=33
++#if YY_FLEX_MAJOR_VERSION&gt;=2 &amp;&amp; (YY_FLEX_MINOR_VERSION&gt;5 || (YY_FLEX_MINOR_VERSION==5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&gt;=33))
+                                           inputPosition=prevPosition + (int)(yy_bp - YY_CURRENT_BUFFER_LVALUE-&gt;yy_ch_buf) + strlen(yytext);
+ #else
+                                           inputPosition=prevPosition + (int)(yy_bp - yy_current_buffer-&gt;yy_ch_buf) + strlen(yytext);
+diff --git a/src/fortrancode.l b/src/fortrancode.l
+index 352912b..82e78c1 100644
+--- ./src/fortrancode.l
++++ ./src/fortrancode.l
+@@ -1302,11 +1302,11 @@ void parseFortranCode(CodeOutputInterface &amp;od,const char *className,const QCStri
+   return;
+ }

+-#if !defined(YY_FLEX_SUBMINOR_VERSION) 
++#if !defined(YY_FLEX_SUBMINOR_VERSION)
+ extern &quot;C&quot; { // some bogus code to keep the compiler happy
+-  void fortrancodeYYdummy() { yy_flex_realloc(0,0); } 
++  void fortrancodeYYdummy() { yy_flex_realloc(0,0); }
+ }
+-#elif YY_FLEX_MINOR_VERSION&lt;6 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
++#elif YY_FLEX_MAJOR_VERSION&lt;=2 &amp;&amp; YY_FLEX_MINOR_VERSION&lt;=5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
+ #error &quot;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 &lt;=2.5.4 or &gt;=2.5.33 or expect things to be parsed wrongly!&quot;
+ #else
+ extern &quot;C&quot; { // some bogus code to keep the compiler happy
+diff --git a/src/pycode.l b/src/pycode.l
+index f58f7c1..2b2a668 100644
+--- ./src/pycode.l
++++ ./src/pycode.l
+@@ -1503,7 +1503,7 @@ void parsePythonCode(CodeOutputInterface &amp;od,const char * /*className*/,
+ extern &quot;C&quot; { // some bogus code to keep the compiler happy
+   void pycodeYYdummy() { yy_flex_realloc(0,0); } 
+ }
+-#elif YY_FLEX_MINOR_VERSION&lt;6 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
++#elif YY_FLEX_MAJOR_VERISON&lt;=2 &amp;&amp; YY_FLEX_MINOR_VERSION&lt;=5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
+ #error &quot;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).&quot;
+ #endif

+diff --git a/src/vhdlcode.l b/src/vhdlcode.l
+index 6957048..e4ae0e7 100644
+--- ./src/vhdlcode.l
++++ ./src/vhdlcode.l
+@@ -1613,7 +1613,7 @@ void codeFreeVhdlScanner()
+ extern &quot;C&quot; { // some bogus code to keep the compiler happy
+   void vhdlcodeYYdummy() { yy_flex_realloc(0,0); } 
+ }
+-#elif YY_FLEX_MINOR_VERSION&lt;6 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
++#elif YY_FLEX_MAJOR_VERSION&lt;=2 &amp;&amp; YY_FLEX_MINOR_VERSION&lt;=5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
+ #error &quot;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 &lt;=2.5.4 or &gt;=2.5.33 or expect things to be parsed wrongly!&quot;
+ #endif

+diff --git a/src/xmlcode.l b/src/xmlcode.l
+index 2bef4a0..fd36ebb 100644
+--- ./src/xmlcode.l
++++ ./src/xmlcode.l
+@@ -407,7 +407,7 @@ void resetXmlCodeParserState()
+ extern &quot;C&quot; { // some bogus code to keep the compiler happy
+   void xmlcodeYYdummy() { yy_flex_realloc(0,0); } 
+ }
+-#elif YY_FLEX_MINOR_VERSION&lt;6 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
++#elif YY_FLEX_MAJOR_VERSION&lt;=2 &amp;&amp; YY_FLEX_MINOR_VERSION&lt;=5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
+ #error &quot;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).&quot;
+ #endif

</ins></span></pre></div>
<a id="trunkdportstextprocdoxygenfilesa8c73cdbe37cc53c398002d20e94037552a8fb55patch"></a>
<div class="addfile"><h4>Added: trunk/dports/textproc/doxygen/files/a8c73cdbe37cc53c398002d20e94037552a8fb55.patch (0 => 143539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/textproc/doxygen/files/a8c73cdbe37cc53c398002d20e94037552a8fb55.patch                                (rev 0)
+++ trunk/dports/textproc/doxygen/files/a8c73cdbe37cc53c398002d20e94037552a8fb55.patch        2015-12-14 22:14:18 UTC (rev 143539)
</span><span class="lines">@@ -0,0 +1,37 @@
</span><ins>+From a8c73cdbe37cc53c398002d20e94037552a8fb55 Mon Sep 17 00:00:00 2001
+From: lameventanas &lt;lameventanas@gmail.com&gt;
+Date: Wed, 25 Nov 2015 20:18:54 +0900
+Subject: [PATCH] Fixed preprocessor macros for flex version check
+Upstream-Status: Backport [https://github.com/doxygen/doxygen/commit/a8c73cdbe37cc53c398002d20e94037552a8fb55]
+
+---
+ src/code.l   | 2 +-
+ src/pycode.l | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/code.l b/src/code.l
+index f014924..5b8a084 100644
+--- ./src/code.l
++++ ./src/code.l
+@@ -3700,7 +3700,7 @@ void codeFreeScanner()
+ extern &quot;C&quot; { // some bogus code to keep the compiler happy
+   void codeYYdummy() { yy_flex_realloc(0,0); } 
+ }
+-#elif YY_FLEX_MAJOR_VERISON&lt;=2 &amp;&amp; YY_FLEX_MINOR_VERSION&lt;=5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
++#elif YY_FLEX_MAJOR_VERSION&lt;=2 &amp;&amp; YY_FLEX_MINOR_VERSION&lt;=5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
+ #error &quot;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).&quot;
+ #endif

+diff --git a/src/pycode.l b/src/pycode.l
+index 2b2a668..c3219d9 100644
+--- ./src/pycode.l
++++ ./src/pycode.l
+@@ -1503,7 +1503,7 @@ void parsePythonCode(CodeOutputInterface &amp;od,const char * /*className*/,
+ extern &quot;C&quot; { // some bogus code to keep the compiler happy
+   void pycodeYYdummy() { yy_flex_realloc(0,0); } 
+ }
+-#elif YY_FLEX_MAJOR_VERISON&lt;=2 &amp;&amp; YY_FLEX_MINOR_VERSION&lt;=5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
++#elif YY_FLEX_MAJOR_VERSION&lt;=2 &amp;&amp; YY_FLEX_MINOR_VERSION&lt;=5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
+ #error &quot;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).&quot;
+ #endif

</ins></span></pre></div>
<a id="trunkdportstextprocdoxygenfilescf936efb8ae99dd297b6afb9c6a06beb81f5b0fbpatch"></a>
<div class="addfile"><h4>Added: trunk/dports/textproc/doxygen/files/cf936efb8ae99dd297b6afb9c6a06beb81f5b0fb.patch (0 => 143539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/textproc/doxygen/files/cf936efb8ae99dd297b6afb9c6a06beb81f5b0fb.patch                                (rev 0)
+++ trunk/dports/textproc/doxygen/files/cf936efb8ae99dd297b6afb9c6a06beb81f5b0fb.patch        2015-12-14 22:14:18 UTC (rev 143539)
</span><span class="lines">@@ -0,0 +1,105 @@
</span><ins>+From cf936efb8ae99dd297b6afb9c6a06beb81f5b0fb Mon Sep 17 00:00:00 2001
+From: Heiko Becker &lt;heirecka@exherbo.org&gt;
+Date: Thu, 19 Nov 2015 12:00:54 +0100
+Subject: [PATCH] Support flex-2.6.0
+Upstream-Status: Backport [https://github.com/doxygen/doxygen/commit/cf936efb8ae99dd297b6afb9c6a06beb81f5b0fb]
+
+The version checks only considered YY_FLEX_SUBMINOR_VERSION and did not
+take YY_FLEX_MINOR_VERSION into account, which made them fail with
+flex-2.6.0.
+---
+ src/code.l        | 2 +-
+ src/commentscan.l | 4 ++--
+ src/fortrancode.l | 2 +-
+ src/pycode.l      | 2 +-
+ src/vhdlcode.l    | 2 +-
+ src/xmlcode.l     | 2 +-
+ 6 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/src/code.l b/src/code.l
+index 3323580..25719af 100644
+--- ./src/code.l
++++ ./src/code.l
+@@ -3700,7 +3700,7 @@ void codeFreeScanner()
+ extern &quot;C&quot; { // some bogus code to keep the compiler happy
+   void codeYYdummy() { yy_flex_realloc(0,0); } 
+ }
+-#elif YY_FLEX_SUBMINOR_VERSION&lt;33
++#elif YY_FLEX_MINOR_VERSION&lt;6 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
+ #error &quot;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 &lt;=2.5.4 or &gt;=2.5.33 or expect things to be parsed wrongly!&quot;
+ #endif

+diff --git a/src/commentscan.l b/src/commentscan.l
+index cf892a0..2629857 100644
+--- ./src/commentscan.l
++++ ./src/commentscan.l
+@@ -1128,7 +1128,7 @@ RCSTAG    &quot;$&quot;{ID}&quot;:&quot;[^\n$]+&quot;$&quot;
+                                               // but we need to know the position in the input buffer where this 
+                                               // rule matched.
+                                               // for flex 2.5.33+ we should use YY_CURRENT_BUFFER_LVALUE
+-#if YY_FLEX_MINOR_VERSION&gt;=5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&gt;=33
++#if YY_FLEX_MINOR_VERSION&gt;5 || YY_FLEX_MINOR_VERSION&gt;=5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&gt;=33
+                                               inputPosition=prevPosition + (int)(yy_bp - YY_CURRENT_BUFFER_LVALUE-&gt;yy_ch_buf);
+ #else
+                                               inputPosition=prevPosition + (int)(yy_bp - yy_current_buffer-&gt;yy_ch_buf);
+@@ -1190,7 +1190,7 @@ RCSTAG    &quot;$&quot;{ID}&quot;:&quot;[^\n$]+&quot;$&quot;
+                                           g_memberGroupHeader.resize(0);
+                                           parseMore=TRUE;
+                                           needNewEntry = TRUE;
+-#if YY_FLEX_MINOR_VERSION&gt;=5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&gt;=33
++#if YY_FLEX_MINOR_VERSION&gt;5 || YY_FLEX_MINOR_VERSION&gt;=5 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&gt;=33
+                                           inputPosition=prevPosition + (int)(yy_bp - YY_CURRENT_BUFFER_LVALUE-&gt;yy_ch_buf) + strlen(yytext);
+ #else
+                                           inputPosition=prevPosition + (int)(yy_bp - yy_current_buffer-&gt;yy_ch_buf) + strlen(yytext);
+diff --git a/src/fortrancode.l b/src/fortrancode.l
+index fb91a83..352912b 100644
+--- ./src/fortrancode.l
++++ ./src/fortrancode.l
+@@ -1306,7 +1306,7 @@ void parseFortranCode(CodeOutputInterface &amp;od,const char *className,const QCStri
+ extern &quot;C&quot; { // some bogus code to keep the compiler happy
+   void fortrancodeYYdummy() { yy_flex_realloc(0,0); } 
+ }
+-#elif YY_FLEX_SUBMINOR_VERSION&lt;33
++#elif YY_FLEX_MINOR_VERSION&lt;6 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
+ #error &quot;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 &lt;=2.5.4 or &gt;=2.5.33 or expect things to be parsed wrongly!&quot;
+ #else
+ extern &quot;C&quot; { // some bogus code to keep the compiler happy
+diff --git a/src/pycode.l b/src/pycode.l
+index 3c41a69..f58f7c1 100644
+--- ./src/pycode.l
++++ ./src/pycode.l
+@@ -1503,7 +1503,7 @@ void parsePythonCode(CodeOutputInterface &amp;od,const char * /*className*/,
+ extern &quot;C&quot; { // some bogus code to keep the compiler happy
+   void pycodeYYdummy() { yy_flex_realloc(0,0); } 
+ }
+-#elif YY_FLEX_SUBMINOR_VERSION&lt;33
++#elif YY_FLEX_MINOR_VERSION&lt;6 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
+ #error &quot;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).&quot;
+ #endif

+diff --git a/src/vhdlcode.l b/src/vhdlcode.l
+index 369ae48..6957048 100644
+--- ./src/vhdlcode.l
++++ ./src/vhdlcode.l
+@@ -1613,7 +1613,7 @@ void codeFreeVhdlScanner()
+ extern &quot;C&quot; { // some bogus code to keep the compiler happy
+   void vhdlcodeYYdummy() { yy_flex_realloc(0,0); } 
+ }
+-#elif YY_FLEX_SUBMINOR_VERSION&lt;33
++#elif YY_FLEX_MINOR_VERSION&lt;6 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
+ #error &quot;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 &lt;=2.5.4 or &gt;=2.5.33 or expect things to be parsed wrongly!&quot;
+ #endif

+diff --git a/src/xmlcode.l b/src/xmlcode.l
+index 15b5d7e..2bef4a0 100644
+--- ./src/xmlcode.l
++++ ./src/xmlcode.l
+@@ -407,7 +407,7 @@ void resetXmlCodeParserState()
+ extern &quot;C&quot; { // some bogus code to keep the compiler happy
+   void xmlcodeYYdummy() { yy_flex_realloc(0,0); } 
+ }
+-#elif YY_FLEX_SUBMINOR_VERSION&lt;33
++#elif YY_FLEX_MINOR_VERSION&lt;6 &amp;&amp; YY_FLEX_SUBMINOR_VERSION&lt;33
+ #error &quot;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).&quot;
+ #endif

</ins></span></pre></div>
<a id="trunkdportstextprocdoxygenfilespatchaddon_doxywizard_Makefileindiff"></a>
<div class="delfile"><h4>Deleted: trunk/dports/textproc/doxygen/files/patch-addon_doxywizard_Makefile.in.diff (143538 => 143539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/textproc/doxygen/files/patch-addon_doxywizard_Makefile.in.diff        2015-12-14 22:08:42 UTC (rev 143538)
+++ trunk/dports/textproc/doxygen/files/patch-addon_doxywizard_Makefile.in.diff        2015-12-14 22:14:18 UTC (rev 143539)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>---- addon/doxywizard/Makefile.in.orig        2008-12-06 08:14:58.000000000 -0500
-+++ addon/doxywizard/Makefile.in        2009-01-30 20:39:50.000000000 -0500
-@@ -30,7 +30,8 @@

- install:
-         $(INSTTOOL) -d $(INSTALL)/bin        
--        $(INSTTOOL) -m 755 ../../bin/doxywizard $(INSTALL)/bin        
-+        $(INSTTOOL) -d $(DESTDIR)__APPLICATIONS_DIR__
-+        /bin/cp -R ../../bin/*.app $(DESTDIR)__APPLICATIONS_DIR__
-         $(INSTTOOL) -d $(INSTALL)/$(MAN1DIR)
-         cat ../../doc/doxywizard.1 | sed -e &quot;s/DATE/$(DATE)/g&quot; -e &quot;s/VERSION/$(VERSION)/g&quot; &gt; doxywizard.1
-         $(INSTTOOL) -m 644 doxywizard.1 $(INSTALL)/$(MAN1DIR)/doxywizard.1
</del></span></pre></div>
<a id="trunkdportstextprocdoxygenfilespatchconfigurediff"></a>
<div class="delfile"><h4>Deleted: trunk/dports/textproc/doxygen/files/patch-configure.diff (143538 => 143539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/textproc/doxygen/files/patch-configure.diff        2015-12-14 22:08:42 UTC (rev 143538)
+++ trunk/dports/textproc/doxygen/files/patch-configure.diff        2015-12-14 22:14:18 UTC (rev 143539)
</span><span class="lines">@@ -1,30 +0,0 @@
</span><del>---- configure.orig
-+++ configure
-@@ -480,27 +480,6 @@
- echo &quot;using $f_insttool&quot;;


--# - check for dot ------------------------------------------------------------
--
--printf &quot;  Checking for dot (part of GraphViz)... &quot;
--if test &quot;$f_dot&quot; = NO; then
--  dot_dirs=&quot;$bin_dirs /usr/bin /usr/local/bin /bin /sbin&quot;
--  dot_prog=NO
--  for j in $dot_dirs; do
--    if test -x &quot;$j/dot&quot;; then
--      dot_prog=&quot;$j/dot&quot;
--      break 2
--    fi
--  done
--  f_dot=&quot;$dot_prog&quot; 
--fi
--
--if test &quot;$f_dot&quot; = NO; then
--  echo &quot;not found!&quot;;
--else
--  echo &quot;using $f_dot&quot;
--fi
--
- # - check for sqlite3 ---------------------------------------------------------

- if test &quot;$f_sqlite3&quot; = YES; then
</del></span></pre></div>
<a id="trunkdportstextprocdoxygenfilespatchdocCMakeListstxtmantosharemandiff"></a>
<div class="addfile"><h4>Added: trunk/dports/textproc/doxygen/files/patch-doc-CMakeLists.txt-man-to-share-man.diff (0 => 143539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/textproc/doxygen/files/patch-doc-CMakeLists.txt-man-to-share-man.diff                                (rev 0)
+++ trunk/dports/textproc/doxygen/files/patch-doc-CMakeLists.txt-man-to-share-man.diff        2015-12-14 22:14:18 UTC (rev 143539)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+Install documentation in share/man rather than man
+
+Upstream-Status: Inappropriate [configuration]
+Signed-off-by: Clemens Lang &lt;cal@macports.org&gt;
+--- doc/CMakeLists.txt.orig        2015-12-14 23:04:15.000000000 +0100
++++ doc/CMakeLists.txt        2015-12-14 23:04:25.000000000 +0100
+@@ -86,7 +86,7 @@
+         &quot;${PROJECT_BINARY_DIR}/man/doxywizard.1&quot;
+         &quot;${PROJECT_BINARY_DIR}/man/doxysearch.1&quot;
+         &quot;${PROJECT_BINARY_DIR}/man/doxyindexer.1&quot;
+-        DESTINATION man/man1
++        DESTINATION share/man/man1
+ )

+ install(FILES
</ins></span></pre></div>
<a id="trunkdportstextprocdoxygenfilespatchdocCMakeListstxtdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/textproc/doxygen/files/patch-doc-CMakeLists.txt.diff (0 => 143539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/textproc/doxygen/files/patch-doc-CMakeLists.txt.diff                                (rev 0)
+++ trunk/dports/textproc/doxygen/files/patch-doc-CMakeLists.txt.diff        2015-12-14 22:14:18 UTC (rev 143539)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+--- doc/CMakeLists.txt.orig        2015-06-20 16:49:50.000000000 -0500
++++ doc/CMakeLists.txt        2015-07-04 09:52:19.000000000 -0500
+@@ -16,11 +16,9 @@

+ # copy all doc files
+ add_custom_target(copy_docs)
+-foreach(doc_file ${DOC_FILES})
+-  add_custom_command(TARGET copy_docs PRE_BUILD
++add_custom_command(TARGET copy_docs PRE_BUILD
+                      COMMAND ${CMAKE_COMMAND} -E
+-                         copy ${doc_file} ${DOXYDOCS})
+-endforeach()
++                         copy_directory . ${DOXYDOCS})

+ add_custom_target(docs
+         COMMENT &quot;Generating documentation in ${DOXYDOCS}&quot;
</ins></span></pre></div>
<a id="trunkdportstextprocdoxygenfilespatchexamplesCMakeListstxtdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/textproc/doxygen/files/patch-examples-CMakeLists.txt.diff (0 => 143539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/textproc/doxygen/files/patch-examples-CMakeLists.txt.diff                                (rev 0)
+++ trunk/dports/textproc/doxygen/files/patch-examples-CMakeLists.txt.diff        2015-12-14 22:14:18 UTC (rev 143539)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+--- examples/CMakeLists.txt.orig        2015-06-20 16:50:23.000000000 -0500
++++ examples/CMakeLists.txt        2015-07-04 09:59:18.000000000 -0500
+@@ -10,11 +10,9 @@

+ # copy all example files
+ add_custom_target(copy_examples)
+-foreach(example_file ${EXAMPLE_FILES})
+-  add_custom_command(TARGET copy_examples PRE_BUILD
++add_custom_command(TARGET copy_examples PRE_BUILD
+                      COMMAND ${CMAKE_COMMAND} -E
+-                         copy ${example_file} ${PROJECT_BINARY_DIR}/examples)
+-endforeach()
++                         copy_directory . ${PROJECT_BINARY_DIR}/examples)

+ add_custom_target(examples
+         DEPENDS doxygen copy_examples
</ins></span></pre></div>
<a id="trunkdportstextprocdoxygenfilespatchsrcportable_ccdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/textproc/doxygen/files/patch-src-portable_c.c.diff (0 => 143539)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/textproc/doxygen/files/patch-src-portable_c.c.diff                                (rev 0)
+++ trunk/dports/textproc/doxygen/files/patch-src-portable_c.c.diff        2015-12-14 22:14:18 UTC (rev 143539)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+Upstream-Status: Inappropriate [configuration]
+--- src/portable_c.c.orig        2014-10-19 09:39:17.000000000 -0500
++++ src/portable_c.c        2015-07-03 20:24:33.000000000 -0500
+@@ -1,9 +1,9 @@
+-#if (defined(__APPLE__) || defined(macintosh)) &amp;&amp; !defined(DMG_BUILD)
++//#if (defined(__APPLE__) || defined(macintosh)) &amp;&amp; !defined(DMG_BUILD)
+ // define this before including iconv.h to avoid a mapping of
+ // iconv_open and friends to libicon_open (done by mac ports),
+ // while the symbols without 'lib' are linked from /usr/lib/libiconv
+-#define LIBICONV_PLUG
+-#endif
++//#define LIBICONV_PLUG
++//#endif
+ #include &lt;iconv.h&gt;

+ // These functions are implemented in a C file, because there are different
</ins></span></pre>
</div>
</div>

</body>
</html>