From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C238A1382DE for ; Mon, 27 Jun 2016 21:43:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F032A14245; Mon, 27 Jun 2016 21:43:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 804F914245 for ; Mon, 27 Jun 2016 21:43:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5136340D31 for ; Mon, 27 Jun 2016 21:43:14 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 570D423BD for ; Mon, 27 Jun 2016 21:43:13 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1467063777.a2bc2463c651af12b93f4d46d6d4d890ec94ee45.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ltrace/files/, dev-util/ltrace/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch dev-util/ltrace/ltrace-0.7.3_p4.ebuild X-VCS-Directories: dev-util/ltrace/ dev-util/ltrace/files/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: a2bc2463c651af12b93f4d46d6d4d890ec94ee45 X-VCS-Branch: master Date: Mon, 27 Jun 2016 21:43:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d5b0c4c8-459f-4298-ace8-48a67111d24d X-Archives-Hash: 96397f64dc2e6ff4a8fa9081a059a095 commit: a2bc2463c651af12b93f4d46d6d4d890ec94ee45 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Jun 27 21:40:19 2016 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Jun 27 21:42:57 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2bc2463 dev-util/ltrace: restore basic alpha support Builds successfully on gcc-5.4.0 and can trace calls to calls like 'gcc -v'. Package-Manager: portage-2.3.0 dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch | 14 ++++++++++++++ dev-util/ltrace/ltrace-0.7.3_p4.ebuild | 5 +++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch b/dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch new file mode 100644 index 0000000..659952b --- /dev/null +++ b/dev-util/ltrace/files/ltrace-0.7.3-alpha-protos.patch @@ -0,0 +1,14 @@ +Fix build failure on alpha: + plt.c:32:12: error: dereferencing pointer to incomplete type ‘struct library_symbol’ + return sym->enter_addr; + ^ +diff -U0 -raN ltrace-0.7.3/sysdeps/linux-gnu/alpha/plt.c ltrace-0.7.3/sysdeps/linux-gnu/alpha/plt.c +--- ltrace-0.7.3_p4/work/ltrace-0.7.3/sysdeps/linux-gnu/alpha/plt.c 2012-11-10 13:43:55.000000000 +0100 ++++ foo/work/ltrace-0.7.3/sysdeps/linux-gnu/alpha/plt.c 2016-06-27 23:21:28.000000000 +0200 +@@ -23,0 +24 @@ ++#include "library.h" +diff -U0 -raN ltrace-0.7.3/sysdeps/linux-gnu/alpha/trace.c ltrace-0.7.3/sysdeps/linux-gnu/alpha/trace.c +--- ltrace-0.7.3_p4/work/ltrace-0.7.3/sysdeps/linux-gnu/alpha/trace.c 2016-06-27 23:30:08.000000000 +0200 ++++ foo/work/ltrace-0.7.3/sysdeps/linux-gnu/alpha/trace.c 2016-06-27 23:25:20.000000000 +0200 +@@ -29,0 +30 @@ ++#include "backend.h" diff --git a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild index 5ee60c2..22394b2 100644 --- a/dev-util/ltrace/ltrace-0.7.3_p4.ebuild +++ b/dev-util/ltrace/ltrace-0.7.3_p4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="-alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="debug selinux test unwind" RDEPEND="dev-libs/elfutils @@ -32,6 +32,7 @@ S=${WORKDIR}/${PN}-${LTRACE_V} src_prepare() { epatch "${WORKDIR}"/debian/patches/[0-9]* epatch "${FILESDIR}"/${PN}-0.7.3-test-protos.patch #bug 421649 + epatch "${FILESDIR}"/${PN}-0.7.3-alpha-protos.patch sed -i '/^dist_doc_DATA/d' Makefile.am || die eautoreconf }