diff options
-rw-r--r-- | japanese/trac/Makefile | 2 | ||||
-rw-r--r-- | japanese/trac/files/patch-formatter.py | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/japanese/trac/Makefile b/japanese/trac/Makefile index 9f2f0b0d1607..8f1fba1b6352 100644 --- a/japanese/trac/Makefile +++ b/japanese/trac/Makefile @@ -7,7 +7,7 @@ PORTNAME= trac PORTVERSION= 0.9.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= japanese www devel python MASTER_SITES= http://dist.bsdlab.org/ \ http://www.i-act.co.jp/project/products/downloads/ diff --git a/japanese/trac/files/patch-formatter.py b/japanese/trac/files/patch-formatter.py new file mode 100644 index 000000000000..1d73a2ad43ac --- /dev/null +++ b/japanese/trac/files/patch-formatter.py @@ -0,0 +1,11 @@ +--- trac/wiki/formatter.py.orig Thu Aug 24 12:45:42 2006 ++++ trac/wiki/formatter.py Thu Aug 24 12:46:01 2006 +@@ -307,7 +307,7 @@ + return '<img src="%s" alt="%s" />' % (url, title or text) + if not url.startswith(self._local): + return '<a class="ext-link" href="%s"%s><span class="icon">' \ +- '</span>%s</a>' % (url, title_attr, text) ++ '%s</span></a>' % (url, title_attr, text) + else: + return '<a href="%s"%s>%s</a>' % (url, title_attr, text) + |