http://bugs.winehq.org/show_bug.cgi?id=35318
Bug ID: 35318 Summary: build fail on FreeBSD Product: Wine Version: 1.7.10 Hardware: x86 OS: FreeBSD Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: fiziologus@gmail.com Classification: Unclassified
Wine fail to build in FreeBSD after adding IPX support
Log in clang (in gcc same):
clang -c -o socket.o socket.c -I. -I../../include -D_REENTRANT -fPIC -D__WINESRC__ -DUSE_WS_PREFIX -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -fno-omit-frame-pointer -I/usr/local/include -O2 -pipe -fno-strict-aliasing gmake[1]: Entering directory `/usr/ports/emulators/wine-devel/work/wine-1.7.10/dlls/wshom.ocx' ../../tools/widl/widl -o wshom.h wshom.idl -I. -I../../include -D__WINESRC__ ../../tools/wrc/wrc -o wshom.res wshom.rc -I. -I../../include --nostdinc --po-dir=../../po -D__WINESRC__ ../../tools/widl/widl -o wshom_t.res wshom.idl -I. -I../../include -D__WINESRC__ clang -c -o shell.o shell.c -I. -I../../include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -fno-omit-frame-pointer -I/usr/local/include -O2 -pipe -fno-strict-aliasing socket.c:1476:35: error: invalid operands to binary expression ('int' and 'union ipx_net') return ipx->sipx_port || ipx->sipx_network || memcmp(&ipx->sipx_node, &emptyAddr.sipx_node, sizeof(emptyAddr.sipx_node)); ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ 1 error generated. gmake[1]: *** [socket.o] Error 1 gmake[1]: Leaving directory `/usr/ports/emulators/wine-devel/work/wine-1.7.10/dlls/ws2_32' gmake: *** [dlls/ws2_32] Error 2
ipx->sipx_network (aka ipx_net) is union with field u_char c_net[4] and u_short s_net[2].
http://bugs.winehq.org/show_bug.cgi?id=35318
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- I can see that looking at the include files but for some reason my PC-BSD vm stopped compiling wine...
gcc -g -O2 ./tools/makedep.c -o ./tools/makedep ./tools/makedep.c:21:20: error: config.h: No such file or directory ./tools/makedep.c:23:23: error: wine/port.h: No such file or directory ./tools/makedep.c:36:23: error: wine/list.h: No such file or directory
As soon as I figure what is wrong in my vm (configure runs fine) I'll make and send a patch for this.
http://bugs.winehq.org/show_bug.cgi?id=35318
--- Comment #2 from fiziologus@gmail.com --- this already fixed port maintainer (thanks for reply).
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=196573+0+current/svn-ports-head
http://bugs.winehq.org/show_bug.cgi?id=35318
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- Patch sent: http://source.winehq.org/patches/data/101425
http://bugs.winehq.org/show_bug.cgi?id=35318
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Regression SHA1| |ae728cfa274e3517f38a9fe21c9 | |b738c43b1ad73
http://bugs.winehq.org/show_bug.cgi?id=35318
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |281f69bccfaa1c8c0678f50c8db | |7ee149f51a117 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com --- Patch commited: http://source.winehq.org/git/wine.git/?a=commit;h=281f69bccfaa1c8c0678f50c8d...
https://bugs.winehq.org/show_bug.cgi?id=35318
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.11.
https://bugs.winehq.org/show_bug.cgi?id=35318
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |winsock