Changeset b159483
- Timestamp:
- Sep 12, 2009, 1:38:36 AM (15 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 36069c1
- Parents:
- 4b83b26c
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/introduction/common/changelog.xml
r4b83b26c rb159483 36 36 </listitem> 37 37 --> 38 39 <listitem> 40 <para>September 11, 2009</para> 41 <itemizedlist> 42 <listitem> 43 <para>[Jim] - Updated Coreutils 7.6.</para> 44 </listitem> 45 </itemizedlist> 46 </listitem> 38 47 39 48 <listitem> -
BOOK/packages.ent
r4b83b26c rb159483 82 82 <!ENTITY colo-home "http://www.colonel-panic.org/cobalt-mips"> 83 83 84 <!ENTITY coreutils-version "7. 5">85 <!ENTITY coreutils-size "9,7 22KB">84 <!ENTITY coreutils-version "7.6"> 85 <!ENTITY coreutils-size "9,779 KB"> 86 86 <!ENTITY coreutils-url "&gnu;coreutils/coreutils-&coreutils-version;.tar.gz"> 87 <!ENTITY coreutils-md5 " 775351410b7d6879767c3e4563354dc6">87 <!ENTITY coreutils-md5 "3d82f979229365f880da750642e67cf3"> 88 88 <!ENTITY coreutils-home "&gnu-software;coreutils"> 89 89 -
BOOK/patches.ent
r4b83b26c rb159483 14 14 15 15 <!ENTITY coreutils-uname-patch "coreutils-&coreutils-version;-uname-1.patch"> 16 <!ENTITY coreutils-uname-patch-md5 " e21c03d8d79e07366ee558ab4b3c5ece">16 <!ENTITY coreutils-uname-patch-md5 "56ad75fedac896082d96ab0bd5e6b32c"> 17 17 <!ENTITY coreutils-uname-patch-size "4 KB"> 18 18 -
patches/coreutils-7.6-uname-1.patch
r4b83b26c rb159483 1 1 Submitted By: Jim Gifford <jim at cross-lfs dot org> 2 Date: 2009-0 2-213 Initial Package Version: 7. 12 Date: 2009-09-12 3 Initial Package Version: 7.6 4 4 Upstream Status: Not Accepted 5 5 Origin: Gentoo - http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/coreutils … … 7 7 8 8 Rediffed for 7.1 by Jim Gifford 9 Original Patch by - Matthew Burgess and Scot McPherson 9 Rediffed for 7.5 by Jim Gifford 10 10 11 diff -Naur coreutils-7. 1.orig/src/uname.c coreutils-7.1/src/uname.c12 --- coreutils-7. 1.orig/src/uname.c 2008-09-18 00:06:57.000000000 -070013 +++ coreutils-7. 1/src/uname.c 2009-02-21 21:48:22.417139823 -080011 diff -Naur coreutils-7.6.orig/src/uname.c coreutils-7.6/src/uname.c 12 --- coreutils-7.6.orig/src/uname.c 2009-09-01 04:01:16.000000000 -0700 13 +++ coreutils-7.6/src/uname.c 2009-09-12 01:32:54.000000000 -0700 14 14 @@ -50,6 +50,11 @@ 15 15 # include <mach-o/arch.h> … … 149 149 +#if ( HAVE_SYSINFO && defined SI_ARCHITECTURE ) || defined(USE_PROCINFO) 150 150 { 151 151 static char processor[257]; 152 152 +#if defined(USE_PROCINFO) 153 + 153 + if (0 <= __linux_procinfo (PROCINFO_PROCESSOR, processor, sizeof processor)) 154 154 +#else 155 155 if (0 <= sysinfo (SI_ARCHITECTURE, processor, sizeof processor)) 156 156 +#endif 157 157 element = processor; 158 158 } 159 159 #endif 160 160 @@ -358,9 +478,13 @@ 161 161 if (element == unknown) 162 163 162 { 163 static char hardware_platform[257]; 164 164 +#if defined(USE_PROCINFO) 165 + 165 + if (0 <= __linux_procinfo (PROCINFO_HARDWARE_PLATFORM, hardware_platform, sizeof hardware_platform)) 166 166 +#else 167 168 169 167 size_t s = sizeof hardware_platform; 168 static int mib[] = { CTL_HW, UNAME_HARDWARE_PLATFORM }; 169 if (sysctl (mib, 2, hardware_platform, &s, 0, 0) >= 0) 170 170 +#endif 171 172 171 element = hardware_platform; 172 } 173 173 #endif
Note:
See TracChangeset
for help on using the changeset viewer.