diff options
Diffstat (limited to 'libs/sgi-webuci/boa-patches/100-no_tz.patch')
-rw-r--r-- | libs/sgi-webuci/boa-patches/100-no_tz.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libs/sgi-webuci/boa-patches/100-no_tz.patch b/libs/sgi-webuci/boa-patches/100-no_tz.patch new file mode 100644 index 0000000000..639677eed3 --- /dev/null +++ b/libs/sgi-webuci/boa-patches/100-no_tz.patch @@ -0,0 +1,22 @@ +diff -urN boa-0.94.13/src/util.c boa/src/util.c +--- boa-0.94.13/src/util.c 2002-07-08 01:22:18.000000000 +0200 ++++ boa/src/util.c 2008-04-25 21:56:20.000000000 +0200 +@@ -95,14 +95,9 @@ + static char buf[30]; + int time_offset; + +- if (use_localtime) { +- t = localtime(¤t_time); +- time_offset = TIMEZONE_OFFSET(t); +- } else { +- t = gmtime(¤t_time); +- time_offset = 0; +- } +- ++ t = gmtime(¤t_time); ++ time_offset = 0; ++ + p = buf + 29; + *p-- = '\0'; + *p-- = ' '; + |