diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-07-26 15:53:44 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-07-26 15:53:44 +0000 |
commit | 53647060abeeff507c21d1ce52abf2082aabe63f (patch) | |
tree | fab3baf60f05c3ec5e919756ce1c88c17dc1ba35 /package/devel/oprofile/patches/110-fix_compile_error.patch | |
parent | ac96a1665ac74123f92bd7ec0154da186d918981 (diff) | |
download | upstream-53647060abeeff507c21d1ce52abf2082aabe63f.tar.gz upstream-53647060abeeff507c21d1ce52abf2082aabe63f.tar.bz2 upstream-53647060abeeff507c21d1ce52abf2082aabe63f.zip |
oprofile: update to 1.1.0-rc2 and make it work with musl
This brings oprifle to version 1.1.0-rc2 and adds some fixes for musl.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46505
Diffstat (limited to 'package/devel/oprofile/patches/110-fix_compile_error.patch')
-rw-r--r-- | package/devel/oprofile/patches/110-fix_compile_error.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/package/devel/oprofile/patches/110-fix_compile_error.patch b/package/devel/oprofile/patches/110-fix_compile_error.patch deleted file mode 100644 index 708f83ee6c..0000000000 --- a/package/devel/oprofile/patches/110-fix_compile_error.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/libop/op_cpu_type.c -+++ b/libop/op_cpu_type.c -@@ -250,6 +250,7 @@ static void release_at_hw_platform(void) - } - } - -+#ifdef PPC64 - static op_cpu _try_ppc64_arch_generic_cpu(void) - { - const char * platform, * base_platform; -@@ -312,6 +313,7 @@ static op_cpu _get_ppc64_cpu_type(void) - cpu_type = op_get_cpu_number(cpu_type_str); - return cpu_type; - } -+#endif - - static op_cpu _get_arm_cpu_type(void) - { -@@ -592,9 +594,11 @@ static op_cpu __get_cpu_type_alt_method( - fnmatch("i?86", uname_info.machine, 0) == 0) { - return _get_x86_64_cpu_type(); - } -+#ifdef PPC64 - if (strncmp(uname_info.machine, "ppc64", 5) == 0) { - return _get_ppc64_cpu_type(); - } -+#endif - if (strncmp(uname_info.machine, "arm", 3) == 0) { - return _get_arm_cpu_type(); - } |