From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jan 4 19:50:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 ESMTPS id B4E3ACA4 for ; Sat, 4 Jan 2014 19:50:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 900B01B67 for ; Sat, 4 Jan 2014 19:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s04Jo0wb056588 for ; Sat, 4 Jan 2014 19:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s04Jo0DV056587; Sat, 4 Jan 2014 19:50:00 GMT (envelope-from gnats) Resent-Date: Sat, 4 Jan 2014 19:50:00 GMT Resent-Message-Id: <201401041950.s04Jo0DV056587@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tom Russo 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 ESMTPS id EC64EBB1 for ; Sat, 4 Jan 2014 19:46:22 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D8D761B45 for ; Sat, 4 Jan 2014 19:46:22 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s04JkMPK083461 for ; Sat, 4 Jan 2014 19:46:22 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s04JkM4E083449; Sat, 4 Jan 2014 19:46:22 GMT (envelope-from nobody) Message-Id: <201401041946.s04JkM4E083449@oldred.freebsd.org> Date: Sat, 4 Jan 2014 19:46:22 GMT From: Tom Russo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/185473: emulators/wine-devel compilation failure X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2014 19:50:00 -0000 >Number: 185473 >Category: ports >Synopsis: emulators/wine-devel compilation failure >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 04 19:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Tom Russo >Release: 9.2-STABLE >Organization: >Environment: FreeBSD bogodyn.org 9.2-STABLE FreeBSD 9.2-STABLE #0 r259033: Fri Dec 6 12:35:22 MST 2013 russo@bogodyn.org:/usr/obj/usr/src/sys/BOGODYN i386 >Description: Trying to update wine-devel from 1.7.9 to 1.7.10, got the following compilation error: socket.c: In function 'is_sockaddr_bound': socket.c:1476:35: error: invalid operands to binary || (have 'int' and 'union ipx_net') The offending line is in socket.c in wine-1.7.10/dlls/ws2_32: return ipx->sipx_port || ipx->sipx_network || memcmp(&ipx->sipx_node, &emptyAddr.sipx_node, sizeof(emptyAddr.sipx_node)); ipx->sipx_network is not an int, it's a union ipx_net, as seen in /usr/include/netipx/ipx.h: struct ipx_addr { union ipx_net x_net; union ipx_host x_host; u_short x_port; }; struct sockaddr_ipx { u_char sipx_len; u_char sipx_family; struct ipx_addr sipx_addr; char sipx_zero[2]; }; ipx on line 1476 is of type sockaddr_ipx *, and sipx_network is #defined at the top of socket.h as sipx_addr.x_net >How-To-Repeat: Try to build wine-devel 1.7.10 on FreeBSD 9.2. >Fix: >Release-Note: >Audit-Trail: >Unformatted: