From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 5 16:30:04 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1732316A408 for ; Mon, 5 Mar 2007 16:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id EA36513C4A7 for ; Mon, 5 Mar 2007 16:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l25GU3kg063142 for ; Mon, 5 Mar 2007 16:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l25GU3Zl063140; Mon, 5 Mar 2007 16:30:03 GMT (envelope-from gnats) Resent-Date: Mon, 5 Mar 2007 16:30:03 GMT Resent-Message-Id: <200703051630.l25GU3Zl063140@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, Li-Wen Hsu Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A56816A401 for ; Mon, 5 Mar 2007 16:23:20 +0000 (UTC) (envelope-from lwhsu@jail0.lwhsu.csie.net) Received: from knight.lwhsu.ckefgisc.org (lwhsu.Dorm7.NCTU.edu.tw [140.113.90.48]) by mx1.freebsd.org (Postfix) with ESMTP id 48E6313C48D for ; Mon, 5 Mar 2007 16:23:19 +0000 (UTC) (envelope-from lwhsu@jail0.lwhsu.csie.net) Received: from jail0.lwhsu.csie.net (jail0 [192.168.173.100]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by knight.lwhsu.ckefgisc.org (Postfix) with ESMTP id 8028B1142A; Tue, 6 Mar 2007 00:23:17 +0800 (CST) Received: (from lwhsu@localhost) by jail0.lwhsu.csie.net (8.13.8/8.13.8/Submit) id l25GNDAK071772; Tue, 6 Mar 2007 00:23:13 +0800 (CST) (envelope-from lwhsu) Message-Id: <200703051623.l25GNDAK071772@jail0.lwhsu.csie.net> Date: Tue, 6 Mar 2007 00:23:13 +0800 (CST) From: Li-Wen Hsu To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: beech@alaskaparadise.com, lwhsu@lwhsu.org Subject: ports/109932: [PATCH] ftp/proftpd: compiling fail with CODECONV option X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2007 16:30:04 -0000 >Number: 109932 >Category: ports >Synopsis: [PATCH] ftp/proftpd: compiling fail with CODECONV option >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: Mon Mar 05 16:30:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Li-Wen Hsu >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD jail0.lwhsu.csie.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jan 26 00:04:54 CST 2007 >Description: - Fix problem when WITH_CODECONV option is enabled Port maintainer (beech@alaskaparadise.com) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: # cd /usr/ports/ftp/proftpd # make config (select CODECONV) # make (...deleted...) cc -DHAVE_CONFIG_H -DFREEBSD6_2 -DFREEBSD6 -I.. -I../include -I/include -O2 -fno-strict-aliasing -pipe -Wall -c mod_codeconv.c mod_codeconv.c:24:25: iconv.h: No such file or directory mod_codeconv.c: In function `remote2local': mod_codeconv.c:50: error: syntax error before "ic" mod_codeconv.c:63: error: `ic' undeclared (first use in this function) mod_codeconv.c:63: error: (Each undeclared identifier is reported only once mod_codeconv.c:63: error: for each function it appears in.) mod_codeconv.c:63: warning: implicit declaration of function `iconv_open' mod_codeconv.c:64: error: `iconv_t' undeclared (first use in this function) mod_codeconv.c:66: warning: implicit declaration of function `iconv' mod_codeconv.c:82: warning: implicit declaration of function `iconv_close' mod_codeconv.c: In function `local2remote': mod_codeconv.c:90: error: syntax error before "ic" mod_codeconv.c:103: error: `ic' undeclared (first use in this function) mod_codeconv.c:104: error: `iconv_t' undeclared (first use in this function) gmake[1]: *** [mod_codeconv.o] Error 1 gmake[1]: Leaving directory `/usr/ports/ftp/proftpd/work/proftpd-1.3.1rc2/modules' gmake: *** [modules] Error 2 *** Error code 2 Stop in /usr/ports/ftp/proftpd. >Fix: --- proftpd-1.3.1.r2_3.patch begins here --- diff -ruN -ruN --exclude=CVS /usr/ports/ftp/proftpd/Makefile /home/lwhsu/ports/ftp/proftpd/Makefile --- /usr/ports/ftp/proftpd/Makefile Sat Mar 3 16:40:04 2007 +++ /home/lwhsu/ports/ftp/proftpd/Makefile Mon Mar 5 23:45:13 2007 @@ -198,7 +198,9 @@ .endif .if defined(WITH_CODECONV) +USE_ICONV= YES MODULES:=${MODULES}:mod_codeconv +INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include PROFTPD_LIBS+= -liconv -L${LOCALBASE}/lib EXTRA_PATCHES+= ${FILESDIR}/extra-patch-mod-codeconv .endif --- proftpd-1.3.1.r2_3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: