From owner-freebsd-ports@FreeBSD.ORG Tue Oct 22 05:02:19 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2A50EB0A for ; Tue, 22 Oct 2013 05:02:19 +0000 (UTC) (envelope-from freebsd.contact@marino.st) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 05A032DD8 for ; Tue, 22 Oct 2013 05:02:17 +0000 (UTC) Received: from [192.168.0.22] (unknown [130.255.26.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id AF781435C7 for ; Tue, 22 Oct 2013 00:01:59 -0500 (CDT) Message-ID: <526606B4.6010904@marino.st> Date: Tue, 22 Oct 2013 07:01:40 +0200 From: John Marino User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: www/w3m broken after update References: <20131022014020.6FF19601AC@smtp.hushmail.com> In-Reply-To: <20131022014020.6FF19601AC@smtp.hushmail.com> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: marino@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2013 05:02:19 -0000 On 10/22/2013 03:40, Kenta Suzumoto wrote: > Maintainer has ignored emails. Any ideas what's causing this to fail? > > config.status: creating config.h > config.status: executing po-directories commands > config.status: creating po/POTFILES > config.status: creating po/Makefile > ===> Building for w3m-0.5.3_2 > (echo '#define DEFUN(x,y,z) x y'; sed -ne '/^DEFUN/{p;n;/^[ ]/p;}' ./main.c ./menu.c) | clang-cpp - | awk '$1 ~ /^[_A-Za-z]/ { for (i=2;i<=NF;i++) { print $i, $1} }' > funcname.tab.tmp > funcname.tab updated > sort funcname.tab | /usr/bin/awk -f ./funcname1.awk > funcname1.h > clang -I. -I. -O2 -pipe -Qunused-parameter -Qunused-arguments -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. > *** [main.o] Error code 1 > Yeah, I hit this in dports and patched it. I didn't realize it was broken in ports too. Here's the patch I used to fix it: http://gitweb.dragonflybsd.org/dports.git/blob_plain/HEAD:/www/w3m/dragonfly/patch-main.c Regards, John