Date: Thu, 25 May 2006 02:10:03 +0200 (CEST) From: Dan Lukes <dan@obluda.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/97862: [ PATCH ] no UTF-8 support in libslang on FreeBSD 4.x Message-ID: <200605250010.k4P0A3vk016912@kulesh.obluda.cz> Resent-Message-ID: <200605250010.k4P0AKEp095731@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 97862 >Category: ports >Synopsis: [ PATCH ] no UTF-8 support in libslang on FreeBSD 4.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 25 00:10:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dan Lukes >Release: FreeBSD 4.11-RELEASE-p16 i386 >Organization: Obludarium >Environment: ports/devel/libslang/Makefile,v 1.39 libslang 1.4.9 >Description: libslang 1.4.9 can be compiled with WITH_UTF8 but resulting library is unusable on FreeBSD 4.x because lack of support for mbrtowc() and wcwidth() in libc >How-To-Repeat: Compile libslang WITH_UTF8 then try to use it in another application. Unresolved symbol error occur during linkage >Fix: Disable the UTF8 configuration for FreeBSD 4.x --- Makefile.orig Sun May 21 12:19:35 2006 +++ Makefile Thu May 25 01:59:22 2006 @@ -17,7 +17,6 @@ MAINTAINER= garga@FreeBSD.org COMMENT= Routines for rapid alpha-numeric terminal applications development -OPTIONS= UTF8 "Enable UTF-8 support" off USE_BZIP2= yes GNU_CONFIGURE= yes @@ -36,6 +35,9 @@ .include <bsd.port.pre.mk> +.if ! ${OSVERSION} < 500000 +OPTIONS= UTF8 "Enable UTF-8 support" off + .if defined(WITH_UTF8) PATCH_SITES+= http://www.emaillab.org/mutt/tools/ PATCHFILES+= slang-1.4.8-utf8.diff.gz @@ -43,6 +45,7 @@ post-patch: @${REINPLACE_CMD} 's,slang-utf8,slang,' ${WRKSRC}/src/Makefile.in +.endif .endif post-install: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605250010.k4P0A3vk016912>