summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-webuci/boa-patches/100-no_tz.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libs/sgi-webuci/boa-patches/100-no_tz.patch')
-rw-r--r--libs/sgi-webuci/boa-patches/100-no_tz.patch22
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(&current_time);
+- time_offset = TIMEZONE_OFFSET(t);
+- } else {
+- t = gmtime(&current_time);
+- time_offset = 0;
+- }
+-
++ t = gmtime(&current_time);
++ time_offset = 0;
++
+ p = buf + 29;
+ *p-- = '\0';
+ *p-- = ' ';
+