diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-08-16 01:37:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-08-16 01:37:48 +0000 |
commit | 72c10f95abab5ee6482ae671da05f6a9da0e56e6 (patch) | |
tree | 08e82684aa95c4f5b437ba848fb4397a5bbaab20 /dev-util | |
parent | arm/sh stable (diff) | |
download | gentoo-2-72c10f95abab5ee6482ae671da05f6a9da0e56e6.tar.gz gentoo-2-72c10f95abab5ee6482ae671da05f6a9da0e56e6.tar.bz2 gentoo-2-72c10f95abab5ee6482ae671da05f6a9da0e56e6.zip |
old
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.1 x86_64, RepoMan options: --force)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/strace/files/strace-4.5.11-alpha-stat64.patch | 37 | ||||
-rw-r--r-- | dev-util/strace/files/strace-4.5.14-PT_GETSIGINFO.patch | 18 | ||||
-rw-r--r-- | dev-util/strace/files/strace-4.5.15-mips-sprintsigmask.patch | 13 | ||||
-rw-r--r-- | dev-util/strace/strace-4.5.14.ebuild | 68 | ||||
-rw-r--r-- | dev-util/strace/strace-4.5.15-r1.ebuild | 47 | ||||
-rw-r--r-- | dev-util/strace/strace-4.5.15.ebuild | 46 |
6 files changed, 0 insertions, 229 deletions
diff --git a/dev-util/strace/files/strace-4.5.11-alpha-stat64.patch b/dev-util/strace/files/strace-4.5.11-alpha-stat64.patch deleted file mode 100644 index e55f61d1f682..000000000000 --- a/dev-util/strace/files/strace-4.5.11-alpha-stat64.patch +++ /dev/null @@ -1,37 +0,0 @@ -Hack around an ugly issue. The only arch to provide the st_flags and st_gen -members of the stat structure is alpha. However, alpha only provides it for -stat and not stat64. So the autoconf script checks the stat structure for -all the relevant members but does not check stat64, thus setting up defines -that say these two members are present. To make matters worse, glibc defines -(via sys/stat.h -> bits/stat.h) both stat and stat64 with the st_flags and -st_gen members. Since file.c makes sure to hide the glibc defines and use the -kernel defines, even if we tried to detect stat64.st_flags and stat64.st_gen -in the autoconf script, the glibc headers would be parsed thereforce providing -false positives. - ---- file.c -+++ file.c -@@ -997,13 +997,6 @@ - tprintf("st_atime=%s, ", sprinttime(statbuf.st_atime)); - tprintf("st_mtime=%s, ", sprinttime(statbuf.st_mtime)); - tprintf("st_ctime=%s", sprinttime(statbuf.st_ctime)); --#if HAVE_STRUCT_STAT_ST_FLAGS -- tprintf(", st_flags="); -- if (statbuf.st_flags) { -- printflags(fileflags, statbuf.st_flags); -- } else -- tprintf("0"); --#endif - #if HAVE_STRUCT_STAT_ST_ACLCNT - tprintf(", st_aclcnt=%d", statbuf.st_aclcnt); - #endif -@@ -1014,9 +1007,6 @@ - tprintf(", st_fstype=%.*s", - (int) sizeof statbuf.st_fstype, statbuf.st_fstype); - #endif --#if HAVE_STRUCT_STAT_ST_GEN -- tprintf(", st_gen=%u", statbuf.st_gen); --#endif - tprintf("}"); - } - else diff --git a/dev-util/strace/files/strace-4.5.14-PT_GETSIGINFO.patch b/dev-util/strace/files/strace-4.5.14-PT_GETSIGINFO.patch deleted file mode 100644 index 3e2ba7e3b182..000000000000 --- a/dev-util/strace/files/strace-4.5.14-PT_GETSIGINFO.patch +++ /dev/null @@ -1,18 +0,0 @@ -strace assumes that if PT_GETSIGINFO is defined, you're building for ia64 as -this was the only architecture that exported PT_GETSIGINFO via glibc userspace -headers. with newer glibc's, support for PT_GETSIGINFO has been added to all -linux architectures so we can no longer assume PT_GETSIGINFO == ia64. - -http://bugs.gentoo.org/149945 - ---- strace.c 11 Oct 2006 22:55:25 -0000 1.71 -+++ strace.c 11 Oct 2006 23:11:44 -0000 1.72 -@@ -2261,7 +2261,7 @@ Process %d attached (waiting for parent) - if (!cflag - && (qual_flags[WSTOPSIG(status)] & QUAL_SIGNAL)) { - unsigned long addr = 0, pc = 0; --#ifdef PT_GETSIGINFO -+#if defined(PT_CR_IPSR) && defined(PT_CR_IIP) && defined(PT_GETSIGINFO) - # define PSR_RI 41 - struct siginfo si; - unsigned long psr; diff --git a/dev-util/strace/files/strace-4.5.15-mips-sprintsigmask.patch b/dev-util/strace/files/strace-4.5.15-mips-sprintsigmask.patch deleted file mode 100644 index 2f7c2ac39bf1..000000000000 --- a/dev-util/strace/files/strace-4.5.15-mips-sprintsigmask.patch +++ /dev/null @@ -1,13 +0,0 @@ -local sprintsigmask() now takes three args rather than two - ---- signal.c -+++ signal.c -@@ -1440,7 +1440,7 @@ struct tcb *tcp; - tcp->u_rval = tcp->u_error = 0; - if(tcp->u_arg[0] == 0) - return 0; -- tcp->auxstr = sprintsigmask("mask now ", tcp->u_arg[1]); -+ tcp->auxstr = sprintsigmask("mask now ", tcp->u_arg[1], 0); - return RVAL_NONE | RVAL_STR; - } - return 0; diff --git a/dev-util/strace/strace-4.5.14.ebuild b/dev-util/strace/strace-4.5.14.ebuild deleted file mode 100644 index af267b34e99c..000000000000 --- a/dev-util/strace/strace-4.5.14.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.5.14.ebuild,v 1.15 2007/12/15 16:26:06 vapier Exp $ - -WANT_AUTOCONF="latest" -WANT_AUTOMAKE="latest" -inherit flag-o-matic autotools - -DESCRIPTION="A useful diagnostic, instructional, and debugging tool" -HOMEPAGE="http://sourceforge.net/projects/strace/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 ~s390 sh sparc x86" -IUSE="static aio" - -DEPEND="aio? ( dev-libs/libaio )" - -src_unpack() { - unpack ${A} - cd "${S}" - - [[ ${CHOST} == *-freebsd* ]] && epatch "${FILESDIR}"/${PN}-4.5.11-fbsd.patch - - epatch "${FILESDIR}"/${P}-PT_GETSIGINFO.patch #149945 - - # Fix SuperH support - epatch "${FILESDIR}"/strace-dont-use-REG_SYSCALL-for-sh.patch - epatch "${FILESDIR}"/${PN}-4.5.12-superh-update.patch - - # Fix building on older ARM machines - epatch "${FILESDIR}"/strace-undef-syscall.patch - epatch "${FILESDIR}"/strace-fix-arm-bad-syscall.patch - - # Fix libaio support #103427 - epatch "${FILESDIR}"/${PN}-4.5.12-libaio.patch - - # Remove some obsolete ia64-related hacks from the strace source - # (08 Feb 2005 agriffis) - epatch "${FILESDIR}"/strace-4.5.8-ia64.patch - - epatch "${FILESDIR}"/${P}-CTL_PROC.patch #150907 - - eautoreconf -} - -src_compile() { - # Compile fails with -O3 on sparc but works on x86 - use sparc && replace-flags -O3 -O2 - filter-lfs-flags - - use static && append-ldflags -static - - econf $(use_enable aio libaio) || die - emake || die -} - -src_install() { - # Can't use make install because it is stupid and - # doesn't make leading directories before trying to - # install. Thus, one would have to make /usr/bin - # and /usr/man/man1 (at least). - # So, we do it by hand. - doman strace.1 - dobin strace strace-graph || die - dodoc ChangeLog CREDITS NEWS PORTING README* TODO -} diff --git a/dev-util/strace/strace-4.5.15-r1.ebuild b/dev-util/strace/strace-4.5.15-r1.ebuild deleted file mode 100644 index 4f604baa8072..000000000000 --- a/dev-util/strace/strace-4.5.15-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.5.15-r1.ebuild,v 1.3 2007/12/15 16:26:06 vapier Exp $ - -inherit flag-o-matic autotools - -DESCRIPTION="A useful diagnostic, instructional, and debugging tool" -HOMEPAGE="http://sourceforge.net/projects/strace/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="static aio" - -DEPEND="aio? ( dev-libs/libaio )" - -src_unpack() { - unpack ${A} - cd "${S}" - - #epatch "${FILESDIR}"/${PN}-4.5.11-fbsd.patch - - epatch "${FILESDIR}"/${PN}-4.5.15-invalid-time.patch #186369 - epatch "${FILESDIR}"/strace-dont-use-REG_SYSCALL-for-sh.patch - epatch "${FILESDIR}"/${PN}-4.5.12-superh-update.patch - epatch "${FILESDIR}"/${PN}-4.5.15-sh-SYS_ipc_subcall.patch - epatch "${FILESDIR}"/strace-fix-arm-bad-syscall.patch - epatch "${FILESDIR}"/${PN}-4.5.15-mips-sprintsigmask.patch - epatch "${FILESDIR}"/${PN}-4.5.12-libaio.patch #103427 - - eautoreconf -} - -src_compile() { - filter-lfs-flags - - use static && append-ldflags -static - - econf $(use_enable aio libaio) || die - emake || die -} - -src_install() { - emake install DESTDIR="${D}" || die - dodoc ChangeLog CREDITS NEWS PORTING README* TODO -} diff --git a/dev-util/strace/strace-4.5.15.ebuild b/dev-util/strace/strace-4.5.15.ebuild deleted file mode 100644 index 45c5942fa06b..000000000000 --- a/dev-util/strace/strace-4.5.15.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.5.15.ebuild,v 1.11 2007/12/15 16:26:06 vapier Exp $ - -inherit flag-o-matic autotools - -DESCRIPTION="A useful diagnostic, instructional, and debugging tool" -HOMEPAGE="http://sourceforge.net/projects/strace/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 ~s390 sh ~sparc x86" -IUSE="static aio" - -DEPEND="aio? ( dev-libs/libaio )" - -src_unpack() { - unpack ${A} - cd "${S}" - - #epatch "${FILESDIR}"/${PN}-4.5.11-fbsd.patch - - epatch "${FILESDIR}"/strace-dont-use-REG_SYSCALL-for-sh.patch - epatch "${FILESDIR}"/${PN}-4.5.12-superh-update.patch - epatch "${FILESDIR}"/${PN}-4.5.15-sh-SYS_ipc_subcall.patch - epatch "${FILESDIR}"/strace-fix-arm-bad-syscall.patch - epatch "${FILESDIR}"/${PN}-4.5.15-mips-sprintsigmask.patch - epatch "${FILESDIR}"/${PN}-4.5.12-libaio.patch #103427 - - eautoreconf -} - -src_compile() { - filter-lfs-flags - - use static && append-ldflags -static - - econf $(use_enable aio libaio) || die - emake || die -} - -src_install() { - emake install DESTDIR="${D}" || die - dodoc ChangeLog CREDITS NEWS PORTING README* TODO -} |