From b6de822b37107cd819f11750075c2518da106e4f Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 10 Jul 2006 22:06:45 +0000 Subject: add support for gtk+ version 1.2 --- package/libgtk12/timezone-fix.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 package/libgtk12/timezone-fix.patch (limited to 'package/libgtk12/timezone-fix.patch') diff --git a/package/libgtk12/timezone-fix.patch b/package/libgtk12/timezone-fix.patch new file mode 100644 index 000000000..15684145f --- /dev/null +++ b/package/libgtk12/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); + -- cgit v1.2.3