projects
/
hdw-linux
/
hdw-linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more toolchain + stage 1 updates
[hdw-linux/hdw-linux.git]
/
packages
/
base
/
coreutils
/
coreutils_uname.patch
diff --git
a/packages/base/coreutils/coreutils_uname.patch
b/packages/base/coreutils/coreutils_uname.patch
index
b2bdd18
..
43ce03f
100644
(file)
--- a/
packages/base/coreutils/coreutils_uname.patch
+++ b/
packages/base/coreutils/coreutils_uname.patch
@@
-1,5
+1,5
@@
---- coreutils-5.
2.0.orig/src/uname.c 2004-01-21 17:27:02.000000000 -05
00
-+++ coreutils-5.
2.0/src/uname.c 2004-03-02 00:25:26.508518048 -05
00
+--- coreutils-5.
92.orig/src/uname.c 2005-09-15 20:34:42.000000000 +00
00
++++ coreutils-5.
92/src/uname.c 2005-10-23 10:14:06.000000000 +00
00
@@ -29,6 +29,12 @@
# include <sys/systeminfo.h>
#endif
@@ -29,6 +29,12 @@
# include <sys/systeminfo.h>
#endif
@@
-10,10
+10,10
@@
+int has_sse( void );
+#endif
+
+int has_sse( void );
+#endif
+
- #if HAVE_SYS
CTL && HAVE_SYS
_SYSCTL_H
- # i
nclude <sys/param.h> /* needed for OpenBSD 3.0 */
- #
include <sys/sysctl.h>
-@@ -2
49,6 +25
2,96 @@
+ #if HAVE_SYS_SYSCTL_H
+ # i
f HAVE_SYS_PARAM_H
+ #
include <sys/param.h> /* needed for OpenBSD 3.0 */
+@@ -2
56,6 +26
2,96 @@
if (0 <= sysinfo (SI_ARCHITECTURE, processor, sizeof processor))
element = processor;
}
if (0 <= sysinfo (SI_ARCHITECTURE, processor, sizeof processor))
element = processor;
}
@@
-110,7
+110,7
@@
#endif
#ifdef UNAME_PROCESSOR
if (element == unknown)
#endif
#ifdef UNAME_PROCESSOR
if (element == unknown)
-@@ -2
65,7 +358
,7 @@
+@@ -2
93,7 +389
,7 @@
if (toprint & PRINT_HARDWARE_PLATFORM)
{
if (toprint & PRINT_HARDWARE_PLATFORM)
{
@@
-119,7
+119,7
@@
#if HAVE_SYSINFO && defined SI_PLATFORM
{
static char hardware_platform[257];
#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;
}
hardware_platform, sizeof hardware_platform))
element = hardware_platform;
}
@@
-135,7
+135,7
@@
#endif
#ifdef UNAME_HARDWARE_PLATFORM
if (element == unknown)
#endif
#ifdef UNAME_HARDWARE_PLATFORM
if (element == unknown)
-@@ -
294,3 +396
,29 @@
+@@ -
323,3 +428
,29 @@
exit (EXIT_SUCCESS);
}
exit (EXIT_SUCCESS);
}