From 2a42ab3c0076e41d516a4499a2209fff6757fab9 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 11 Aug 2004 20:37:54 +0000 Subject: Use unsetenv("TZ") instead of putenv("TZ") to fix a bug where the timezone would be reset to UTC in e-d-s and all comsuming applications. Reported by: Franz Klammer git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2643 df743ca5-7f9a-e211-a948-0013205c9059 --- databases/evolution-data-server/Makefile | 1 + .../files/patch-calendar_libical_src_libical_icaltime.c | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 databases/evolution-data-server/files/patch-calendar_libical_src_libical_icaltime.c (limited to 'databases') diff --git a/databases/evolution-data-server/Makefile b/databases/evolution-data-server/Makefile index 673caa079..169625b14 100644 --- a/databases/evolution-data-server/Makefile +++ b/databases/evolution-data-server/Makefile @@ -7,6 +7,7 @@ PORTNAME= evolution-data-server PORTVERSION= 0.0.97 +PORTREVISION= 1 CATEGORIES= databases gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.0 diff --git a/databases/evolution-data-server/files/patch-calendar_libical_src_libical_icaltime.c b/databases/evolution-data-server/files/patch-calendar_libical_src_libical_icaltime.c new file mode 100644 index 000000000..ea585bb2b --- /dev/null +++ b/databases/evolution-data-server/files/patch-calendar_libical_src_libical_icaltime.c @@ -0,0 +1,11 @@ +--- calendar/libical/src/libical/icaltime.c.orig Wed Aug 11 16:37:41 2004 ++++ calendar/libical/src/libical/icaltime.c Wed Aug 11 16:38:01 2004 +@@ -334,7 +334,7 @@ + if(tzstr!=0){ + putenv(tzstr); + } else { +- putenv("TZ"); /* Delete from environment */ ++ unsetenv("TZ"); /* Delete from environment */ + } + + /* Free any previous TZ environment string we have used. */ -- cgit v1.2.3