mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
4c959e3553
+ 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.
40 lines
1007 B
Makefile
40 lines
1007 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: mutt w/pgp hooks
|
|
# Date created: Thur July 25, 1996
|
|
# Whom: David O'Brien (obrien@NUXI.com)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
CATEGORIES= chinese
|
|
|
|
MASTERDIR= ${.CURDIR}/../../mail/mutt-devel
|
|
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
|
|
|
|
PATCH_SITES= http://bsdchat.com/~clive/dist/mutt15/ \
|
|
ftp://freebsd.sinica.edu.tw/pub/clive/mutt15/
|
|
PATCHFILES= ${PKGNAMEPREFIX}mutt-${PORTVERSION}-${REVISEDATE}.diff.gz
|
|
|
|
LIB_DEPENDS+= hz.0:${PORTSDIR}/chinese/autoconvert
|
|
|
|
WITH_MUTT_LOCALES_FIX= yes
|
|
MUTT_CONFIGURE_ARGS+= --without-wc-funcs
|
|
WITH_MUTT_NCURSES= yes
|
|
.if !defined(PACKAGE_BUILDING)
|
|
WITHOUT_MUTT_SGMLFORMAT= yes
|
|
WITHOUT_MUTT_HTML= yes
|
|
WITHOUT_MUTT_COMPRESSED_FOLDERS=yes
|
|
.endif
|
|
|
|
MD5_FILE= ${.CURDIR}/distinfo
|
|
PKGMESSAGE= ${.CURDIR}/pkg-message
|
|
|
|
.include "${MASTERDIR}/Makefile"
|