diff options
author | Stefan Jones <cretin@gentoo.org> | 2003-09-01 20:35:35 +0000 |
---|---|---|
committer | Stefan Jones <cretin@gentoo.org> | 2003-09-01 20:35:35 +0000 |
commit | b38143cc4da0d870416198a88b7d02e4c6221a29 (patch) | |
tree | fdf1c8d8fc4ff2e73f282ceef9ea84d63e952e4b /dev-libs/elfutils | |
parent | Initial import (diff) | |
download | historical-b38143cc4da0d870416198a88b7d02e4c6221a29.tar.gz historical-b38143cc4da0d870416198a88b7d02e4c6221a29.tar.bz2 historical-b38143cc4da0d870416198a88b7d02e4c6221a29.zip |
fix bug 27372, compile on alpha, and up to >=glibc-2.3.2
Diffstat (limited to 'dev-libs/elfutils')
-rw-r--r-- | dev-libs/elfutils/ChangeLog | 5 | ||||
-rw-r--r-- | dev-libs/elfutils/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/elfutils/elfutils-0.84.ebuild | 6 | ||||
-rw-r--r-- | dev-libs/elfutils/files/elfutils-0.84-atime.diff | 18 |
4 files changed, 29 insertions, 5 deletions
diff --git a/dev-libs/elfutils/ChangeLog b/dev-libs/elfutils/ChangeLog index 61f987ba61c7..bb0e714986ad 100644 --- a/dev-libs/elfutils/ChangeLog +++ b/dev-libs/elfutils/ChangeLog @@ -1,12 +1,15 @@ # ChangeLog for dev-libs/elfutils # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.16 2003/08/30 12:38:45 cretin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.17 2003/09/01 20:35:32 cretin Exp $ 23 Aug 2003; Luca Barbato <lu_zero@gentoo.org> : Setting ppc for elfutils-0.76-r2, fixes bug 27017. *elfutils-0.84 (23 Aug 2003) + 01 Sep 2003; Stefan Jones <cretin@gentoo.org> : + Add patch for alpha for st_atime, bug #27372 + 27 Aug 2003; Stefan Jones <cretin@gentoo.org> : Mark stable as unstable till sys-devel/binutils-2.14.90.0.6-r1 becomes stable, without it fails to compile diff --git a/dev-libs/elfutils/Manifest b/dev-libs/elfutils/Manifest index e788d1a5de28..3bb6dfe7da6b 100644 --- a/dev-libs/elfutils/Manifest +++ b/dev-libs/elfutils/Manifest @@ -1,10 +1,11 @@ MD5 60c073ad87bb8a33948ac2a50a64524f elfutils-0.76-r2.ebuild 1275 -MD5 ba900e3e539d9356105e1533572b0b7b elfutils-0.84.ebuild 1237 +MD5 8751f7e9ee66eae04d395daba30f7218 elfutils-0.84.ebuild 1296 MD5 5a3ada30731370639676305792968b7b elfutils-0.72.ebuild 960 MD5 885eae2d29d9e49c2cc205a0112926e9 elfutils-0.76-r1.ebuild 1220 MD5 221ffb37f5e6c385358719a3f6764d63 elfutils-0.76.ebuild 1190 -MD5 34f6a2915ca53b1f862635fb2b957d76 ChangeLog 2310 +MD5 c3dfc8915ce856749af9c0a07002fe27 ChangeLog 2408 MD5 5d9fde09514f443f04fb7f8ea599a451 elfutils-0.73.ebuild 960 +MD5 047333404e596c3ff55996698cf0c7ec files/elfutils-0.84-atime.diff 528 MD5 6cf1b4c89c8668b6f6ac5713b8b496c7 files/elfutils-0.76-hidden.diff 789 MD5 6cbd1797e98b78a920f6c33f1f2f3d57 files/digest-elfutils-0.76-r1 65 MD5 6cbd1797e98b78a920f6c33f1f2f3d57 files/digest-elfutils-0.76-r2 65 diff --git a/dev-libs/elfutils/elfutils-0.84.ebuild b/dev-libs/elfutils/elfutils-0.84.ebuild index 727b48212b0b..046ee23437fb 100644 --- a/dev-libs/elfutils/elfutils-0.84.ebuild +++ b/dev-libs/elfutils/elfutils-0.84.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.84.ebuild,v 1.3 2003/08/30 12:38:45 cretin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.84.ebuild,v 1.4 2003/09/01 20:35:32 cretin Exp $ inherit eutils @@ -16,7 +16,7 @@ LICENSE="OpenSoftware" SLOT="0" KEYWORDS="~x86 ~sparc ~ppc ~alpha ~hppa" -DEPEND="virtual/glibc +DEPEND=">=sys-libs/glibc-2.3.2 >=sys-devel/gcc-3.2.1-r6 !dev-libs/libelf" @@ -28,6 +28,8 @@ src_unpack() { sed -e 's:-Werror::g' \ ${x}.orig > ${x} done + + use alpha && epatch ${FILESDIR}/${P}-atime.diff } src_compile() { diff --git a/dev-libs/elfutils/files/elfutils-0.84-atime.diff b/dev-libs/elfutils/files/elfutils-0.84-atime.diff new file mode 100644 index 000000000000..e01de380fb5f --- /dev/null +++ b/dev-libs/elfutils/files/elfutils-0.84-atime.diff @@ -0,0 +1,18 @@ +--- elfutils-0.84/src/strip.c.jj 2003-09-01 21:26:01.969396280 +0100 ++++ elfutils-0.84/src/strip.c 2003-09-01 21:26:11.984873696 +0100 +@@ -271,8 +271,15 @@ + format utimes() understands. */ + struct timeval tv[2]; + ++/* + TIMESPEC_TO_TIMEVAL (&tv[0], &st.st_atim); + TIMESPEC_TO_TIMEVAL (&tv[1], &st.st_mtim); ++ */ ++ ++ tv[0].tv_sec = st.st_atime; ++ tv[0].tv_usec = 0; ++ tv[1].tv_sec = st.st_mtime; ++ tv[1].tv_usec = 0; + + int result = handle_elf (fd, elf, NULL, fname, + st.st_mode & ACCESSPERMS, |