diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-09-12 19:41:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-09-12 19:41:07 +0000 |
commit | fafb28382e53245f0b1f9462b8ff40967fa8602a (patch) | |
tree | 4e36b7299ea702aa6be761397f0126adf54d44c4 /dev-util | |
parent | Update HOMEPAGE and SRC_URI. (diff) | |
download | gentoo-2-fafb28382e53245f0b1f9462b8ff40967fa8602a.tar.gz gentoo-2-fafb28382e53245f0b1f9462b8ff40967fa8602a.tar.bz2 gentoo-2-fafb28382e53245f0b1f9462b8ff40967fa8602a.zip |
Add fix from upstream for building on sparc #336939 by Raúl Porcel.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/strace/ChangeLog | 6 | ||||
-rw-r--r-- | dev-util/strace/files/strace-4.5.20-sparc.patch | 42 | ||||
-rw-r--r-- | dev-util/strace/strace-4.5.20.ebuild | 10 |
3 files changed, 53 insertions, 5 deletions
diff --git a/dev-util/strace/ChangeLog b/dev-util/strace/ChangeLog index 17e87080845f..d52300eeff01 100644 --- a/dev-util/strace/ChangeLog +++ b/dev-util/strace/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/strace # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/ChangeLog,v 1.147 2010/08/30 18:11:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/ChangeLog,v 1.148 2010/09/12 19:41:07 vapier Exp $ + + 12 Sep 2010; Mike Frysinger <vapier@gentoo.org> strace-4.5.20.ebuild, + +files/strace-4.5.20-sparc.patch: + Add fix from upstream for building on sparc #336939 by Raúl Porcel. 30 Aug 2010; Mike Frysinger <vapier@gentoo.org> strace-4.5.19.ebuild: Mark sh stable #297079. diff --git a/dev-util/strace/files/strace-4.5.20-sparc.patch b/dev-util/strace/files/strace-4.5.20-sparc.patch new file mode 100644 index 000000000000..daae6accdb42 --- /dev/null +++ b/dev-util/strace/files/strace-4.5.20-sparc.patch @@ -0,0 +1,42 @@ +https://bugs.gentoo.org/336939 + +From b7915d15b813c56a36510e942fa4e5ec21307924 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Frederik=20Sch=C3=BCler?= <fs@debian.org> +Date: Thu, 29 Apr 2010 00:48:45 +0200 +Subject: [PATCH] linux/sparc: add missing syscall declarations +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +* linux/sparc/syscall.h: Sync with linux/syscall.h + +Signed-off-by: Frederik Schüler <fs@debian.org> +--- + linux/sparc/syscall.h | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) + +diff --git a/linux/sparc/syscall.h b/linux/sparc/syscall.h +index 03e3a71..07bc777 100644 +--- a/linux/sparc/syscall.h ++++ b/linux/sparc/syscall.h +@@ -208,12 +208,17 @@ int sys_timer_create(), sys_timer_settime(), sys_timer_gettime(); + int sys_io_setup(), sys_io_destroy(), sys_io_submit(), sys_io_cancel(), sys_io_getevents(); + int sys_mq_open(), sys_mq_unlink(), sys_mq_timedsend(), sys_mq_timedreceive(), sys_mq_notify(), sys_mq_getsetattr(); + int sys_waitid(); ++int sys_mbind(), sys_get_mempolicy(), sys_set_mempolicy(); ++int sys_utimensat(); ++int sys_fallocate(), sys_timerfd_create(), sys_timerfd_settime(), sys_timerfd_gettime(); + int sys_openat(), sys_mkdirat(), sys_mknodat(), sys_fchownat(), sys_futimesat(), sys_newfstatat(), sys_unlinkat(), sys_renameat(), sys_linkat(), sys_symlinkat(), sys_readlinkat(), sys_fchmodat(), sys_faccessat(); + int sys_pselect6(), sys_ppoll(); + int sys_unshare(); + int sys_move_pages(), sys_getcpu(); + int sys_epoll_pwait(); + int sys_signalfd(), sys_timerfd(), sys_eventfd(); ++int sys_signalfd4(), sys_eventfd2(), sys_epoll_create1(), sys_dup3(), sys_pipe2(); ++int sys_inotify_init1(); + + # define SYS_socket_subcall 353 + #define SYS_sub_socket (SYS_socket_subcall + 1) +-- +1.7.2 + diff --git a/dev-util/strace/strace-4.5.20.ebuild b/dev-util/strace/strace-4.5.20.ebuild index 436d02386586..f258d40710b5 100644 --- a/dev-util/strace/strace-4.5.20.ebuild +++ b/dev-util/strace/strace-4.5.20.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.5.20.ebuild,v 1.1 2010/04/16 21:27:29 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.5.20.ebuild,v 1.2 2010/09/12 19:41:07 vapier Exp $ + +EAPI="2" inherit flag-o-matic @@ -17,13 +19,13 @@ IUSE="static aio" DEPEND="aio? ( >=dev-libs/libaio-0.3.106 )" RDEPEND="" -src_compile() { +src_prepare() { + epatch "${FILESDIR}"/${P}-sparc.patch #336939 + filter-lfs-flags # configure handles this sanely use static && append-ldflags -static use aio || export ac_cv_header_libaio_h=no # - econf || die - emake || die } src_install() { |