dev-util/oprofile: remove old
authorAndrew Savchenko <bircoph@gentoo.org>
Sat, 22 Dec 2018 06:53:17 +0000 (09:53 +0300)
committerAndrew Savchenko <bircoph@gentoo.org>
Sat, 22 Dec 2018 06:54:07 +0000 (09:54 +0300)
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Package-Manager: Portage-2.3.52, Repoman-2.3.11

dev-util/oprofile/Manifest
dev-util/oprofile/files/oprofile-1.1.0-gcc6-template-depth.patch [deleted file]
dev-util/oprofile/files/oprofile-1.1.0-gcc6.patch [deleted file]
dev-util/oprofile/oprofile-1.1.0-r1.ebuild [deleted file]

index 9485fee3e1b25f45fa5c01acd55c8b81633d4cee..6e3bf9e62e34e5fb70e986386e700091848ff053 100644 (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
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
deleted file mode 100644 (file)
index 01fc869..0000000
+++ /dev/null
@@ -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
diff --git a/dev-util/oprofile/files/oprofile-1.1.0-gcc6.patch b/dev-util/oprofile/files/oprofile-1.1.0-gcc6.patch
deleted file mode 100644 (file)
index ab3ca7c..0000000
+++ /dev/null
@@ -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));
diff --git a/dev-util/oprofile/oprofile-1.1.0-r1.ebuild b/dev-util/oprofile/oprofile-1.1.0-r1.ebuild
deleted file mode 100644 (file)
index 2c8a16f..0000000
+++ /dev/null
@@ -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
-}