public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Savchenko" <bircoph@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/oprofile/files/, dev-util/oprofile/
Date: Mon, 21 Nov 2016 22:37:10 +0000 (UTC)	[thread overview]
Message-ID: <1479767810.4ea581785bda37bc01a20fbf5095c087e3bcda26.bircoph@gentoo> (raw)

commit:     4ea581785bda37bc01a20fbf5095c087e3bcda26
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 21 22:36:50 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Mon Nov 21 22:36:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ea58178

dev-util/oprofile: fix bug 600000

Remove -ftemplate-depth-50 limitation from configure: this is not
sufficient depth with gcc-6.2, see bug 600000 for details.

Package-Manager: portage-2.3.2
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 .../oprofile/files/oprofile-1.1.0-gcc6-template-depth.patch    | 10 ++++++++++
 dev-util/oprofile/oprofile-1.1.0-r1.ebuild                     |  5 ++++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/dev-util/oprofile/files/oprofile-1.1.0-gcc6-template-depth.patch b/dev-util/oprofile/files/oprofile-1.1.0-gcc6-template-depth.patch
new file mode 100644
index 00000000..01fc869
--- /dev/null
+++ b/dev-util/oprofile/files/oprofile-1.1.0-gcc6-template-depth.patch
@@ -0,0 +1,10 @@
+--- oprofile-1.1.0/configure.ac.orig	2015-07-21 17:53:27.000000000 +0300
++++ oprofile-1.1.0/configure.ac	2016-11-22 01:15:31.329067697 +0300
+@@ -320,7 +320,6 @@
+ AX_CXXFLAGS_OPTION(OP_CXXFLAGS,[-Wall])
+ AX_CFLAGS_OPTION(OP_CFLAGS,[-fno-common])
+ AX_CXXFLAGS_OPTION(OP_CXXFLAGS,[-fno-common])
+-AX_CXXFLAGS_OPTION(OP_CXXFLAGS,[-ftemplate-depth-50])
+ AX_CFLAGS_OPTION(OP_CFLAGS,[-Wdeclaration-after-statement])
+ 
+ dnl enable option to use GCC test coverage

diff --git a/dev-util/oprofile/oprofile-1.1.0-r1.ebuild b/dev-util/oprofile/oprofile-1.1.0-r1.ebuild
index 6e83c7c..57474e7 100644
--- a/dev-util/oprofile/oprofile-1.1.0-r1.ebuild
+++ b/dev-util/oprofile/oprofile-1.1.0-r1.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI="5"
-inherit eutils java-pkg-opt-2 linux-info multilib user
+inherit autotools eutils java-pkg-opt-2 linux-info multilib user
 
 MY_P=${PN}-${PV/_/-}
 DESCRIPTION="A transparent low-overhead system-wide profiler"
@@ -46,6 +46,9 @@ pkg_setup() {
 src_prepare() {
 	# fix bug #594178
 	epatch "${FILESDIR}/${PN}-1.1.0-gcc6.patch"
+	# bug #600000
+	epatch "${FILESDIR}/${PN}-1.1.0-gcc6-template-depth.patch"
+	eautoreconf
 }
 
 src_configure() {


             reply	other threads:[~2016-11-21 22:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-21 22:37 Andrew Savchenko [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-09 21:08 [gentoo-commits] repo/gentoo:master commit in: dev-util/oprofile/files/, dev-util/oprofile/ Andrew Savchenko
2020-09-05 11:05 Andrew Savchenko
2016-09-29 16:21 Andrew Savchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1479767810.4ea581785bda37bc01a20fbf5095c087e3bcda26.bircoph@gentoo \
    --to=bircoph@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox