summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarino <marino>2011-12-17 16:13:43 +0000
committermarino <marino>2011-12-17 16:13:43 +0000
commit5380aaa98cedcc194bd78113ce13ce439cf7f752 (patch)
tree6d83fd1870d20ad4849b94532777f00b2b856899
parentc9d9dea80f60ede4d10fc12561f34ec5c86faaf5 (diff)
downloadpkgsrc-5380aaa98cedcc194bd78113ce13ce439cf7f752.tar.gz
mail/Pantomine: Fix timezone redefinition for DragonFly
Pantomine defines a structure named "timezone" which clashes with the system definition. It was renamed to "timezonePantomine". While technically it may result in change in the pkg binary, no PKGREVISION bump is necessary because it's functionally the same as the previous version, assuming it actually built on the platform in question.
-rw-r--r--mail/Pantomime/distinfo3
-rw-r--r--mail/Pantomime/patches/patch-Framework_Pantomine_CWParser.m13
2 files changed, 15 insertions, 1 deletions
diff --git a/mail/Pantomime/distinfo b/mail/Pantomime/distinfo
index e6703eeb0ad..f261fbd2f5b 100644
--- a/mail/Pantomime/distinfo
+++ b/mail/Pantomime/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.8 2011/11/25 22:00:32 joerg Exp $
+$NetBSD: distinfo,v 1.9 2011/12/17 16:13:43 marino Exp $
SHA1 (Pantomime-1.2.0pre3.tar.gz) = beddf538d239513bdd46f67db04e9b4d4bd7441c
RMD160 (Pantomime-1.2.0pre3.tar.gz) = 25c397080f0826d7b266e018246658707e9bbd00
Size (Pantomime-1.2.0pre3.tar.gz) = 441478 bytes
SHA1 (patch-Framework_Pantomime_NSString+Extensions.m) = 10eb49fb504535e2f0ad8345284c330332f356bc
+SHA1 (patch-Framework_Pantomine_CWParser.m) = 7aedb8ee39f45a1a5cbf5121bc9a2b956a5ed2f6
SHA1 (patch-ab) = 0691970542c20876c709a07c33842948bfd536f6
diff --git a/mail/Pantomime/patches/patch-Framework_Pantomine_CWParser.m b/mail/Pantomime/patches/patch-Framework_Pantomine_CWParser.m
new file mode 100644
index 00000000000..9ef153b204a
--- /dev/null
+++ b/mail/Pantomime/patches/patch-Framework_Pantomine_CWParser.m
@@ -0,0 +1,13 @@
+$NetBSD: patch-Framework_Pantomine_CWParser.m,v 1.1 2011/12/17 16:13:43 marino Exp $
+
+--- Framework/Pantomime/CWParser.m.orig 2007-01-28 19:46:23.000000000 +0000
++++ Framework/Pantomime/CWParser.m
+@@ -40,7 +40,7 @@
+ //
+ static char *month_name[12] = {"jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"};
+
+-static struct timezone {
++static struct timezonePantomine {
+ char *name; /* time zone name */
+ int offset; /* offset, in minutes, EAST of GMT */
+ } timezone_info[] = {