compile error with rdesktop 1.5.0
I'm getting the following error when I try to 'sudo port install rdesktop' - this is on a newish iMac with a clean working install of macports 1.50, I've previously installed apache2.2, php5, etc with this install.
---> Building rdesktop with target rdesktop
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rdesktop/work/rdesktop-1.5.0" && make rdesktop " returned error 2
Command output: xwin.c: In function 'ui_seamless_ack':
xwin.c:3675: error: 'sw' undeclared (first use in this function)
xwin.c:3675: error: invalid operands to binary *
xwin.c:3675: warning: statement with no effect
xwin.c:3676: warning: statement with no effect
xwin.c:3676: error: request for member 'next' in something not a structure or union
xwin.c:3676: warning: statement with no effect
xwin.c:3678: error: request for member 'outstanding_position' in something not a structure or union
xwin.c:3678: error: request for member 'outpos_serial' in something not a structure or union
xwin.c:3678: warning: comparison between pointer and integer
xwin.c:3680: error: request for member 'xoffset' in something not a structure or union
xwin.c:3680: error: request for member 'outpos_xoffset' in something not a structure or union
xwin.c:3680: warning: statement with no effect
xwin.c:3681: error: request for member 'yoffset' in something not a structure or union
xwin.c:3681: error: request for member 'outpos_yoffset' in something not a structure or union
xwin.c:3681: warning: statement with no effect
xwin.c:3682: error: request for member 'width' in something not a structure or union
xwin.c:3682: error: request for member 'outpos_width' in something not a structure or union
xwin.c:3682: warning: statement with no effect
xwin.c:3683: error: request for member 'height' in something not a structure or union
xwin.c:3683: error: request for member 'outpos_height' in something not a structure or union
xwin.c:3683: warning: statement with no effect
xwin.c:3684: error: request for member 'outstanding_position' in something not a structure or union
xwin.c:3684: warning: statement with no effect
xwin.c:3690: error: request for member 'wnd' in something not a structure or union
xwin.c:3691: error: request for member 'xoffset' in something not a structure or union
xwin.c:3691: error: request for member 'yoffset' in something not a structure or union
xwin.c:3691: error: request for member 'width' in something not a structure or union
xwin.c:3691: error: request for member 'height' in something not a structure or union
make: * [xwin.o] Error 1
This error was also reported today on the mailing list by Frank Wilson.
I get a different error:
The port appears to be missing some dependencies. I patched the portfile and was able to make it install. Patch attached. Maintainers, please review this and let me know if it's ok to commit.