more toolchain + stage 1 updates
[hdw-linux/hdw-linux.git] / packages / base / coreutils / coreutils_uname.patch
index b2bdd18..43ce03f 100644 (file)
@@ -1,5 +1,5 @@
---- coreutils-5.2.0.orig/src/uname.c   2004-01-21 17:27:02.000000000 -0500
-+++ coreutils-5.2.0/src/uname.c        2004-03-02 00:25:26.508518048 -0500
+--- coreutils-5.92.orig/src/uname.c    2005-09-15 20:34:42.000000000 +0000
++++ coreutils-5.92/src/uname.c 2005-10-23 10:14:06.000000000 +0000
 @@ -29,6 +29,12 @@
  # include <sys/systeminfo.h>
  #endif
 +int has_sse( void );
 +#endif
 +
- #if HAVE_SYSCTL && HAVE_SYS_SYSCTL_H
- # include <sys/param.h> /* needed for OpenBSD 3.0 */
- # include <sys/sysctl.h>
-@@ -249,6 +252,96 @@
+ #if HAVE_SYS_SYSCTL_H
+ # if HAVE_SYS_PARAM_H
+ #  include <sys/param.h> /* needed for OpenBSD 3.0 */
+@@ -256,6 +262,96 @@
        if (0 <= sysinfo (SI_ARCHITECTURE, processor, sizeof processor))
          element = processor;
        }
  #endif
  #ifdef UNAME_PROCESSOR
        if (element == unknown)
-@@ -265,7 +358,7 @@
+@@ -293,7 +389,7 @@
  
    if (toprint & PRINT_HARDWARE_PLATFORM)
      {
  #if HAVE_SYSINFO && defined SI_PLATFORM
        {
        static char hardware_platform[257];
-@@ -273,6 +366,15 @@
+@@ -301,6 +397,15 @@
                          hardware_platform, sizeof hardware_platform))
          element = hardware_platform;
        }
  #endif
  #ifdef UNAME_HARDWARE_PLATFORM
        if (element == unknown)
-@@ -294,3 +396,29 @@
+@@ -323,3 +428,29 @@
  
    exit (EXIT_SUCCESS);
  }