diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-05-26 20:45:09 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-05-26 20:45:09 +0000 |
commit | b7a02dd6902dab562a8c6d5c8d293a7cf766a82e (patch) | |
tree | 837ddafb1a100655e376e42cd77aae446967445f /dev-util/oprofile/files | |
parent | Add check for libgnomeui; bug #263367 (diff) | |
download | historical-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/files')
-rw-r--r-- | dev-util/oprofile/files/oprofile-0.9.4+glibc-2.10.patch | 14 |
1 files changed, 14 insertions, 0 deletions
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 |