summaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-12 04:37:54 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-12 04:37:54 +0800
commit2a42ab3c0076e41d516a4499a2209fff6757fab9 (patch)
tree1ebb2cac56f5b4ef1624c0a64128c1326a043a39 /databases
parent1397dc3165ba937fb2be0623ada9595c574a3bf1 (diff)
downloadmarcuscom-ports-2a42ab3c0076e41d516a4499a2209fff6757fab9.tar
marcuscom-ports-2a42ab3c0076e41d516a4499a2209fff6757fab9.tar.gz
marcuscom-ports-2a42ab3c0076e41d516a4499a2209fff6757fab9.tar.bz2
marcuscom-ports-2a42ab3c0076e41d516a4499a2209fff6757fab9.tar.lz
marcuscom-ports-2a42ab3c0076e41d516a4499a2209fff6757fab9.tar.xz
marcuscom-ports-2a42ab3c0076e41d516a4499a2209fff6757fab9.tar.zst
marcuscom-ports-2a42ab3c0076e41d516a4499a2209fff6757fab9.zip
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 <klammer@webonaut.com> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2643 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'databases')
-rw-r--r--databases/evolution-data-server/Makefile1
-rw-r--r--databases/evolution-data-server/files/patch-calendar_libical_src_libical_icaltime.c11
2 files changed, 12 insertions, 0 deletions
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. */