From owner-freebsd-ports@FreeBSD.ORG Fri Oct 18 22:00:13 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2B7D48CA for ; Fri, 18 Oct 2013 22:00:13 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-qe0-x22b.google.com (mail-qe0-x22b.google.com [IPv6:2607:f8b0:400d:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D09D82135 for ; Fri, 18 Oct 2013 22:00:12 +0000 (UTC) Received: by mail-qe0-f43.google.com with SMTP id nc12so2307483qeb.2 for ; Fri, 18 Oct 2013 15:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Uxd+qEW9gpvCKDR1y0QKu9rHlAupHoZgF4vGVO8SEI8=; b=bjZyp7sEoGWfwCInHjGfz+U1lYOqvof3uNwZanCPrs+93NPEUHNm+iTfPDKH+PRH+b SComN2Fdd0DwyY5CPi7V2tJbG98QCVrO4D5xirGheqM60JiYUh+3T4wv19Jzrunwffp+ F4JQz1A0BM7EpoKotp5ckA3KJlIijsLhCLsSBn48Dexgsye6oCWaPHpYyDzTeXs75Df+ jKq/xb5uSJ+HgTlTXrMXxFoJxIEcImc9d9dAiAffLpK+6A+pU2kC/CBEBr+y51alNqJ9 THPBPlNN/n/V08dUv5Rcfo+IRg2xW9KAQA7kuQdllP9Wlv5R7AgzrwW0zKbZbq3NRosz CRBg== MIME-Version: 1.0 X-Received: by 10.224.92.201 with SMTP id s9mr7575426qam.85.1382133611842; Fri, 18 Oct 2013 15:00:11 -0700 (PDT) Received: by 10.96.180.233 with HTTP; Fri, 18 Oct 2013 15:00:11 -0700 (PDT) In-Reply-To: <52619EFF.7090201@passap.ru> References: <52619EFF.7090201@passap.ru> Date: Sat, 19 Oct 2013 01:00:11 +0300 Message-ID: Subject: Re: www/w3m fails to build under stable/10 r256624 i386 From: Kimmo Paasiala To: Boris Samorodov Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Oct 2013 22:00:13 -0000 On Fri, Oct 18, 2013 at 11:50 PM, Boris Samorodov wrote: > 18.10.2013 21:55, Kimmo Paasiala =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> The error message I'm getting is >> >> cc -I. -I. -O2 -pipe -fno-strict-aliasing -I./libwc >> -I/usr/include/openssl -I/usr/local/include -I/usr/local/include >> -DHAVE_CONFIG_H -DAUXBIN_DIR=3D\"/usr/local/libexec/w3m\" >> -DCGIBIN_DIR=3D\"/usr/local/libexec/w3m/cgi-bin\" >> -DHELP_DIR=3D\"/usr/local/share/w3m\" -DETC_DIR=3D\"/usr/local/etc\" >> -DCONF_DIR=3D\"/usr/local/etc/w3m\" -DRC_DIR=3D\"~/.w3m\" >> -DLOCALEDIR=3D\"/usr/local/share/locale\" -c main.c >> main.c:836:23: error: assigning to 'GC_warn_proc' (aka 'void (*)(char >> *, GC_word)') from incompatible type 'void' >> orig_GC_warn_proc =3D GC_set_warn_proc(wrap_GC_warn_proc); >> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> main.c:2264:37: warning: incompatible pointer types passing 'char **' >> to parameter of type 'wc_uchar **' (aka 'unsigned char **') >> [-Wincompatible-pointer-types] >> return wc_any_to_ucs(wtf_parse1(&p)); >> ^~ >> ./libwc/wtf.h:71:41: note: passing argument to parameter 'p' here >> extern wc_wchar_t wtf_parse1(wc_uchar **p); >> ^ >> 1 warning and 1 error generated. >> *** Error code 1 >> >> Stop. >> make[1]: stopped in /wrkdirs/usr/ports/www/w3m/work/w3m-0.5.3 >> *** Error code 1 >> >> Anyone else seeing this? www/w3m is quite an important port because >> it's required to build devel/git. > > http://lists.freebsd.org/pipermail/svn-ports-head/2013-October/032845.htm= l > > -- > WBR, Boris Samorodov (bsam) > FreeBSD Committer, http://www.FreeBSD.org The Power To Serve Thanks, I can report that this patch fixes the build of www/w3m on my system. -Kimmo