Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Feb 2014 14:34:58 -0800 (PST)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        nivit@FreeBSD.org
Subject:   ports/186611: [PATCH] archivers/quazip: update to 0.6.2
Message-ID:  <52f80292.82a4980a.4fa0.3c6b@mx.google.com>
Resent-Message-ID: <201402092240.s19Me0Ow018773@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186611
>Category:       ports
>Synopsis:       [PATCH] archivers/quazip: update to 0.6.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 09 22:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Raphael Kubo da Costa
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD orwell 11.0-CURRENT FreeBSD 11.0-CURRENT #6 r261546: Thu Feb  6 14:25:19
>Description:
- Update to 0.6.2

This release is ABI compatible with the current 0.5.1 so no dependent ports need to be bumped. It includes a fix I sent upstream to make the port fully MAKE_JOBS_SAFE (it was previously randomly failing because the tests target did not depend on the library one).

Port maintainer (nivit@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- quazip-0.6.2.patch begins here ---
diff -ruN /usr/ports/archivers/quazip/Makefile ./Makefile
--- /usr/ports/archivers/quazip/Makefile	2013-11-22 14:55:00.000000000 +0200
+++ ./Makefile	2014-02-10 00:28:44.000000000 +0200
@@ -2,8 +2,7 @@
 # $FreeBSD: head/archivers/quazip/Makefile 334586 2013-11-22 12:55:00Z makc $
 
 PORTNAME=	quazip
-PORTVERSION=	0.5.1
-#PORTREVISION=	0
+PORTVERSION=	0.6.2
 CATEGORIES=	archivers
 MASTER_SITES=	SF
 
diff -ruN /usr/ports/archivers/quazip/distinfo ./distinfo
--- /usr/ports/archivers/quazip/distinfo	2014-01-22 17:30:13.000000000 +0200
+++ ./distinfo	2014-02-10 00:28:50.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (quazip-0.5.1.tar.gz) = 078176a72288983f78b45c15f7d245131d9d5fc36a22f2757d75a78658c33268
-SIZE (quazip-0.5.1.tar.gz) = 354658
+SHA256 (quazip-0.6.2.tar.gz) = adf4047213662a0362090edaaee4283216df2034ab5923697f9aa81d081c0b43
+SIZE (quazip-0.6.2.tar.gz) = 423027
diff -ruN /usr/ports/archivers/quazip/files/patch-qztest__testquagzipfile.cpp ./files/patch-qztest__testquagzipfile.cpp
--- /usr/ports/archivers/quazip/files/patch-qztest__testquagzipfile.cpp	2013-08-28 18:40:54.000000000 +0300
+++ ./files/patch-qztest__testquagzipfile.cpp	1970-01-01 02:00:00.000000000 +0200
@@ -1,30 +0,0 @@
---- qztest/testquagzipfile.cpp.orig	2012-09-05 15:24:35.000000000 +0000
-+++ qztest/testquagzipfile.cpp
-@@ -8,9 +8,9 @@ void TestQuaGzipFile::read()
- {
-     QDir curDir;
-     curDir.mkpath("tmp");
--    voidp gzFile = gzopen("tmp/test.gz", "wb");
--    gzwrite(gzFile, "test", 4);
--    gzclose(gzFile);
-+    gzFile gzf = gzopen("tmp/test.gz", "wb");
-+    gzwrite(gzf, "test", 4);
-+    gzclose(gzf);
-     QuaGzipFile testFile("tmp/test.gz");
-     QVERIFY(testFile.open(QIODevice::ReadOnly));
-     char buf[5];
-@@ -32,11 +32,11 @@ void TestQuaGzipFile::write()
-     QCOMPARE(testFile.write("test", 4), static_cast<qint64>(4));
-     testFile.close();
-     QVERIFY(!testFile.isOpen());
--    voidp gzFile = gzopen("tmp/test.gz", "rb");
-+    gzFile gzf = gzopen("tmp/test.gz", "rb");
-     char buf[5];
-     buf[4] = '\0';
--    QCOMPARE(gzread(gzFile, buf, 5), 4);
--    gzclose(gzFile);
-+    QCOMPARE(gzread(gzf, buf, 5), 4);
-+    gzclose(gzf);
-     QCOMPARE(static_cast<const char*>(buf), "test");
-     curDir.remove("tmp/test.gz");
-     curDir.rmdir("tmp");
--- quazip-0.6.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52f80292.82a4980a.4fa0.3c6b>