aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2008-09-26 15:57:29 +0800
committeredwin <edwin@FreeBSD.org>2008-09-26 15:57:29 +0800
commit1e720203cee9cbe40e4ada7c55747b186f07f9e8 (patch)
tree39a4216210073c99029a02602f428ff1398fe41d /misc
parent609db6e87e15cf878acf57e100374f86afe8a4fc (diff)
downloadfreebsd-ports-gnome-1e720203cee9cbe40e4ada7c55747b186f07f9e8.tar.gz
freebsd-ports-gnome-1e720203cee9cbe40e4ada7c55747b186f07f9e8.tar.zst
freebsd-ports-gnome-1e720203cee9cbe40e4ada7c55747b186f07f9e8.zip
Brazil won't do DST changes in the weekend of carnaval.
Diffstat (limited to 'misc')
-rw-r--r--misc/zoneinfo/Makefile1
-rw-r--r--misc/zoneinfo/files/patch-soutamerica34
2 files changed, 35 insertions, 0 deletions
diff --git a/misc/zoneinfo/Makefile b/misc/zoneinfo/Makefile
index 8bbc64806cba..9d716e3749a2 100644
--- a/misc/zoneinfo/Makefile
+++ b/misc/zoneinfo/Makefile
@@ -6,6 +6,7 @@
PORTNAME= zoneinfo
DISTVERSION= 2008f
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= ftp://elsie.nci.nih.gov/pub/
DISTNAME= tzdata${DISTVERSION}
diff --git a/misc/zoneinfo/files/patch-soutamerica b/misc/zoneinfo/files/patch-soutamerica
new file mode 100644
index 000000000000..4906d5b54449
--- /dev/null
+++ b/misc/zoneinfo/files/patch-soutamerica
@@ -0,0 +1,34 @@
+diff -p -up tzdata/tzdata2008f/southamerica.orig tzdata/tzdata2008f/southamerica
+--- southamerica.orig 2008-09-17 18:59:04.000000000 -0300
++++ southamerica 2008-09-17 19:00:10.000000000 -0300
+@@ -768,12 +768,25 @@ Rule Brazil 2007 only - Feb 25 0:00 0 -
+ # Decree <a href="http://pcdsh01.on.br/DecHV6212.gif">6,212</a> (2007-09-26),
+ # adopted by the same states as before.
+ Rule Brazil 2007 only - Oct Sun>=8 0:00 1:00 S
+-Rule Brazil 2008 max - Feb Sun>=15 0:00 0 -
++# Decree <a href="http://www.planalto.gov.br/ccivil_03/_Ato2007-2010/2008/Decreto/D6558.htm">6,558</a>
++# At least a fixed rule! 3rd Sun Oct to 3rd Sun Feb. There is an
++# exception when the return date is a Carnival Sunday then the return
++# will be the next Sunday. Exceptions until 2038 calculated bellow
++# adopted by the same states as before.
+ Rule Brazil 2008 max - Oct Sun>=15 0:00 1:00 S
+-# The latest ruleset listed above says that the following states observe DST:
+-# DF, ES, GO, MG, MS, MT, PR, RJ, RS, SC, SP.
+-# For dates after mid-2008, the above rules with TO="max" are guesses
+-# and are quite possibly wrong, but are more likely than no DST at all.
++Rule Brazil 2008 2011 - Feb Sun>=15 0:00 0 -
++Rule Brazil 2012 only - Feb 26 0:00 0 -
++Rule Brazil 2013 2014 - Feb Sun>=15 0:00 0 -
++Rule Brazil 2015 only - Feb 22 0:00 0 -
++Rule Brazil 2016 2022 - Feb Sun>=15 0:00 0 -
++Rule Brazil 2023 only - Feb 26 0:00 0 -
++Rule Brazil 2024 2025 - Feb Sun>=15 0:00 0 -
++Rule Brazil 2026 only - Feb 22 0:00 0 -
++Rule Brazil 2027 2033 - Feb Sun>=15 0:00 0 -
++Rule Brazil 2034 only - Feb 26 0:00 0 -
++Rule Brazil 2035 2036 - Feb Sun>=15 0:00 0 -
++Rule Brazil 2037 only - Feb 22 0:00 0 -
++Rule Brazil 2038 max - Feb Sun>=15 0:00 0 -
+
+ # Zone NAME GMTOFF RULES FORMAT [UNTIL]
+ #