aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-07-08 21:21:43 +0800
committerpav <pav@FreeBSD.org>2009-07-08 21:21:43 +0800
commitbaa8b959e12f873fcfdd25a0a2ce5c29b267bb5c (patch)
treec536b3303a04ea49cca6b815eee1ba0150a28d31 /www
parent95d6fd07fc3a0c375f72dfe7395d0907bb467a4c (diff)
downloadfreebsd-ports-gnome-baa8b959e12f873fcfdd25a0a2ce5c29b267bb5c.tar.gz
freebsd-ports-gnome-baa8b959e12f873fcfdd25a0a2ce5c29b267bb5c.tar.zst
freebsd-ports-gnome-baa8b959e12f873fcfdd25a0a2ce5c29b267bb5c.zip
- Fix runtime crash bug on amd64
PR: ports/136379 Submitted by: Phil Pennock <phil.pennock@globnix.org>
Diffstat (limited to 'www')
-rw-r--r--www/py-utidy/Makefile3
-rw-r--r--www/py-utidy/files/patch-tidy-lib.py10
-rw-r--r--www/py-utidy/pkg-descr7
3 files changed, 15 insertions, 5 deletions
diff --git a/www/py-utidy/Makefile b/www/py-utidy/Makefile
index 415cea3b56c0..f25b7c0bc1c8 100644
--- a/www/py-utidy/Makefile
+++ b/www/py-utidy/Makefile
@@ -7,9 +7,10 @@
PORTNAME= utidy
PORTVERSION= 0.2
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_BERLIOS}
-MASTER_SITE_SUBDIR= utidylib
+MASTER_SITE_SUBDIR= utidylib
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= uTidylib-${PORTVERSION}
diff --git a/www/py-utidy/files/patch-tidy-lib.py b/www/py-utidy/files/patch-tidy-lib.py
new file mode 100644
index 000000000000..8b49cbcab1d7
--- /dev/null
+++ b/www/py-utidy/files/patch-tidy-lib.py
@@ -0,0 +1,10 @@
+--- tidy/lib.py.orig 2004-02-24 08:12:24.000000000 +0100
++++ tidy/lib.py 2009-07-08 15:16:11.000000000 +0200
+@@ -129,6 +129,7 @@
+ return sink
+
+ sinkfactory=SinkFactory()
++_tidy.Create.restype = ctypes.POINTER(ctypes.c_void_p)
+
+ class _Document(object):
+ def __init__(self):
diff --git a/www/py-utidy/pkg-descr b/www/py-utidy/pkg-descr
index 097d0ef22b5c..3e14fb7948ce 100644
--- a/www/py-utidy/pkg-descr
+++ b/www/py-utidy/pkg-descr
@@ -1,7 +1,6 @@
-This is uTidylib, the Python wrapper for the HTML cleaning library
-named TidyLib:
+This is uTidylib, the Python wrapper for the HTML cleaning library named
+TidyLib:
http://tidy.sf.net
-WWW: http://utidylib.sf.net
-WWW: http://prdownload.berlios.de/utidylib/
+WWW: http://utidylib.berlios.de/