ports/97241: [PATCH] devel/libslang: add UTF-8 support
Rong-En Fan
rafan at infor.org
Sun May 14 05:40:17 UTC 2006
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list