diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2011-08-08 13:01:12 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2011-08-08 13:01:12 +0000 |
commit | f36e099b0c38c644d92840727fc93eddf711a73f (patch) | |
tree | cb12c8b1439b33c07c3576c6a852a8469e577d50 /www/analog | |
parent | cf78204cfb92c858fba367cdbbbe33019ab885db (diff) |
Notes
Diffstat (limited to 'www/analog')
-rw-r--r-- | www/analog/Makefile | 2 | ||||
-rw-r--r-- | www/analog/files/patch-ab | 23 |
2 files changed, 22 insertions, 3 deletions
diff --git a/www/analog/Makefile b/www/analog/Makefile index 0bae6af84a9d..ee9d66184fae 100644 --- a/www/analog/Makefile +++ b/www/analog/Makefile @@ -7,7 +7,7 @@ PORTNAME= analog PORTVERSION= 6.0 -PORTREVISION= 6 +PORTREVISION= 7 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= http://www.analog.cx/ \ diff --git a/www/analog/files/patch-ab b/www/analog/files/patch-ab index 7f4a5505e436..d8e0734783e6 100644 --- a/www/analog/files/patch-ab +++ b/www/analog/files/patch-ab @@ -1,5 +1,5 @@ --- src/tree.c.orig 2004-12-19 08:51:31.000000000 -0500 -+++ src/tree.c 2011-05-12 16:38:50.388298051 -0400 ++++ src/tree.c 2011-08-01 12:49:29.176805068 -0400 @@ -769,11 +769,13 @@ if (((*name = strstr(whole, "Mosaic")) != NULL && (len = 6)) || ((*name = strstr(whole, "mosaic")) != NULL && (len = 6)) || @@ -14,7 +14,26 @@ ((*name = strstr(whole, "Camino")) != NULL && (len = 6)) || ((*name = strstr(whole, "Safari")) != NULL && (len = 6)) || ((*name = strstr(whole, "WebTV")) != NULL && (len = 5)) || -@@ -904,8 +906,16 @@ +@@ -871,7 +873,17 @@ + else + *name = "Windows:Unknown Windows"; + } +- else if (*c >= '6' && *c <= '9') ++ else if (*c == '6') { ++ if (*(c + 1) == '.' && (*(c + 2) == '0')) ++ *name = "Windows:Windows Vista"; ++ else if (*(c + 1) == '.' && (*(c + 2) == '1')) ++ *name = "Windows:Windows 7"; ++ else if (*(c + 1) == '.' && (*(c + 2) == '2')) ++ *name = "Windows:Windows 8"; ++ else ++ *name = "Windows:Unknown Windows"; ++ } ++ else if (*c >= '7' && *c <= '9') + *name = "Windows:Unknown Windows"; + else + *name = "Windows:Windows NT"; +@@ -904,8 +916,16 @@ *name = "Macintosh"; else if (strstr(whole, "Linux") != NULL || strstr(whole, "linux") != NULL) *name = "Unix:Linux"; |