Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2006 13:36:40 +0800 (CST)
From:      Rong-En Fan <rafan@infor.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        garga@FreeBSD.org
Subject:   ports/97241: [PATCH] devel/libslang: add UTF-8 support
Message-ID:  <200605140536.k4E5aeij003115@svm.csie.ntu.edu.tw>
Resent-Message-ID: <200605140540.k4E5eGF0049049@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97241
>Category:       ports
>Synopsis:       [PATCH] devel/libslang: add UTF-8 support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 14 05:40:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rong-En Fan
>Release:        FreeBSD 6.1
>Organization:
NTU CSIE
>Environment:
>Description:
- Add UTF-8 support
  This makes mutt displays CJK more correctly under UTF-8 env than ncurses.

Port maintainer (garga@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- libslang-1.4.9_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/libslang/Makefile /home/rafan/tmp/ports/libslang/Makefile
--- /usr/ports/devel/libslang/Makefile	Fri Dec  2 00:38:04 2005
+++ /home/rafan/tmp/ports/libslang/Makefile	Sun May 14 13:16:44 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	libslang
 PORTVERSION=	1.4.9
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	ftp://space.mit.edu/pub/davis/slang/v1.4/ \
 		ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v1.4/ \
@@ -17,6 +18,8 @@
 MAINTAINER=	garga@FreeBSD.org
 COMMENT=	Routines for rapid alpha-numeric terminal applications development
 
+OPTIONS=	UTF8	"Enable UTF-8 support"	On
+
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 INSTALLS_SHLIB=	yes
@@ -33,6 +36,15 @@
 .endif
 
 .include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_UTF8)
+PATCH_SITES+=	http://www.emaillab.org/mutt/tools/
+PATCHFILES+=	slang-1.4.8-utf8.diff.gz
+PATCH_DIST_STRIP+=	-p1
+
+post-patch:
+	@${REINPLACE_CMD} 's,slang-utf8,slang,' ${WRKSRC}/src/Makefile.in
+.endif
 
 post-install:
 .if !defined(NOPORTDOCS)
diff -ruN --exclude=CVS /usr/ports/devel/libslang/distinfo /home/rafan/tmp/ports/libslang/distinfo
--- /usr/ports/devel/libslang/distinfo	Tue Nov  8 22:33:33 2005
+++ /home/rafan/tmp/ports/libslang/distinfo	Sun May 14 12:29:30 2006
@@ -1,3 +1,6 @@
 MD5 (slang-1.4.9.tar.bz2) = 4fbb1a7f1257e065ca830deefe13d350
 SHA256 (slang-1.4.9.tar.bz2) = fa42e57e902f2161dc2b297e0dcb24ca180024770afa379027db582803ffa2fa
 SIZE (slang-1.4.9.tar.bz2) = 631079
+MD5 (slang-1.4.8-utf8.diff.gz) = 2946c6369edbf6c0c0f587a1fdc7c4cf
+SHA256 (slang-1.4.8-utf8.diff.gz) = b41f6bda4378631c3f76756a92b7819a722e14070aba211a452b45fd86a40bea
+SIZE (slang-1.4.8-utf8.diff.gz) = 6369
--- libslang-1.4.9_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605140536.k4E5aeij003115>