[66212] trunk/dports/devel/devtodo

ryandesign at macports.org ryandesign at macports.org
Wed Apr 7 02:58:24 PDT 2010


Revision: 66212
          http://trac.macports.org/changeset/66212
Author:   ryandesign at macports.org
Date:     2010-04-07 02:58:23 -0700 (Wed, 07 Apr 2010)
Log Message:
-----------
devtodo: update to 0.1.20 and fix resulting build failure on case-insensitive filesystems; see #23838

Modified Paths:
--------------
    trunk/dports/devel/devtodo/Portfile

Added Paths:
-----------
    trunk/dports/devel/devtodo/files/
    trunk/dports/devel/devtodo/files/patch-case-insensitive-filesystem.diff

Modified: trunk/dports/devel/devtodo/Portfile
===================================================================
--- trunk/dports/devel/devtodo/Portfile	2010-04-07 09:56:26 UTC (rev 66211)
+++ trunk/dports/devel/devtodo/Portfile	2010-04-07 09:58:23 UTC (rev 66212)
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 name            devtodo
-version         0.1.19
+version         0.1.20
 categories      devel
 maintainers     nomaintainer
 platforms       darwin
@@ -14,6 +14,19 @@
 						to convert it into different formats eg. HTML.
 homepage        http://swapoff.org/DevTodo/
 master_sites    http://swapoff.org/files/devtodo/
-checksums       rmd160 133140acde8a3fdd9f055460c28926f60873aeb3
+
+checksums       md5     4a6241437cb56f237f850bcd2233c3c4 \
+                sha1    003067a12139d712dbb3706069e0950a93ecaaf4 \
+                rmd160  389201318faa5ff6d302bd5f8c8f8b094664b45c
+
 depends_lib		port:readline
+
+post-extract {
+    # "#include <regex.h>" finds Regex.h on case-insensitive filesystems;
+    # see http://swapoff.org/ticket/107
+    move ${worksrcpath}/util/Regex.h ${worksrcpath}/util/DTRegex.h
+}
+
+patchfiles      patch-case-insensitive-filesystem.diff
+
 configure.args	--mandir=${prefix}/share/man

Added: trunk/dports/devel/devtodo/files/patch-case-insensitive-filesystem.diff
===================================================================
--- trunk/dports/devel/devtodo/files/patch-case-insensitive-filesystem.diff	                        (rev 0)
+++ trunk/dports/devel/devtodo/files/patch-case-insensitive-filesystem.diff	2010-04-07 09:58:23 UTC (rev 66212)
@@ -0,0 +1,30 @@
+--- util/Lexer.h.orig	2006-05-09 06:38:33.000000000 -0500
++++ util/Lexer.h	2010-04-07 04:20:22.000000000 -0500
+@@ -6,7 +6,7 @@
+ #include <map>
+ #include <iterator>
+ #include "Strings.h"
+-#include "Regex.h"
++#include "DTRegex.h"
+ 
+ using namespace std;
+ 
+--- util/Makefile.in.orig	2007-06-29 21:47:21.000000000 -0500
++++ util/Makefile.in	2010-04-07 04:20:14.000000000 -0500
+@@ -182,7 +182,7 @@
+ top_srcdir = @top_srcdir@
+ noinst_LTLIBRARIES = libutil.la
+ libutil_la_SOURCES = Terminal.cc Terminal.h Lexer.cc Lexer.h \
+-	Regex.cc Regex.h XML.cc XML.h Strings.cc Strings.h CommandArgs.cc CommandArgs.h
++	Regex.cc DTRegex.h XML.cc XML.h Strings.cc Strings.h CommandArgs.cc CommandArgs.h
+ 
+ all: all-am
+ 
+--- util/Regex.cc.orig	2006-05-09 06:38:33.000000000 -0500
++++ util/Regex.cc	2010-04-07 04:19:59.000000000 -0500
+@@ -1,4 +1,4 @@
+-#include "Regex.h"
++#include "DTRegex.h"
+ //map<string, Regex::Cache> Regex::cache;
+ 
+ Regex::Regex()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100407/01172e9e/attachment.html>


More information about the macports-changes mailing list