svn commit: r321046 - in head/archivers/quazip: . files
Nicola Vitale
nivit at FreeBSD.org
Sun Jun 16 13:49:18 UTC 2013
Author: nivit
Date: Sun Jun 16 13:49:17 2013
New Revision: 321046
URL: http://svnweb.freebsd.org/changeset/ports/321046
Log:
- Update to 0.5.1
- Add qtestlib to USE_QT4
- Add files/patch-qztest__testquagzipfile.cpp
Build log: http://goo.gl/LJHzO
Added:
head/archivers/quazip/files/
head/archivers/quazip/files/patch-qztest__testquagzipfile.cpp (contents, props changed)
Modified:
head/archivers/quazip/Makefile
Modified: head/archivers/quazip/Makefile
==============================================================================
--- head/archivers/quazip/Makefile Sun Jun 16 12:47:50 2013 (r321045)
+++ head/archivers/quazip/Makefile Sun Jun 16 13:49:17 2013 (r321046)
@@ -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}
Added: head/archivers/quazip/files/patch-qztest__testquagzipfile.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/quazip/files/patch-qztest__testquagzipfile.cpp Sun Jun 16 13:49:17 2013 (r321046)
@@ -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);
More information about the svn-ports-all
mailing list