diff --git a/x11/py-qt4/Makefile b/x11/py-qt4/Makefile index e38435fc4de..fec2f5eb51e 100644 --- a/x11/py-qt4/Makefile +++ b/x11/py-qt4/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.18 2010/09/07 08:58:16 sthen Exp $ +# $OpenBSD: Makefile,v 1.19 2010/09/07 10:22:06 sthen Exp $ SHARED_ONLY= Yes @@ -10,6 +10,7 @@ V= 4.7.6 DISTNAME= PyQt-x11-gpl-${V} PKGNAME= py-qt4-${V} PKGNAME-main= py-qt4-${V} +REVISION-main= 0 PKGNAME-docs= py-qt4-docs-${V} CATEGORIES= x11 devel diff --git a/x11/py-qt4/patches/patch-pyuic_uic_driver_py b/x11/py-qt4/patches/patch-pyuic_uic_driver_py new file mode 100644 index 00000000000..0c8f4b930ce --- /dev/null +++ b/x11/py-qt4/patches/patch-pyuic_uic_driver_py @@ -0,0 +1,12 @@ +$OpenBSD: patch-pyuic_uic_driver_py,v 1.1 2010/09/07 10:22:06 sthen Exp $ +--- pyuic/uic/driver.py.orig Tue Sep 7 10:27:17 2010 ++++ pyuic/uic/driver.py Tue Sep 7 10:27:24 2010 +@@ -57,7 +57,7 @@ class Driver(object): + if self._opts.output == "-": + pyfile = sys.stdout + else: +- pyfile = open(self._opts.output, 'wt', encoding='utf8') ++ pyfile = open(self._opts.output, 'wt') + + compileUi(self._ui_file, pyfile, self._opts.execute, self._opts.indent, + self._opts.pyqt3_wrapper, self._opts.from_imports)