summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-26 04:39:28 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-26 04:39:28 +0000
commit442e1f5436e48b07d941e7e8049cdb282e51dd35 (patch)
treef873dc3ab9ca45cc20c3ce60d7a59647a8900320 /app-arch/libarchive
parentStable for HPPA (bug #254583). (diff)
downloadgentoo-2-442e1f5436e48b07d941e7e8049cdb282e51dd35.tar.gz
gentoo-2-442e1f5436e48b07d941e7e8049cdb282e51dd35.tar.bz2
gentoo-2-442e1f5436e48b07d941e7e8049cdb282e51dd35.zip
Fix missing prototypes for *times functions.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'app-arch/libarchive')
-rw-r--r--app-arch/libarchive/ChangeLog6
-rw-r--r--app-arch/libarchive/files/libarchive-2.6.1-headers.patch20
-rw-r--r--app-arch/libarchive/libarchive-2.6.1.ebuild4
3 files changed, 27 insertions, 3 deletions
diff --git a/app-arch/libarchive/ChangeLog b/app-arch/libarchive/ChangeLog
index 3d37c48e317c..1c6b77707f96 100644
--- a/app-arch/libarchive/ChangeLog
+++ b/app-arch/libarchive/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-arch/libarchive
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.40 2009/01/20 11:09:56 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.41 2009/01/26 04:39:28 vapier Exp $
+
+ 26 Jan 2009; Mike Frysinger <vapier@gentoo.org>
+ +files/libarchive-2.6.1-headers.patch, libarchive-2.6.1.ebuild:
+ Fix missing prototypes for *times functions.
20 Jan 2009; Raúl Porcel <armin76@gentoo.org> libarchive-2.6.1.ebuild:
Add ~arm/~sh
diff --git a/app-arch/libarchive/files/libarchive-2.6.1-headers.patch b/app-arch/libarchive/files/libarchive-2.6.1-headers.patch
new file mode 100644
index 000000000000..059df5fc4ff9
--- /dev/null
+++ b/app-arch/libarchive/files/libarchive-2.6.1-headers.patch
@@ -0,0 +1,20 @@
+diff --git a/.libs/bsdcpio b/.libs/bsdcpio
+index 765bdfa..0cfa0f2 100755
+Binary files a/.libs/bsdcpio and b/.libs/bsdcpio differ
+diff --git a/cpio/bsdcpio-cpio.o b/cpio/bsdcpio-cpio.o
+index 691d75e..c17a703 100644
+Binary files a/cpio/bsdcpio-cpio.o and b/cpio/bsdcpio-cpio.o differ
+diff --git a/cpio/cpio.c b/cpio/cpio.c
+index 50bc997..1484582 100644
+--- a/cpio/cpio.c
++++ b/cpio/cpio.c
+@@ -60,6 +60,9 @@ __FBSDID("$FreeBSD: src/usr.bin/cpio/cpio.c,v 1.15 2008/12/06 07:30:40 kientzle
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
++#ifdef HAVE_SYS_TIME_H
++#include <sys/time.h>
++#endif
+
+ #include "cpio.h"
+ #include "matching.h"
diff --git a/app-arch/libarchive/libarchive-2.6.1.ebuild b/app-arch/libarchive/libarchive-2.6.1.ebuild
index 00bb30f535e9..69cf191be520 100644
--- a/app-arch/libarchive/libarchive-2.6.1.ebuild
+++ b/app-arch/libarchive/libarchive-2.6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-2.6.1.ebuild,v 1.2 2009/01/20 11:09:56 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-2.6.1.ebuild,v 1.3 2009/01/26 04:39:28 vapier Exp $
EAPI=1
@@ -34,7 +34,7 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
cd "${S}"
-
+ epatch "${FILESDIR}"/${P}-headers.patch
elibtoolize
epunt_cxx
}