dev-libs/quazip: remove unused patches
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Sun, 4 Sep 2016 11:57:51 +0000 (13:57 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 4 Sep 2016 18:58:07 +0000 (20:58 +0200)
Closes: https://github.com/gentoo/gentoo/pull/2234

Signed-off-by: David Seifert <soap@gentoo.org>
dev-libs/quazip/files/quazip-0.4.4-zlib.patch [deleted file]
dev-libs/quazip/files/quazip-0.5.1-zlib.patch [deleted file]

diff --git a/dev-libs/quazip/files/quazip-0.4.4-zlib.patch b/dev-libs/quazip/files/quazip-0.4.4-zlib.patch
deleted file mode 100644 (file)
index a84dcab..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-From f7d821a6837b4cc9defa02f271256796394fd8c3 Mon Sep 17 00:00:00 2001
-From: Sebastian Pipping <sebastian@pipping.org>
-Date: Wed, 21 Sep 2011 14:37:31 +0200
-Subject: [PATCH] Allow compilation with zlib-1.2.5.1-r1
-
----
- quazip/ioapi.h |    4 ++++
- 1 files changed, 4 insertions(+), 0 deletions(-)
-
-diff --git a/quazip/ioapi.h b/quazip/ioapi.h
-index 716dd4b..a4ac8d7 100644
---- a/quazip/ioapi.h
-+++ b/quazip/ioapi.h
-@@ -37,6 +37,10 @@
- extern "C" {
- #endif
-+#ifndef OF
-+# define OF(x) x
-+#endif
-+
- typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, voidpf file, int mode));
- typedef uLong  (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size));
- typedef uLong  (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size));
--- 
-1.7.6.1
-
diff --git a/dev-libs/quazip/files/quazip-0.5.1-zlib.patch b/dev-libs/quazip/files/quazip-0.5.1-zlib.patch
deleted file mode 100644 (file)
index 690590e..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -up quazip-0.5.1/qztest/testquagzipfile.cpp.zl quazip-0.5.1/qztest/testquagzipfile.cpp
---- quazip-0.5.1/qztest/testquagzipfile.cpp.zl 2012-09-05 17:24:35.000000000 +0200
-+++ quazip-0.5.1/qztest/testquagzipfile.cpp    2013-03-03 14:27:05.168659773 +0100
-@@ -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 File = gzopen("tmp/test.gz", "wb");
-+    gzwrite(File, "test", 4);
-+    gzclose(File);
-     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 File = gzopen("tmp/test.gz", "rb");
-     char buf[5];
-     buf[4] = '\0';
--    QCOMPARE(gzread(gzFile, buf, 5), 4);
--    gzclose(gzFile);
-+    QCOMPARE(gzread(File, buf, 5), 4);
-+    gzclose(File);
-     QCOMPARE(static_cast<const char*>(buf), "test");
-     curDir.remove("tmp/test.gz");
-     curDir.rmdir("tmp");