diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-02-10 23:48:53 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-02-10 23:50:29 -0600 |
commit | dcec1161e5c692bfca7fbb51dec3968c3c3dbf98 (patch) | |
tree | 4efad4712af142fd6ab75cb19ba3bddaf47841c9 /main/busybox/busybox-uname-is-not-gnu.patch | |
parent | 280577f0ebeaed2ca082bf98c10bb7e53af5cab0 (diff) | |
download | aports-dcec1161e5c692bfca7fbb51dec3968c3c3dbf98.tar.bz2 aports-dcec1161e5c692bfca7fbb51dec3968c3c3dbf98.tar.xz |
main/busybox: kill gnu/linux nonsense
Diffstat (limited to 'main/busybox/busybox-uname-is-not-gnu.patch')
-rw-r--r-- | main/busybox/busybox-uname-is-not-gnu.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/busybox/busybox-uname-is-not-gnu.patch b/main/busybox/busybox-uname-is-not-gnu.patch new file mode 100644 index 000000000..95b31394c --- /dev/null +++ b/main/busybox/busybox-uname-is-not-gnu.patch @@ -0,0 +1,20 @@ +--- busybox-1.18.2.orig/coreutils/uname.c ++++ busybox-1.18.2/coreutils/uname.c +@@ -56,7 +56,7 @@ + struct utsname name; + char processor[sizeof(((struct utsname*)NULL)->machine)]; + char platform[sizeof(((struct utsname*)NULL)->machine)]; +- char os[sizeof("GNU/Linux")]; ++ char os[sizeof("Linux")]; + } uname_info_t; + + static const char options[] ALIGN1 = "snrvmpioa"; +@@ -123,7 +123,7 @@ + #endif + strcpy(uname_info.processor, unknown_str); + strcpy(uname_info.platform, unknown_str); +- strcpy(uname_info.os, "GNU/Linux"); ++ strcpy(uname_info.os, "Linux"); + #if 0 + /* Fedora does something like this */ + strcpy(uname_info.processor, uname_info.name.machine); |