From owner-freebsd-ports@FreeBSD.ORG Thu Jul 13 01:35:08 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FF5416A4DF for ; Thu, 13 Jul 2006 01:35:08 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from stargate.alaskaparadise.com (114-103-74-65.gci.net [65.74.103.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9050043D49 for ; Thu, 13 Jul 2006 01:35:05 +0000 (GMT) (envelope-from beech@alaskaparadise.com) Received: by stargate.alaskaparadise.com (Postfix, from userid 0) id 231EB407B; Wed, 12 Jul 2006 17:35:03 -0800 (AKDT) From: Beech Rintoul Organization: Alaska Paradise To: freebsd-ports@freebsd.org Date: Wed, 12 Jul 2006 17:34:32 -0800 User-Agent: KMail/1.9.3 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1694240.kIfs5H7LSa"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200607121735.00653.beech@alaskaparadise.com> Subject: problem with header X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 01:35:08 -0000 --nextPart1694240.kIfs5H7LSa Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm trying to add option (iconv() charset conversion patch) to proftpd. http://home.h01.itscom.net/para/software/misc/proftpd-iconv/index-e.html I added the following to the port makefile: =2Eif defined(WITH_ICONV) EXTRA_PATCHES=3D ${FILESDIR}/extra_patch-iconv MODULES:=3D${MODULES}:mod_codeconv:mod_df INCLUDEDIRS:=3D${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=3D${LIBDIRS}:${LOCALBASE}/lib USE_AUTOTOOLS=3D autoconf:259 =2Eendif The patch applies cleanly and creates two new modules which are added to th= e=20 build config, plus ads some src code. Everything compiles until it reaches= =20 the first module which bails with the following: mod_codeconv.c: In function `remote2local': mod_codeconv.c:74: warning: passing arg 2 of `libiconv' from incompatible=20 pointer type mod_codeconv.c: In function `local2remote': mod_codeconv.c:114: warning: passing arg 2 of `libiconv' from incompatible= =20 pointer type cc -DHAVE_CONFIG_H -DFREEBSD7_0 -DFREEBSD7 -I.. -I../include -O2 -fno-str= ict-aliasing -pipe -DHAVE_OPENSSL -Wall -c=20 mod_df.c mod_df.c:34:21: sys/vfs.h: No such file or directory mod_df.c: In function `df_post_cwd': mod_df.c:57: error: storage size of 'sfs' isn't known mod_df.c:59: warning: implicit declaration of function `statfs' mod_df.c:57: warning: unused variable `sfs' gmake[1]: *** [mod_df.o] Error 1 iconv.h is included in the code but doesn't seem to be getting pulled in. I= =20 also noticed that when configure looks for iconv.h, it comes back no. libiconv is already a dependency for this port and iconv.h is=20 in /local/include. The patch is here: http://www.alaskaparadise.com/freebsd/extra_patch-iconv I'm a bit over my head with this one, but I thought I'd give it a try. Could someone take a look and maybe give me some suggestions? Thanks, Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- --nextPart1694240.kIfs5H7LSa Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQBEtaNEp5D0B1NlT4URAm/JAJ4tZFY8vIeRlOU/9oU52ztd58IGywCdGl9K MCK7SVaEXTNZ2A8N9l0p7rk= =EfaU -----END PGP SIGNATURE----- --nextPart1694240.kIfs5H7LSa--