aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2013-06-16 21:49:17 +0800
committernivit <nivit@FreeBSD.org>2013-06-16 21:49:17 +0800
commit6aa93567c42dfc6111e4e9d3de0e349bf9fdce68 (patch)
tree9b85e65f79ff0735d25b7b78e6028c43411a666b /archivers
parentd917e98009480074bed48d1e04d2c865ee1efd2f (diff)
downloadfreebsd-ports-gnome-6aa93567c42dfc6111e4e9d3de0e349bf9fdce68.tar.gz
freebsd-ports-gnome-6aa93567c42dfc6111e4e9d3de0e349bf9fdce68.tar.zst
freebsd-ports-gnome-6aa93567c42dfc6111e4e9d3de0e349bf9fdce68.zip
- Update to 0.5.1
- Add qtestlib to USE_QT4 - Add files/patch-qztest__testquagzipfile.cpp Build log: http://goo.gl/LJHzO
Diffstat (limited to 'archivers')
-rw-r--r--archivers/quazip/Makefile4
-rw-r--r--archivers/quazip/files/patch-qztest__testquagzipfile.cpp20
2 files changed, 22 insertions, 2 deletions
diff --git a/archivers/quazip/Makefile b/archivers/quazip/Makefile
index d7ce1799efae..704ae7be4fd1 100644
--- a/archivers/quazip/Makefile
+++ b/archivers/quazip/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= quazip
-PORTVERSION= 0.5
+PORTVERSION= 0.5.1
#PORTREVISION= 0
CATEGORIES= archivers
MASTER_SITES= SF
@@ -16,7 +16,7 @@ QMAKE_ARGS= PREFIX=${PREFIX} ${QMAKE_PRO}
QMAKE_PRO= ${WRKSRC}/${PORTNAME}.pro
USE_LDCONFIG= yes
-USE_QT4= corelib moc_build qmake_build
+USE_QT4= corelib moc_build qtestlib qmake_build
do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}
diff --git a/archivers/quazip/files/patch-qztest__testquagzipfile.cpp b/archivers/quazip/files/patch-qztest__testquagzipfile.cpp
new file mode 100644
index 000000000000..8e58f5e6f2e7
--- /dev/null
+++ b/archivers/quazip/files/patch-qztest__testquagzipfile.cpp
@@ -0,0 +1,20 @@
+--- ./qztest/testquagzipfile.cpp.orig 2013-06-15 14:53:18.000000000 +0200
++++ ./qztest/testquagzipfile.cpp 2013-06-15 14:51:57.000000000 +0200
+@@ -8,7 +8,7 @@
+ {
+ QDir curDir;
+ curDir.mkpath("tmp");
+- voidp gzFile = gzopen("tmp/test.gz", "wb");
++ gzFile_s* /*voidp*/ gzFile = gzopen("tmp/test.gz", "wb");
+ gzwrite(gzFile, "test", 4);
+ gzclose(gzFile);
+ QuaGzipFile testFile("tmp/test.gz");
+@@ -32,7 +32,7 @@
+ QCOMPARE(testFile.write("test", 4), static_cast<qint64>(4));
+ testFile.close();
+ QVERIFY(!testFile.isOpen());
+- voidp gzFile = gzopen("tmp/test.gz", "rb");
++ gzFile_s* /*voidp*/ gzFile = gzopen("tmp/test.gz", "rb");
+ char buf[5];
+ buf[4] = '\0';
+ QCOMPARE(gzread(gzFile, buf, 5), 4);