summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-26 20:45:09 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-26 20:45:09 +0000
commitb7a02dd6902dab562a8c6d5c8d293a7cf766a82e (patch)
tree837ddafb1a100655e376e42cd77aae446967445f /dev-util/oprofile
parentAdd check for libgnomeui; bug #263367 (diff)
downloadhistorical-b7a02dd6902dab562a8c6d5c8d293a7cf766a82e.tar.gz
historical-b7a02dd6902dab562a8c6d5c8d293a7cf766a82e.tar.bz2
historical-b7a02dd6902dab562a8c6d5c8d293a7cf766a82e.zip
Add patch to fix building with glibc-2.10. Closes bug #270640.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-util/oprofile')
-rw-r--r--dev-util/oprofile/ChangeLog8
-rw-r--r--dev-util/oprofile/Manifest13
-rw-r--r--dev-util/oprofile/files/oprofile-0.9.4+glibc-2.10.patch14
-rw-r--r--dev-util/oprofile/oprofile-0.9.4.ebuild7
4 files changed, 32 insertions, 10 deletions
diff --git a/dev-util/oprofile/ChangeLog b/dev-util/oprofile/ChangeLog
index 962a3541bed7..82d240f8afa3 100644
--- a/dev-util/oprofile/ChangeLog
+++ b/dev-util/oprofile/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/oprofile
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.56 2009/03/22 07:51:19 spock Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.57 2009/05/26 20:45:09 flameeyes Exp $
+
+ 26 May 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ oprofile-0.9.4.ebuild, +files/oprofile-0.9.4+glibc-2.10.patch:
+ Add patch to fix building with glibc-2.10. Closes bug #270640.
21 Mar 2009; Michał Januszewski <spock@gentoo.org> oprofile-0.9.4.ebuild:
Fix the postinst messages so that they point to the correct location of
diff --git a/dev-util/oprofile/Manifest b/dev-util/oprofile/Manifest
index aa6df949dd16..c1835ba6cd24 100644
--- a/dev-util/oprofile/Manifest
+++ b/dev-util/oprofile/Manifest
@@ -2,18 +2,19 @@
Hash: SHA1
AUX oprofile-0.9.3-gcc43.patch 7398 RMD160 bf6bab5b7d1fe489a0992940cc893a1db82acc03 SHA1 4c502e095bdc2128b9891525f86d97fa614880a5 SHA256 c217da3603574d43312f50a3298705fde96cc4148aeb6f44c20a3367db7fb69e
+AUX oprofile-0.9.4+glibc-2.10.patch 480 RMD160 0eb43059db5e0e588e45221fbbbb21c9fedf1460 SHA1 68f88c720f6f2b0e84cd1217e1ee166802fba35a SHA256 7cb6fec22876c45177924f37c3da08615734983d63b2073f34e2f1649024ed82
AUX oprofile-0.9.4-gcc43.patch 763 RMD160 a7b8ed320ca1a2dca5b027d62ae372fc5e694cfe SHA1 b4f2c2949151906a0b3dc3667b1d338e97756a2b SHA256 a41cf6f4e4319ba7d45956bd1df4af8463dcaa8e5c4b1cad1762d61f33e4a2b9
AUX oprofile-0.9.4-open.patch 340 RMD160 9fb456aaf762a2d90d89cf9008970e35e331c2d4 SHA1 7413eef585b81234a15b95a3c16ec8f6b092b78f SHA256 e8b7ada2dfc5b73c3fba630b3765e46eddc554df8b76bd9b68ac965e21881768
DIST oprofile-0.9.3.tar.gz 853593 RMD160 adcacb204b9061aebf761d6545e4f0b1ba1c4608 SHA1 88aab6c2259423548977d8485467aee98b35ed33 SHA256 4f86ab165dabcc7bc4008710a66fa0ed391c083e2a8bdf8a8f5bf11c0244b2cb
DIST oprofile-0.9.4.tar.gz 1229744 RMD160 5653f852a4d67edeedacb51e8f0c02ec8e165377 SHA1 8609b6bec7769eaaf8b8703ecde33f18f8a8a195 SHA256 cb1452159036ba7d3003b75dfef38fcbc61503f76adfca2879ebf7766931cade
EBUILD oprofile-0.9.3.ebuild 2008 RMD160 c55ff9d03e8652c94ca40271c78865feafa810c8 SHA1 a50caf92d3cb108d45ab9e113a76d888281f3c43 SHA256 8ef32a1058ff322f3f8fb7c8dfa54a610cee3cdfc9de23c2a046327cb6810bcf
-EBUILD oprofile-0.9.4.ebuild 2221 RMD160 47c820cb0839ff4abd952e57abfdb4b294e84516 SHA1 296a5d2a407e918b97cc39e882b6cb2963c5e987 SHA256 2b88a38a9600719890454b361b453746e0138b1816c6aec7e3ab5681daa6b7e5
-MISC ChangeLog 7847 RMD160 a2a33acdbc96d137e4d4c5beb8c2bdc346ab6836 SHA1 5e4ec2ce2e32c1e55374f3f27ea6ad0c601bcd72 SHA256 f590d9590f380918635b0ac1736582e278c91441004cf6d97b328dbb88b5c48d
+EBUILD oprofile-0.9.4.ebuild 2293 RMD160 c3c760d90adbe513f1d3a4f490336b12afeb33de SHA1 e8312d6558f3d5b2c8e3e70f81c2b5e4ddc52502 SHA256 87b8ce3123f82e0b7ef63fb584a80fd4794e84611296fda7abee785aace34ba2
+MISC ChangeLog 8038 RMD160 eb636da9fbc630f1d194c8a7f5179ad48bbc79fd SHA1 f6b88fc6e34e80b09e0fc687a90525999bb5a3f9 SHA256 014659924ac15f5249bec12e3c7b1892b88d4ea7a8824cf407ec8d65ad55b1a5
MISC metadata.xml 307 RMD160 c409719a8668e511d68d18b694941a938d6fcf60 SHA1 c547c9982ae42542ad182642ca3d5608f83e202a SHA256 0df423537a6bebf20bf0422e63cc497468f4926c27c0025c8703db116cdefb69
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.10 (GNU/Linux)
+Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAknF7gQACgkQchej4aZK9/cBWgCfW2X6ddXNNVVSioUePbCuRwlb
-TyIAn2ik7KBDx1ws1Pwo1I14J46xttHV
-=0cTV
+iEYEARECAAYFAkocVNoACgkQAiZjviIA2XjdywCg0LLkfdpsLczFGfSMMkiM9sZm
+3tMAn1yGp2VPzjqQvk58/BCE2v/pAzcS
+=N31a
-----END PGP SIGNATURE-----
diff --git a/dev-util/oprofile/files/oprofile-0.9.4+glibc-2.10.patch b/dev-util/oprofile/files/oprofile-0.9.4+glibc-2.10.patch
new file mode 100644
index 000000000000..fa3d5bb53a56
--- /dev/null
+++ b/dev-util/oprofile/files/oprofile-0.9.4+glibc-2.10.patch
@@ -0,0 +1,14 @@
+Index: oprofile-0.9.4/configure.in
+===================================================================
+--- oprofile-0.9.4.orig/configure.in
++++ oprofile-0.9.4/configure.in
+@@ -96,6 +96,9 @@ ORIG_SAVE_LIBS="$LIBS"
+ dnl advanced glibc features which we need but may not be present
+ AC_CHECK_FUNCS(sched_setaffinity perfmonctl)
+
++AC_USE_SYSTEM_EXTENSIONS
++AC_CHECK_DECLS_ONCE([basename])
++
+ AC_CHECK_LIB(popt, poptGetContext,, AC_MSG_ERROR([popt library not found]))
+
+ AX_BINUTILS
diff --git a/dev-util/oprofile/oprofile-0.9.4.ebuild b/dev-util/oprofile/oprofile-0.9.4.ebuild
index 5c65a424cb54..766c09e788f8 100644
--- a/dev-util/oprofile/oprofile-0.9.4.ebuild
+++ b/dev-util/oprofile/oprofile-0.9.4.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.4.ebuild,v 1.7 2009/03/22 07:51:19 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.4.ebuild,v 1.8 2009/05/26 20:45:09 flameeyes Exp $
EAPI=1
-inherit eutils qt3 linux-info
+inherit eutils qt3 linux-info autotools
DESCRIPTION="A transparent low-overhead system-wide profiler"
HOMEPAGE="http://oprofile.sourceforge.net"
@@ -32,6 +32,9 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}/${P}-gcc43.patch"
epatch "${FILESDIR}/${P}-open.patch"
+ epatch "${FILESDIR}/${P}+glibc-2.10.patch"
+
+ eautoreconf
}
src_compile() {