From 7672671c9ca45690da49688f8f47de1be5941789 Mon Sep 17 00:00:00 2001 From: Nicola Vitale Date: Sun, 16 Jun 2013 13:49:17 +0000 Subject: - Update to 0.5.1 - Add qtestlib to USE_QT4 - Add files/patch-qztest__testquagzipfile.cpp Build log: http://goo.gl/LJHzO --- .../quazip/files/patch-qztest__testquagzipfile.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 archivers/quazip/files/patch-qztest__testquagzipfile.cpp (limited to 'archivers/quazip/files/patch-qztest__testquagzipfile.cpp') 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(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); -- cgit v1.2.3