summaryrefslogtreecommitdiff
path: root/packages/gtk+/gtk+-1.2-1.2.10/timezone-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gtk+/gtk+-1.2-1.2.10/timezone-fix.patch')
-rw-r--r--packages/gtk+/gtk+-1.2-1.2.10/timezone-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/gtk+/gtk+-1.2-1.2.10/timezone-fix.patch b/packages/gtk+/gtk+-1.2-1.2.10/timezone-fix.patch
index e69de29bb2..15684145f1 100644
--- a/packages/gtk+/gtk+-1.2-1.2.10/timezone-fix.patch
+++ b/packages/gtk+/gtk+-1.2-1.2.10/timezone-fix.patch
@@ -0,0 +1,15 @@
+diff -NurBabdH gtk+-1.2.10/gtk/testrgb.c gtk+-1.2.10-timezone-fix/gtk/testrgb.c
+--- gtk+-1.2.10/gtk/testrgb.c 2000-08-18 23:36:34.000000000 +0200
++++ gtk+-1.2.10-timezone-fix/gtk/testrgb.c 2005-03-03 11:18:09.000000000 +0100
+@@ -49,7 +49,10 @@
+ get_time (void)
+ {
+ struct timeval tv;
+- struct timezone tz;
++ struct timezone {
++ int tz_minuteswest; /* minutes W of Greenwich */
++ int tz_dsttime; /* type of dst correction */
++ } tz;
+
+ gettimeofday (&tv, &tz);
+