dev-util/oprofile: remove old

Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Package-Manager: Portage-2.3.52, Repoman-2.3.11
This commit is contained in:
Andrew Savchenko
2018-12-22 09:53:17 +03:00
parent 5fb473b281
commit f4a8f28537
4 changed files with 0 additions and 116 deletions

View File

@@ -1,3 +1,2 @@
DIST oprofile-1.1.0.tar.gz 1468502 BLAKE2B 5c0abdf1ce6f3fa9b7140036ff654b2f5d5e29d996afec834014c141a4669e57c1d4ac60d6705c35ee1dce23ce790e07063b58508abd39b6562b7298744e2eb4 SHA512 b26f67f20172a4912c0aafb3adf83f9084ea62b9ca89e4cfcb3e13276114a05b07587f7d250028995a10c39ae993e2bce271be11688010473ab9f0fd81715758
DIST oprofile-1.2.0.tar.gz 1533343 BLAKE2B 873433ddba11389a221ff3b6eb6b8b19748ac4989232bda7d9af698b95dedf8ecd1112dce3accab5e1b40c87287901c015eec167713b9ad11daa0a0f0e3255f9 SHA512 d642d9a8d71ad271a80d21806ffd8522613830f450a71dc531005e940f31f683936691898d381a31f8913715361db8c1713dfe3744a5f9214419349f6504717d
DIST oprofile-1.3.0.tar.gz 1547258 BLAKE2B d8777e41856dc2f082570a1542609bd730fd7076000443f2e17c77eaf75df7a7a772ebb49d82ee657f563797858cecb4c23b130b0174d154c54d5619b8528ad1 SHA512 02a940cd8d38834dca2a97c8ac0fff04ef95b3819cfdf74a462b9326c7abbf2dc55d2a9b9d1fbefc7f455465bf85516be2b879d7daf1861ba2c4af51214377ba

View File

@@ -1,10 +0,0 @@
--- 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

View File

@@ -1,30 +0,0 @@
--- a/libop/op_alloc_counter.c
+++ b/libop/op_alloc_counter.c
@@ -171,7 +171,7 @@
/* no counters then probably perfmon managing perfmon hw */
if (nr_counters <= 0) {
nr_counters = op_get_nr_counters(cpu_type);
- unavailable_counters = (~0) << nr_counters;
+ unavailable_counters = (~0U) << nr_counters;
}
/* Check to see if we have enough physical counters to map events*/
--- a/libutil++/op_bfd.cpp
+++ b/libutil++/op_bfd.cpp
@@ -535,15 +535,13 @@
{
op_bfd_symbol const & sym = syms[sym_idx];
- bool const verbose = cverb << (vbfd & vlevel1);
-
if (anon_obj)
start = sym.vma();
else
start = sym.filepos();
end = start + sym.size();
- if (!verbose)
+ if (!(cverb << (vbfd & vlevel1)))
return;
io_state state(cverb << (vbfd & vlevel1));

View File

@@ -1,75 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
inherit autotools eutils java-pkg-opt-2 linux-info multilib user
MY_P=${PN}-${PV/_/-}
DESCRIPTION="A transparent low-overhead system-wide profiler"
HOMEPAGE="http://${PN}.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ~mips ppc ppc64 sparc x86"
IUSE="java pch"
RDEPEND=">=dev-libs/popt-1.7-r1
sys-libs/binutils-libs:=
>=sys-libs/glibc-2.3.2-r1
java? ( >=virtual/jdk-1.5:= )
ppc64? ( dev-libs/libpfm )"
DEPEND="${RDEPEND}
>=sys-kernel/linux-headers-2.6.31"
S="${WORKDIR}/${MY_P}"
CONFIG_CHECK="PERF_EVENTS"
ERROR_PERF_EVENTS="CONFIG_PERF_EVENTS is mandatory for ${PN} to work."
pkg_setup() {
linux-info_pkg_setup
if ! kernel_is -ge 2 6 31; then
echo
ewarn "Support for kernels before 2.6.31 has been dropped in ${PN}-1.0.0."
echo
fi
# Required for JIT support, see README_PACKAGERS
enewgroup ${PN}
enewuser ${PN} -1 -1 -1 ${PN}
use java && java-pkg_init
}
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() {
econf \
--disable-werror \
$(use_enable pch) \
$(use_with java java ${JAVA_HOME})
}
src_install() {
emake DESTDIR="${D}" htmldir="/usr/share/doc/${PF}" install
dodoc ChangeLog* README TODO
echo "LDPATH=${PREFIX}/usr/$(get_libdir)/${PN}" > "${T}/10${PN}"
doenvd "${T}/10${PN}"
}
pkg_postinst() {
echo
elog "Starting from ${PN}-1.0.0 opcontrol was removed, use operf instead."
elog "CONFIG_OPROFILE is no longer used, you may remove it from your kernels."
elog "Please read manpages and this html doc:"
elog " /usr/share/doc/${PF}/${PN}.html"
echo
}