From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 7 02:10:19 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C09316A4CE for ; Fri, 7 Nov 2003 02:10:19 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39AA443FEA for ; Fri, 7 Nov 2003 02:10:16 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hA7AAGFY015483 for ; Fri, 7 Nov 2003 02:10:16 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hA7AAG44015482; Fri, 7 Nov 2003 02:10:16 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 7 Nov 2003 02:10:16 -0800 (PST) Resent-Message-Id: <200311071010.hA7AAG44015482@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Guido Berhoerster Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC74D16A4CE; Fri, 7 Nov 2003 02:05:25 -0800 (PST) Received: from helium.webpack.hosteurope.de (helium.one-2-one.net [217.115.142.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5DCA43F93; Fri, 7 Nov 2003 02:05:23 -0800 (PST) (envelope-from ich@guido-berhoerster.org) Received: from hal.privat.lan (pD9E12054.dip.t-dialin.net [217.225.32.84]) (authenticated)hA7A5MV20740; Fri, 7 Nov 2003 11:05:22 +0100 Received: from hal.privat.lan (localhost [127.0.0.1]) by hal.privat.lan (8.12.9p2/8.12.9) with ESMTP id hA7A5FJH009540; Fri, 7 Nov 2003 11:05:16 +0100 (CET) (envelope-from guiber@hal.privat.lan) Received: (from guiber@localhost) by hal.privat.lan (8.12.9p2/8.12.9/Submit) id hA7A5FEW009539; Fri, 7 Nov 2003 11:05:15 +0100 (CET) (envelope-from guiber) Message-Id: <200311071005.hA7A5FEW009539@hal.privat.lan> Date: Fri, 7 Nov 2003 11:05:15 +0100 (CET) From: Guido Berhoerster To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: cy@FreeBSD.org Subject: ports/59032: [PATCH] x11-wm/fvwm2-devel crashes b/c it is built without iconv support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Guido Berhoerster List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2003 10:10:19 -0000 X-List-Received-Date: Fri, 07 Nov 2003 10:10:19 -0000 >Number: 59032 >Category: ports >Synopsis: [PATCH] x11-wm/fvwm2-devel crashes b/c it is built without iconv support >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 07 02:10:15 PST 2003 >Closed-Date: >Last-Modified: >Originator: Guido Berhoerster >Release: FreeBSD 4.9-RELEASE i386 >Organization: >Environment: System: FreeBSD hal.privat.lan 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Wed Nov 5 14:25:38 CET 2003 root@hal.privat.lan:/usr/obj/usr/src/sys/HAL i386 >Description: If fvwm-2.5.8 is built without iconv support it can coredump when opening menus. For a detailed problem description see the thread at the fvwm-workers mailing list: http://www.hpc.uh.edu/fvwm/archive/0311/msg00049.html . The port does not correctly point configure to the place where iconv is installed and is thus always built without iconv support. >How-To-Repeat: cd /usr/ports/x11-wm/fvwm2-devel && make install A sample configuration which can be used to reproduce the crash is provided by the post to the fvwm-workers mailing list mentioned above. >Fix: Point configure to /usr/local/lib where iconv is installed and make iconv support mandatory by applying the following patch: --- Makefile.diff begins here --- --- Makefile.orig Tue Nov 4 08:03:53 2003 +++ Makefile Fri Nov 7 10:40:09 2003 @@ -21,7 +21,8 @@ MAINTAINER= cy@FreeBSD.org COMMENT= Popular virtual window manager for X -LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/Xft +LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/Xft \ + biconv.2:${PORTSDIR}/converters/iconv RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4 .if defined(WITH_STROKE) @@ -39,6 +40,8 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= X_CFLAGS=-I${LOCALBASE}/include +CONFIGURE_ARGS= --with-iconv-library=/usr/local/lib \ + --with-iconv-includes=/usr/local/include .if defined(WITH_STROKE) CONFIGURE_ARGS+= --with-stroke --with-stroke-library=${LOCALBASE}/lib \ @@ -57,12 +60,6 @@ LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png CONFIGURE_ARGS+= --with-png --with-png-includes=${LOCALBASE}/include \ --with-png-library=${LOCALBASE}/lib -.endif - -.if !defined(WITHOUT_ICONV) -LIB_DEPENDS+= biconv.2:${PORTSDIR}/converters/iconv -CONFIGURE_ARGS+= --with-iconv-lib=/usr/local/lib \ - --with-iconv-includes=/usr/local/include .endif .if defined(WITHOUT_BIDI) --- Makefile.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: