diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2011-12-04 22:09:03 +0000 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2011-12-04 22:09:03 +0000 |
commit | f36b4f88091bff0333ffe28d7b459f47e1211fc6 (patch) | |
tree | 31c2eaed35641184f614a6e694caf187918ebf7a /net-im/vacuum | |
parent | arm stable, bug #391655 (diff) | |
download | historical-f36b4f88091bff0333ffe28d7b459f47e1211fc6.tar.gz historical-f36b4f88091bff0333ffe28d7b459f47e1211fc6.tar.bz2 historical-f36b4f88091bff0333ffe28d7b459f47e1211fc6.zip |
Fix bug with zlib, #387837. Thanks to Nikoli
Package-Manager: portage-2.1.10.39/cvs/Linux x86_64
Diffstat (limited to 'net-im/vacuum')
-rw-r--r-- | net-im/vacuum/ChangeLog | 7 | ||||
-rw-r--r-- | net-im/vacuum/Manifest | 8 | ||||
-rw-r--r-- | net-im/vacuum/files/vacuum-1.1.1-minizip.patch | 38 | ||||
-rw-r--r-- | net-im/vacuum/files/vacuum-1.1.1-zlib.patch | 49 | ||||
-rw-r--r-- | net-im/vacuum/vacuum-1.1.1.ebuild | 10 | ||||
-rw-r--r-- | net-im/vacuum/vacuum-9999.ebuild | 3 |
6 files changed, 109 insertions, 6 deletions
diff --git a/net-im/vacuum/ChangeLog b/net-im/vacuum/ChangeLog index 69498c3c1151..c3dd08fd2677 100644 --- a/net-im/vacuum/ChangeLog +++ b/net-im/vacuum/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-im/vacuum # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/vacuum/ChangeLog,v 1.3 2011/09/18 12:20:09 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/vacuum/ChangeLog,v 1.4 2011/12/04 22:09:03 maksbotan Exp $ + + 04 Dec 2011; Maxim Koltsov <maksbotan@gentoo.org> vacuum-1.1.1.ebuild, + +files/vacuum-1.1.1-minizip.patch, +files/vacuum-1.1.1-zlib.patch, + vacuum-9999.ebuild: + Fix bug with zlib, #387837. Thanks to Nikoli 18 Sep 2011; Maxim Koltsov <maksbotan@gentoo.org> metadata.xml: Fix herd to be proxy-maintainers diff --git a/net-im/vacuum/Manifest b/net-im/vacuum/Manifest index 25fd97af86b2..d6cdc81ed0b7 100644 --- a/net-im/vacuum/Manifest +++ b/net-im/vacuum/Manifest @@ -1,7 +1,9 @@ +AUX vacuum-1.1.1-minizip.patch 1723 RMD160 2e70eca4db75ca3f32155bdf004cab85b95adac5 SHA1 38ec695df0754346ff98c0a88ca954f17fd9cc8e SHA256 b93dd50385a9b0739253a84b0e17d0686b4807e574a7065a8c95d690ae1ce596 +AUX vacuum-1.1.1-zlib.patch 1506 RMD160 969807819a5acc4b3b36d11a7bacffad5e7ffa7a SHA1 f3a059343eb9bbc1b105b5b9fc8ebab85fc087c1 SHA256 9f74f3f54ec82715b919ce6ade4c8f121c1d80238847484653d19ac766d2126e DIST vacuum-1.1.0.tar.xz 1505696 RMD160 5a9acc29f467f6cb4dd1eb9b5e3e8efd807898c0 SHA1 be8f31e0b5cfab493f5a17ad7eff054a56972716 SHA256 5777dae320c6fe14dd76f13dfdc6dd497fd96db41f03214b25d9733da5291951 DIST vacuum-1.1.1.tar.xz 1507204 RMD160 d7635bf5ab46f8dd223bd77404a0d8b07a2a317c SHA1 3f64f96d3924bf7acbfc197fe222b920c815bce9 SHA256 9158c69915e0f35116b6a994070bb98c1cd45c14e3672bcfd21da19eb2204ee2 EBUILD vacuum-1.1.0.ebuild 2006 RMD160 1c38312b4ce5d7bb2fdcbec06a79c4d63f9a1553 SHA1 faea5287fed55a359a17da45b46b2b079f3f8cbe SHA256 3088aa0e8fa2a42c32b6bc3e7aa14a1ee45451f1338c94b386133f3c3f139afa -EBUILD vacuum-1.1.1.ebuild 2022 RMD160 c7569ace495ca7968ba9aac2e1d77187d06b79b6 SHA1 ae82651ebeb6aa0f8f6000e6b40e0dd7e97c5e78 SHA256 20fa1aef53977c8b8c05cc7e6d27c191c0ab7697d5cc6acf75a8af4267f96eb6 -EBUILD vacuum-9999.ebuild 2304 RMD160 73feb14a193f074b7638585720264b42fa95a951 SHA1 46432dfb4dbf2cf2ca4e8d86605a207f8968392a SHA256 339152cfb0ed18bb8ae49696c1eb6e2eb1697a52ab10fa305cc4c56937963120 -MISC ChangeLog 807 RMD160 ee73ae2d298e7952d633a029cf03b97fd506371d SHA1 e0a7fd08d94bd627f3028b5d60c31251f82370dd SHA256 1a7bb69c3991a02553b97f578bc867a4105dba7dae0bf5b73b4abab7e802a041 +EBUILD vacuum-1.1.1.ebuild 2159 RMD160 0103e193fb5700e28f171a4adcb33c8134e3d9f4 SHA1 bec2233ab928be13fb699b2d5df21805fa642cbe SHA256 8f457a4c2a879eb36d24747d9e4cf2c1aa7bdccb96ab6e82053a77853fbfd450 +EBUILD vacuum-9999.ebuild 2333 RMD160 5cadb4b60a7c7911ed002b041ee2431f8295cb69 SHA1 7061c63c5d4782e2b59885d9493c7bbdc396e81d SHA256 ee3c9e2ba2b41e15bfd334832901d15e0b0fda1f604138a07793023a5c87dd3a +MISC ChangeLog 1019 RMD160 f24243443231fcbe15f7ca089cb2a60ba49c507e SHA1 793d26696a27eb3ab9a24701297c1163fcd9df97 SHA256 e24a402baee1f074a4cb35cbd36697427d71d612bab40003a09a2e7745388c74 MISC metadata.xml 3615 RMD160 314147a18770b45f0caa1caa0758f07e07ca0042 SHA1 bd42ce92f005c1d3b97f311c6585cc88bac06b6d SHA256 dae4c083bdabb69966518e96b25d390daed13fac59c80027f832ae5e898b2b48 diff --git a/net-im/vacuum/files/vacuum-1.1.1-minizip.patch b/net-im/vacuum/files/vacuum-1.1.1-minizip.patch new file mode 100644 index 000000000000..9e71038fd3d0 --- /dev/null +++ b/net-im/vacuum/files/vacuum-1.1.1-minizip.patch @@ -0,0 +1,38 @@ +From 433b646f92e629fae235f23ebbfbec6ea5ff72a5 Mon Sep 17 00:00:00 2001 +From: Maxim Ignatenko <gelraen.ua@gmail.com> +Date: Sun, 4 Dec 2011 20:00:14 +0000 +Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=BE=D0=BF=D1=86=D0=B8=D1=8F=20FORCE=5FBUNDLED=5FMINIZIP=20=D0=B4=D0=BB=D1=8F=20cmake,=20=D0=BF=D0=BE=D0=B7=D0=B2=D0=BE=D0=BB=D1=8F=D1=8E=D1=89=D0=B0=D1=8F=20=D0=B8=D0=B3=D0=BD=D0=BE=D1=80=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20=D0=BD=D0=B0=D0=BB=D0=B8=D1=87=D0=B8=D0=B5=20=D0=B2=20=D1=81=D0=B8=D1=81=D1=82=D0=B5=D0=BC=D0=B5=20=D0=B1=D0=B8=D0=B1=D0=BB=D0=B8=D0=BE=D1=82=D0=B5=D0=BA=D0=B8=20minizip.?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +git-svn-id: http://vacuum-im.googlecode.com/svn/trunk@1670 8ee3b2d0-dc07-11de-995a-ab19b33c1a40 +--- + CMakeLists.txt | 6 ++++++ + 1 files changed, 6 insertions(+), 0 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 06da875..bfb33ca 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -20,11 +20,17 @@ set(LANGS "" CACHE STRING "List of languages to build localization for (this var + set(USED_LANGS "" CACHE INTERNAL "List of languages actually used for generating targets") + add_lang_options() + ++set(FORCE_BUNDLED_MINIZIP NO CACHE BOOL "Use bundled minizip even if local system have one") ++ + find_library(SYSTEM_ZLIB_FOUND z) + find_library(SYSTEM_IDN_FOUND idn) + find_library(SYSTEM_MINIZIP_FOUND minizip) + find_library(SYSTEM_QTLOCKEDFILE_FOUND QtSolutions_LockedFile-2.4) + ++if (FORCE_BUNDLED_MINIZIP) ++ set(SYSTEM_MINIZIP_FOUND NO) ++endif (FORCE_BUNDLED_MINIZIP) ++ + if (SYSTEM_ZLIB_FOUND) + add_definitions(-DUSE_SYSTEM_ZLIB) + endif (SYSTEM_ZLIB_FOUND) +-- +1.7.3.4 + diff --git a/net-im/vacuum/files/vacuum-1.1.1-zlib.patch b/net-im/vacuum/files/vacuum-1.1.1-zlib.patch new file mode 100644 index 000000000000..46df1062e0e4 --- /dev/null +++ b/net-im/vacuum/files/vacuum-1.1.1-zlib.patch @@ -0,0 +1,49 @@ +From 88360d515a06ef08fd3e16f462fe0a869b55ca1d Mon Sep 17 00:00:00 2001 +From: Sergey Potapov <potapov.s.a@gmail.com> +Date: Mon, 17 Oct 2011 11:54:39 +0000 +Subject: Плагин Compress не собирался в Gentoo после обновления системного ZLib. + +git-svn-id: http://vacuum-im.googlecode.com/svn/trunk@1636 8ee3b2d0-dc07-11de-995a-ab19b33c1a40 +--- +diff --git a/src/plugins/compress/compression.cpp b/src/plugins/compress/compression.cpp +index b59b95d..3ca6bd4 100644 +--- a/src/plugins/compress/compression.cpp ++++ b/src/plugins/compress/compression.cpp +@@ -138,30 +138,20 @@ void Compression::stopZlib() +
+ void Compression::processData(QByteArray &AData, bool ADataOut)
+ {
+- if (AData.size()>0)
++ if (AData.size() > 0)
+ {
+- z_streamp zstream;
+- int (*zfunc) OF((z_streamp strm, int flush));
+- if (ADataOut)
+- {
+- zstream = &FDefStruc;
+- zfunc = deflate;
+- }
+- else
+- {
+- zstream = &FInfStruc;
+- zfunc = inflate;
+- }
+-
+ int ret;
+ int dataPosOut = 0;
++
++ z_streamp zstream = ADataOut ? &FDefStruc : &FInfStruc;
+ zstream->avail_in = AData.size();
+ zstream->next_in = (Bytef *)(AData.constData());
++
+ do
+ {
+ zstream->avail_out = FOutBuffer.capacity() - dataPosOut;
+ zstream->next_out = (Bytef *)(FOutBuffer.data() + dataPosOut);
+- ret = zfunc(zstream,Z_SYNC_FLUSH);
++ ret = ADataOut ? deflate(zstream,Z_SYNC_FLUSH) : inflate(zstream,Z_SYNC_FLUSH);
+ switch (ret)
+ {
+ case Z_OK:
+-- +cgit v0.9.0.2 diff --git a/net-im/vacuum/vacuum-1.1.1.ebuild b/net-im/vacuum/vacuum-1.1.1.ebuild index 2f3a2534576c..9066edce10c5 100644 --- a/net-im/vacuum/vacuum-1.1.1.ebuild +++ b/net-im/vacuum/vacuum-1.1.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/vacuum/vacuum-1.1.1.ebuild,v 1.1 2011/09/03 14:49:57 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/vacuum/vacuum-1.1.1.ebuild,v 1.2 2011/12/04 22:09:03 maksbotan Exp $ EAPI="4" LANGS="de pl ru uk" @@ -47,6 +47,13 @@ DEPEND="${RDEPEND}" DOCS="AUTHORS CHANGELOG README TRANSLATORS" +src_prepare() { + default + + epatch "${FILESDIR}"/${P}-minizip.patch + epatch "${FILESDIR}"/${P}-zlib.patch +} + src_configure() { # linguas local langs="none;" @@ -59,6 +66,7 @@ src_configure() { -DINSTALL_SDK=ON -DLANGS="${langs}" -DINSTALL_DOCS=OFF + -DFORCE_BUNDLED_MINIZIP=ON ) for x in ${PLUGINS}; do diff --git a/net-im/vacuum/vacuum-9999.ebuild b/net-im/vacuum/vacuum-9999.ebuild index e1e0ad7da1f6..d6e54bf3126c 100644 --- a/net-im/vacuum/vacuum-9999.ebuild +++ b/net-im/vacuum/vacuum-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/vacuum/vacuum-9999.ebuild,v 1.2 2011/09/03 14:49:57 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/vacuum/vacuum-9999.ebuild,v 1.3 2011/12/04 22:09:03 maksbotan Exp $ EAPI="4" LANGS="de pl ru uk" @@ -65,6 +65,7 @@ src_configure() { -DINSTALL_SDK=ON -DLANGS="${langs}" -DINSTALL_DOCS=OFF + -DFORCE_BUNDLED_MINIZIP=ON ) for x in ${PLUGINS}; do |