summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-22 22:40:39 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-22 22:40:39 +0000
commiteb769e426afa9f2232fdc8970044d4b57bc5bbbb (patch)
tree78aa8b5fc4e2a56dd4b6b294cd393ac5beced557 /dev-libs/libarchive
parentPurge old, bump 0.14.3. Add dlloader USE, install .so; closes bug #81213. Mig... (diff)
downloadhistorical-eb769e426afa9f2232fdc8970044d4b57bc5bbbb.tar.gz
historical-eb769e426afa9f2232fdc8970044d4b57bc5bbbb.tar.bz2
historical-eb769e426afa9f2232fdc8970044d4b57bc5bbbb.zip
Added patch for OSX compatibility.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-libs/libarchive')
-rw-r--r--dev-libs/libarchive/ChangeLog6
-rw-r--r--dev-libs/libarchive/Manifest15
-rw-r--r--dev-libs/libarchive/files/libarchive-1.02.027-osx.patch12
-rw-r--r--dev-libs/libarchive/libarchive-1.02.027.ebuild13
4 files changed, 41 insertions, 5 deletions
diff --git a/dev-libs/libarchive/ChangeLog b/dev-libs/libarchive/ChangeLog
index 174cc6ebd3f8..c89ff6d45950 100644
--- a/dev-libs/libarchive/ChangeLog
+++ b/dev-libs/libarchive/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libarchive
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libarchive/ChangeLog,v 1.2 2005/06/16 07:43:44 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libarchive/ChangeLog,v 1.3 2005/07/22 22:40:39 flameeyes Exp $
+
+ 22 Jul 2005; Diego Pettenò <flameeyes@gentoo.org>
+ +files/libarchive-1.02.027-osx.patch, libarchive-1.02.027.ebuild:
+ Added patch for OSX compatibility.
16 Jun 2005; David Holm <dholm@gentoo.org> libarchive-1.02.027.ebuild:
Added to ~ppc.
diff --git a/dev-libs/libarchive/Manifest b/dev-libs/libarchive/Manifest
index 4984c78ac368..92f11b676798 100644
--- a/dev-libs/libarchive/Manifest
+++ b/dev-libs/libarchive/Manifest
@@ -1,4 +1,15 @@
-MD5 fa83f47048dbb70136bd7927add912ff ChangeLog 518
-MD5 7dff652c8a8f6e53581da5cd5cba33cb libarchive-1.02.027.ebuild 585
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 3727d64e3147cfe71e6cc1e9ec74a724 libarchive-1.02.027.ebuild 692
MD5 985eb3e6f7fb60fd3651ba1cae41c609 metadata.xml 464
+MD5 5c4f8ea2a5b589e88dea9f8d2127c923 ChangeLog 681
MD5 7050cbd8598ed396d741592975d848ce files/digest-libarchive-1.02.027 71
+MD5 7fe214e0de0090f3344a9e4a1792a5b3 files/libarchive-1.02.027-osx.patch 609
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFC4XX1j5H05b2HAEkRAhziAJ9oualWE+wzm8Z0vHZKKSJ6fF1ypwCcCrtD
+z7NEvfiStdzdxpvGYdZrLI0=
+=Zw5n
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/libarchive/files/libarchive-1.02.027-osx.patch b/dev-libs/libarchive/files/libarchive-1.02.027-osx.patch
new file mode 100644
index 000000000000..5e7b056b526f
--- /dev/null
+++ b/dev-libs/libarchive/files/libarchive-1.02.027-osx.patch
@@ -0,0 +1,12 @@
+diff -ur libarchive-1.02.027/archive_platform.h libarchive-1.02.027-osx/archive_platform.h
+--- libarchive-1.02.027/archive_platform.h 2005-06-10 17:02:54.000000000 +0200
++++ libarchive-1.02.027-osx/archive_platform.h 2005-07-23 00:11:01.000000000 +0200
+@@ -126,7 +126,7 @@
+ * acl_set_file(), we assume it has the rest of the POSIX.1e draft
+ * functions used in archive_read_extract.c.
+ */
+-#if HAVE_SYS_ACL_H && HAVE_ACL_CREATE_ENTRY && HAVE_ACL_INIT && HAVE_ACL_SET_FILE
++#if HAVE_SYS_ACL_H && HAVE_ACL_CREATE_ENTRY && HAVE_ACL_INIT && HAVE_ACL_SET_FILE && ! __APPLE__
+ #define HAVE_POSIX_ACL 1
+ #endif
+
diff --git a/dev-libs/libarchive/libarchive-1.02.027.ebuild b/dev-libs/libarchive/libarchive-1.02.027.ebuild
index dab4283d25aa..2634a9cd401c 100644
--- a/dev-libs/libarchive/libarchive-1.02.027.ebuild
+++ b/dev-libs/libarchive/libarchive-1.02.027.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libarchive/libarchive-1.02.027.ebuild,v 1.2 2005/06/16 07:43:44 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libarchive/libarchive-1.02.027.ebuild,v 1.3 2005/07/22 22:40:39 flameeyes Exp $
+
+inherit eutils
DESCRIPTION="Library to create and read several different archive formats."
HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive/"
@@ -8,12 +10,19 @@ SRC_URI="http://people.freebsd.org/~kientzle/libarchive/src/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86"
IUSE=""
DEPEND="app-arch/bzip2
sys-libs/zlib"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-osx.patch
+}
+
src_install() {
make DESTDIR="${D}" install
}