aboutsummaryrefslogtreecommitdiffstats
path: root/devel/viewvc
diff options
context:
space:
mode:
authorglarkin <glarkin@FreeBSD.org>2010-05-11 08:10:26 +0800
committerglarkin <glarkin@FreeBSD.org>2010-05-11 08:10:26 +0800
commitc996d03e8697d3c2c3cc3ab7db61c1a6bd3647d3 (patch)
treeebe46c586387089030b9d7e1bab399292163548b /devel/viewvc
parentafd11ce683f78bc69ecb1572827130067c047015 (diff)
downloadfreebsd-ports-gnome-c996d03e8697d3c2c3cc3ab7db61c1a6bd3647d3.tar.gz
freebsd-ports-gnome-c996d03e8697d3c2c3cc3ab7db61c1a6bd3647d3.tar.zst
freebsd-ports-gnome-c996d03e8697d3c2c3cc3ab7db61c1a6bd3647d3.zip
- Added patch to fix bug http://viewvc.tigris.org/issues/show_bug.cgi?id=454
PR: ports/146379 Submitted by: olli hauer <ohauer@gmx.de>
Diffstat (limited to 'devel/viewvc')
-rw-r--r--devel/viewvc/Makefile2
-rw-r--r--devel/viewvc/files/patch-lib__sapi.py10
2 files changed, 11 insertions, 1 deletions
diff --git a/devel/viewvc/Makefile b/devel/viewvc/Makefile
index de6a90094ab0..eb98991dda40 100644
--- a/devel/viewvc/Makefile
+++ b/devel/viewvc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= viewvc
PORTVERSION= 1.1.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= http://viewvc.tigris.org/files/documents/3330/47458/ \
LOCAL/pgollucci
diff --git a/devel/viewvc/files/patch-lib__sapi.py b/devel/viewvc/files/patch-lib__sapi.py
new file mode 100644
index 000000000000..dd1153d6ecbe
--- /dev/null
+++ b/devel/viewvc/files/patch-lib__sapi.py
@@ -0,0 +1,10 @@
+--- ./lib/sapi.py.orig 2010-03-29 17:32:43.000000000 +0200
++++ ./lib/sapi.py 2010-05-07 18:36:29.000000000 +0200
+@@ -33,6 +33,7 @@
+ # that character as-is, and sometimes needs to embed escaped values
+ # into HTML attributes.
+ def escape(s):
++ s = str(s)
+ s = string.replace(s, '&', '&amp;')
+ s = string.replace(s, '>', '&gt;')
+ s = string.replace(s, '<', '&lt;')