summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/zziplib/ChangeLog7
-rw-r--r--dev-libs/zziplib/files/zziplib-0.13.45-sys-types.patch12
-rw-r--r--dev-libs/zziplib/zziplib-0.13.45.ebuild8
3 files changed, 23 insertions, 4 deletions
diff --git a/dev-libs/zziplib/ChangeLog b/dev-libs/zziplib/ChangeLog
index 3e9cc305369f..3fc73feaaee8 100644
--- a/dev-libs/zziplib/ChangeLog
+++ b/dev-libs/zziplib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/zziplib
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/ChangeLog,v 1.29 2006/05/13 20:31:35 tcort Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/ChangeLog,v 1.30 2006/05/23 12:37:59 flameeyes Exp $
+
+ 23 May 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/zziplib-0.13.45-sys-types.patch, zziplib-0.13.45.ebuild:
+ Add patch to build on FreeBSD thanks to Robert Sebastian Gerus in bug
+ #134048. Add ~x86-fbsd keyword.
13 May 2006; Thomas Cort <tcort@gentoo.org> zziplib-0.13.38.ebuild:
Stable on alpha and amd64 wrt Bug #133137.
diff --git a/dev-libs/zziplib/files/zziplib-0.13.45-sys-types.patch b/dev-libs/zziplib/files/zziplib-0.13.45-sys-types.patch
new file mode 100644
index 000000000000..77d4bb1066f6
--- /dev/null
+++ b/dev-libs/zziplib/files/zziplib-0.13.45-sys-types.patch
@@ -0,0 +1,12 @@
+Index: zziplib-0.13.45/zzip/types.h
+===================================================================
+--- zziplib-0.13.45.orig/zzip/types.h
++++ zziplib-0.13.45/zzip/types.h
+@@ -21,6 +21,7 @@
+ #ifndef _ZZIP_TYPES_H_
+ #define _ZZIP_TYPES_H_
+
++#include <sys/types.h>
+ #include <zzip/conf.h>
+ #include <fcntl.h>
+ #include <stddef.h> /* size_t and friends */
diff --git a/dev-libs/zziplib/zziplib-0.13.45.ebuild b/dev-libs/zziplib/zziplib-0.13.45.ebuild
index 1385e62fbd10..5f0cc462b41d 100644
--- a/dev-libs/zziplib/zziplib-0.13.45.ebuild
+++ b/dev-libs/zziplib/zziplib-0.13.45.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/zziplib-0.13.45.ebuild,v 1.8 2006/04/17 01:50:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/zziplib/zziplib-0.13.45.ebuild,v 1.9 2006/05/23 12:37:59 flameeyes Exp $
-inherit libtool fixheadtails
+inherit libtool fixheadtails eutils
DESCRIPTION="Lightweight library used to easily extract data from files archived in a single zip file"
HOMEPAGE="http://zziplib.sourceforge.net/"
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/zziplib/${P}.tar.bz2"
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
SLOT="0"
-KEYWORDS="alpha ~amd64 arm hppa ia64 ~ppc ppc64 s390 sh ~sparc ~x86"
+KEYWORDS="alpha ~amd64 arm hppa ia64 ~ppc ppc64 s390 sh ~sparc ~x86 ~x86-fbsd"
IUSE="sdl"
RDEPEND="sys-libs/zlib
@@ -22,6 +22,8 @@ src_unpack() {
unpack ${A}
cd "${S}"
ht_fix_file configure docs/Makefile.in uses/depcomp
+
+ epatch "${FILESDIR}/${P}-sys-types.patch"
elibtoolize
}