Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 294791 Details for
Bug 387837
net-im/vacuum fails to build with latest sys-libs/zlib
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
support latest zlib, use bundled minizip
vacuum.patch (text/plain), 5.66 KB, created by
Nikoli
on 2011-12-04 21:39:20 UTC
(
hide
)
Description:
support latest zlib, use bundled minizip
Filename:
MIME Type:
Creator:
Nikoli
Created:
2011-12-04 21:39:20 UTC
Size:
5.66 KB
patch
obsolete
>diff -Naur -x vacuum-9990.ebuild -x ChangeLog -x metadata.xml -x Manifest -x vacuum-1.1.0.ebuild /usr/portage/net-im/vacuum/files/vacuum-1.1.1-minizip.patch ./files/vacuum-1.1.1-minizip.patch >--- /usr/portage/net-im/vacuum/files/vacuum-1.1.1-minizip.patch 1970-01-01 03:00:00.000000000 +0300 >+++ ./files/vacuum-1.1.1-minizip.patch 2011-12-05 00:45:38.000000000 +0400 >@@ -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 -Naur -x vacuum-9990.ebuild -x ChangeLog -x metadata.xml -x Manifest -x vacuum-1.1.0.ebuild /usr/portage/net-im/vacuum/files/vacuum-1.1.1-zlib.patch ./files/vacuum-1.1.1-zlib.patch >--- /usr/portage/net-im/vacuum/files/vacuum-1.1.1-zlib.patch 1970-01-01 03:00:00.000000000 +0300 >+++ ./files/vacuum-1.1.1-zlib.patch 2011-12-05 01:27:24.000000000 +0400 >@@ -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 -Naur -x vacuum-9990.ebuild -x ChangeLog -x metadata.xml -x Manifest -x vacuum-1.1.0.ebuild /usr/portage/net-im/vacuum/vacuum-1.1.1.ebuild ./vacuum-1.1.1.ebuild >--- /usr/portage/net-im/vacuum/vacuum-1.1.1.ebuild 2011-09-03 18:49:57.000000000 +0400 >+++ ./vacuum-1.1.1.ebuild 2011-12-05 01:27:39.000000000 +0400 >@@ -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: $ > > EAPI="4" > LANGS="de pl ru uk" >@@ -47,6 +47,14 @@ > > 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 +67,7 @@ > -DINSTALL_SDK=ON > -DLANGS="${langs}" > -DINSTALL_DOCS=OFF >+ -DFORCE_BUNDLED_MINIZIP=ON > ) > > for x in ${PLUGINS}; do >diff -Naur -x vacuum-9990.ebuild -x ChangeLog -x metadata.xml -x Manifest -x vacuum-1.1.0.ebuild /usr/portage/net-im/vacuum/vacuum-9999.ebuild ./vacuum-9999.ebuild >--- /usr/portage/net-im/vacuum/vacuum-9999.ebuild 2011-09-03 19:01:19.000000000 +0400 >+++ ./vacuum-9999.ebuild 2011-12-05 00:01:48.000000000 +0400 >@@ -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: $ > > EAPI="4" > LANGS="de pl ru uk" >@@ -65,6 +65,7 @@ > -DINSTALL_SDK=ON > -DLANGS="${langs}" > -DINSTALL_DOCS=OFF >+ -DFORCE_BUNDLED_MINIZIP=ON > ) > > for x in ${PLUGINS}; do
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 387837
:
290343
| 294791