summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-11-30 11:23:20 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-11-30 11:23:20 +0000
commitd1762ac5ccda9812994fb5fcdfde7fb68b52151d (patch)
treed8af4bd0d1678ee12c564caada1f98ef4064f13d /www-client/httrack
parentgcc-4.6 has lto by default (and no USE flag), thanks alexxy, bug #392483 (diff)
downloadgentoo-2-d1762ac5ccda9812994fb5fcdfde7fb68b52151d.tar.gz
gentoo-2-d1762ac5ccda9812994fb5fcdfde7fb68b52151d.tar.bz2
gentoo-2-d1762ac5ccda9812994fb5fcdfde7fb68b52151d.zip
Add patch to fix building with recent zlib, thanks to Lars Wendler in bug #383805. Bump to EAPI=4.
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'www-client/httrack')
-rw-r--r--www-client/httrack/ChangeLog9
-rw-r--r--www-client/httrack/files/httrack-3.44.1+zlib-1.2.5.1.patch21
-rw-r--r--www-client/httrack/httrack-3.44.1-r1.ebuild34
3 files changed, 63 insertions, 1 deletions
diff --git a/www-client/httrack/ChangeLog b/www-client/httrack/ChangeLog
index f586347b1dcc..fdd1015aae0a 100644
--- a/www-client/httrack/ChangeLog
+++ b/www-client/httrack/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-client/httrack
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/httrack/ChangeLog,v 1.31 2011/11/22 18:21:52 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/httrack/ChangeLog,v 1.32 2011/11/30 11:23:20 flameeyes Exp $
+
+*httrack-3.44.1-r1 (30 Nov 2011)
+
+ 30 Nov 2011; Diego E. Pettenò <flameeyes@gentoo.org>
+ +files/httrack-3.44.1+zlib-1.2.5.1.patch, +httrack-3.44.1-r1.ebuild:
+ Add patch to fix building with recent zlib, thanks to Lars Wendler in bug
+ #383805. Bump to EAPI=4.
22 Nov 2011; Pacho Ramos <pacho@gentoo.org> -httrack-3.43.7.ebuild,
-httrack-3.43.9.ebuild, metadata.xml:
diff --git a/www-client/httrack/files/httrack-3.44.1+zlib-1.2.5.1.patch b/www-client/httrack/files/httrack-3.44.1+zlib-1.2.5.1.patch
new file mode 100644
index 000000000000..cadaa8c0a174
--- /dev/null
+++ b/www-client/httrack/files/httrack-3.44.1+zlib-1.2.5.1.patch
@@ -0,0 +1,21 @@
+--- httrack-3.44.1/src/minizip/ioapi.h
++++ httrack-3.44.1/src/minizip/ioapi.h
+@@ -9,6 +9,7 @@
+ #ifndef _ZLIBIOAPI_H
+ #define _ZLIBIOAPI_H
+
++#define OF(x) x
+
+ #define ZLIB_FILEFUNC_SEEK_CUR (1)
+ #define ZLIB_FILEFUNC_SEEK_END (2)
+--- httrack-3.44.1/src/minizip/zip.h
++++ httrack-3.44.1/src/minizip/zip.h
+@@ -42,6 +42,8 @@
+ ftp://ftp.pkware.com/probdesc.zip
+ */
+
++#define OF(x) x
++
+ #ifndef _zip_H
+ #define _zip_H
+
diff --git a/www-client/httrack/httrack-3.44.1-r1.ebuild b/www-client/httrack/httrack-3.44.1-r1.ebuild
new file mode 100644
index 000000000000..e22350605ee1
--- /dev/null
+++ b/www-client/httrack/httrack-3.44.1-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/httrack/httrack-3.44.1-r1.ebuild,v 1.1 2011/11/30 11:23:20 flameeyes Exp $
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="HTTrack Website Copier, Open Source Offline Browser"
+HOMEPAGE="http://www.httrack.com/"
+SRC_URI="http://download.httrack.com/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+RDEPEND="sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}+zlib-1.2.5.1.patch
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ emake -j1
+}
+
+DOCS=( AUTHORS README greetings.txt history.txt )