aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclive <clive@FreeBSD.org>2004-06-17 01:52:36 +0800
committerclive <clive@FreeBSD.org>2004-06-17 01:52:36 +0800
commit0753189356b0957b49c51532cf3d7aefd5f7c3ba (patch)
treed92bdb7746c771ed2a214ea4717090427617d4d5
parente9bb7fa3cf4e3efacb8718bf3c04108db2bb03df (diff)
downloadfreebsd-ports-graphics-0753189356b0957b49c51532cf3d7aefd5f7c3ba.tar.gz
freebsd-ports-graphics-0753189356b0957b49c51532cf3d7aefd5f7c3ba.tar.zst
freebsd-ports-graphics-0753189356b0957b49c51532cf3d7aefd5f7c3ba.zip
+ Updated patchset:
+ Avoid misuse of safe_strdup shipped with mutt. + It returns 0 (NULL pointer) instead of pointer to 0 (empty string) if the source string is empty(""). Consequently iconv_open will cause mutt to core-dumps itself. It expects const char* instead of NULL pointer. + On each successful call to wraped iconv_open provided by the patchset, small piece of memory is allocated by safe_strdup. The original patchset did not free it. Above submitted by: Kuang-che Wu <kcwu at kcwu dot homeip dot net> + Experimental abuse of PORTREVISION. More testing is in progress. It will be really activated via master port if there's nothing else broken.
-rw-r--r--chinese/mutt/Makefile6
-rw-r--r--chinese/mutt/distinfo4
2 files changed, 7 insertions, 3 deletions
diff --git a/chinese/mutt/Makefile b/chinese/mutt/Makefile
index 1c0d3dcee16..2f1c9e7f796 100644
--- a/chinese/mutt/Makefile
+++ b/chinese/mutt/Makefile
@@ -9,7 +9,11 @@
CATEGORIES= chinese
MASTERDIR= ${.CURDIR}/../../mail/mutt-devel
-REVISEDATE= 20030807
+REVISEDATE= 20040617
+PORTREVISION= ${REVISEDATE}
+
+# XXX: Currently PORTREVISION assignment is not functional. Master port
+# needs to be fixed.
MAINTAINER= clive@FreeBSD.org
COMMENT= The Mongrel of Mail User Agents with Chinese support
diff --git a/chinese/mutt/distinfo b/chinese/mutt/distinfo
index 4efc93820bd..8fafb097e11 100644
--- a/chinese/mutt/distinfo
+++ b/chinese/mutt/distinfo
@@ -16,5 +16,5 @@ MD5 (mutt/patch-1.5.4.cd.ifdef.1) = a545036cdb55519154d0b35465f52daa
SIZE (mutt/patch-1.5.4.cd.ifdef.1) = 3545
MD5 (mutt/p0-patch-1.5.6.dw.mbox-hook.1) = 9e29a6778ab07a4de3442691e4573fea
SIZE (mutt/p0-patch-1.5.6.dw.mbox-hook.1) = 6405
-MD5 (mutt/zh-mutt-1.5.6-20030807.diff.gz) = 0a8d2446c1c956e3ddc194318a7b62ca
-SIZE (mutt/zh-mutt-1.5.6-20030807.diff.gz) = 4911
+MD5 (mutt/zh-mutt-1.5.6-20040617.diff.gz) = b8583d1abd61318d6616e0f3fc1ab2aa
+SIZE (mutt/zh-mutt-1.5.6-20040617.diff.gz) = 4882