From owner-freebsd-ports@FreeBSD.ORG Sat Oct 19 06:26:04 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 DD7F2179; Sat, 19 Oct 2013 06:26:04 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward8l.mail.yandex.net (forward8l.mail.yandex.net [IPv6:2a02:6b8:0:1819::8]) by mx1.freebsd.org (Postfix) with ESMTP id A00C228B2; Sat, 19 Oct 2013 06:26:04 +0000 (UTC) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward8l.mail.yandex.net (Yandex) with ESMTP id 206511A40D85; Sat, 19 Oct 2013 10:26:02 +0400 (MSK) Received: from smtp11.mail.yandex.net (localhost [127.0.0.1]) by smtp11.mail.yandex.net (Yandex) with ESMTP id 738DD7E07A8; Sat, 19 Oct 2013 10:26:02 +0400 (MSK) Received: from 46.38.32.182.tel.ru (46.38.32.182.tel.ru [46.38.32.182]) by smtp11.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Cwieo01VQA-Q2Mieehp; Sat, 19 Oct 2013 10:26:02 +0400 Message-ID: <526225F9.90003@passap.ru> Date: Sat, 19 Oct 2013 10:26:01 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130806 Thunderbird/17.0.7 MIME-Version: 1.0 To: Kimmo Paasiala Subject: Re: www/w3m fails to build under stable/10 r256624 i386 References: <52619EFF.7090201@passap.ru> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: nobutaka@FreeBSD.org, 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: Sat, 19 Oct 2013 06:26:04 -0000 19.10.2013 02:00, Kimmo Paasiala пишет: > On Fri, Oct 18, 2013 at 11:50 PM, Boris Samorodov wrote: >> 18.10.2013 21:55, Kimmo Paasiala пишет: >>> 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=\"/usr/local/libexec/w3m\" >>> -DCGIBIN_DIR=\"/usr/local/libexec/w3m/cgi-bin\" >>> -DHELP_DIR=\"/usr/local/share/w3m\" -DETC_DIR=\"/usr/local/etc\" >>> -DCONF_DIR=\"/usr/local/etc/w3m\" -DRC_DIR=\"~/.w3m\" >>> -DLOCALEDIR=\"/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 = 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.html > > I can report that this patch fixes the build of www/w3m on my system. Nobutaka-san, can you appove/commit the fix? Thanks! -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve