summaryrefslogtreecommitdiff
path: root/www/analog/patches/patch-ab
blob: 86c6ab8c2b3af938174a65b69438173d7818ccf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$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 ||