summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-05 21:23:33 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-05 21:23:33 +0100
commit4bef9a612a73c5b18bad38c1ef4ae4924c719ecc (patch)
tree7d0f6f086d79433e12e03027e9195a178281efc3
parent9f2ed577bca569a49e999b1ad65586c6979178a7 (diff)
fix uclibc compile, patch from upstream
-rw-r--r--package/oprofile/Makefile2
-rw-r--r--package/oprofile/patches/patch-daemon_liblegacy_opd_kernel_c34
2 files changed, 1 insertions, 35 deletions
diff --git a/package/oprofile/Makefile b/package/oprofile/Makefile
index e2f5edca9..d21f0a635 100644
--- a/package/oprofile/Makefile
+++ b/package/oprofile/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= oprofile
PKG_VERSION:= 0.9.9
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 00aec1287da2dfffda17a9b1c0a01868
PKG_DESCR:= system-wide profiles
PKG_SECTION:= debug
diff --git a/package/oprofile/patches/patch-daemon_liblegacy_opd_kernel_c b/package/oprofile/patches/patch-daemon_liblegacy_opd_kernel_c
deleted file mode 100644
index 226522e40..000000000
--- a/package/oprofile/patches/patch-daemon_liblegacy_opd_kernel_c
+++ /dev/null
@@ -1,34 +0,0 @@
---- oprofile-0.9.6.orig/daemon/liblegacy/opd_kernel.c 2009-11-24 16:25:17.000000000 +0100
-+++ oprofile-0.9.6/daemon/liblegacy/opd_kernel.c 2010-07-13 18:20:26.727084854 +0200
-@@ -148,6 +148,7 @@ void opd_clear_module_info(void)
- */
- static void opd_get_module_info(void)
- {
-+#if 0
- char * line;
- char * cp, * cp2, * cp3;
- FILE * fp;
-@@ -252,6 +253,7 @@ static void opd_get_module_info(void)
- if (line)
- free(line);
- op_close_file(fp);
-+#endif
- }
-
-
-@@ -270,6 +272,7 @@ static void opd_get_module_info(void)
- */
- static void opd_drop_module_sample(unsigned long eip)
- {
-+#if 0
- char * module_names;
- char * name;
- size_t size = 1024;
-@@ -307,6 +310,7 @@ static void opd_drop_module_sample(unsig
-
- if (module_names)
- free(module_names);
-+#endif
- }
-
-