2bcd1a54f2
noted by Noriyuki Soda. Bump package revision after this change.
22 lines
944 B
Text
22 lines
944 B
Text
$NetBSD: patch-ab,v 1.7 2004/08/04 10:51:38 tron Exp $
|
|
|
|
--- tree.c.orig 2003-03-23 14:57:02.000000000 +0100
|
|
+++ tree.c 2004-08-04 12:47:19.000000000 +0200
|
|
@@ -895,8 +895,16 @@
|
|
*name = "Macintosh";
|
|
else if (strstr(whole, "Linux") != NULL || strstr(whole, "linux") != NULL)
|
|
*name = "Unix:Linux";
|
|
+ else if (strstr(whole, "NetBSD") != NULL)
|
|
+ *name = "Unix:NetBSD";
|
|
+ else if (strstr(whole, "FreeBSD") != NULL)
|
|
+ *name = "Unix:FreeBSD";
|
|
+ else if (strstr(whole, "OpenBSD") != NULL)
|
|
+ *name = "Unix:OpenBSD";
|
|
+ else if (strstr(whole, "BSDi") != NULL || strstr(whole, "BSD/OS") != NULL)
|
|
+ *name = "Unix:BSDi";
|
|
else if (strstr(whole, "BSD") != NULL)
|
|
- *name = "Unix:BSD";
|
|
+ *name = "Unix:otherBSD";
|
|
else if (strstr(whole, "SunOS") != NULL || strstr(whole, "sunos") != NULL)
|
|
*name = "Unix:SunOS";
|
|
else if (strstr(whole, "HP-UX") != NULL || strstr(whole, "HPUX") != NULL ||
|