Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2013 01:00:11 +0300
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        Boris Samorodov <bsam@passap.ru>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: www/w3m fails to build under stable/10 r256624 i386
Message-ID:  <CA%2B7WWSd9eFdoZnnNMwYxjpAKvh%2BVU6nysi7TYgRgVZtdQPdm5w@mail.gmail.com>
In-Reply-To: <52619EFF.7090201@passap.ru>
References:  <CA%2B7WWSfAchdX1=WqKxy3eZN%2BG693cHbWtW37GA8T51KHY19oVA@mail.gmail.com> <52619EFF.7090201@passap.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 18, 2013 at 11:50 PM, Boris Samorodov <bsam@passap.ru> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSd9eFdoZnnNMwYxjpAKvh%2BVU6nysi7TYgRgVZtdQPdm5w>