Browse Source

fix uclibc compile, patch from upstream

Waldemar Brodkorb 10 years ago
parent
commit
4bef9a612a

+ 1 - 1
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

+ 0 - 34
package/oprofile/patches/patch-daemon_liblegacy_opd_kernel_c

@@ -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
- }
- 
-