Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > deee1856ee5f067aa23325d02029ff36 > files > 10

uClibc-0.9.28.1-2mdv2008.0.src.rpm

--- uClibc-0.9.28/libc/sysdeps/linux/x86_64/sigaction.c.orig	2005-08-28 10:59:32.000000000 +0200
+++ uClibc-0.9.28/libc/sysdeps/linux/x86_64/sigaction.c	2005-08-28 10:58:49.000000000 +0200
@@ -27,7 +27,7 @@
 
 
 #if defined __NR_rt_sigaction
-#warning Yes there are two warnings here.  Don't worry about it.
+#warning "Yes there are two warnings here.  Don't worry about it."
 static void restore_rt (void) asm ("__restore_rt");
 static void restore (void) asm ("__restore");
 
--- uClibc-0.9.28.1/utils/ldd.c~	2007-01-26 00:54:19.000000000 +0100
+++ uClibc-0.9.28.1/utils/ldd.c	2007-02-06 13:21:49.000000000 +0100
@@ -105,6 +105,11 @@
 #define ELFCLASSM	ELFCLASS32
 #endif
 
+#if defined(__x86_64__)
+#define MATCH_MACHINE(x) (x == EM_X86_64)
+#define ELFCLASSM   ELFCLASS64
+#endif
+
 #ifndef MATCH_MACHINE
 #warning "You really should add a MATCH_MACHINE() macro for your architecture"
 #endif