Date: Sun, 15 Sep 2013 23:27:49 +0200 (CEST) From: Stefan `Sec` Zehl <sec@42.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/182130: x11/xmove does not build with clang [patch] Message-ID: <20130915212749.E648128421@ice.42.org> Resent-Message-ID: <201309152130.r8FLU1go001817@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182130 >Category: ports >Synopsis: x11/xmove does not build with clang [patch] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Sep 15 21:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Stefan `Sec` Zehl >Release: FreeBSD 8.4-STABLE amd64 >Organization: >Environment: System: FreeBSD ice 8.4-STABLE FreeBSD 8.4-STABLE #23 r252204: Tue Jun 25 14:30:35 CEST 2013 root@ice:/usr/obj/usr/src/sys/ICE amd64 >Description: The automated test notified me that the port x11/xmove does not build with clang. I created a minimal patch which just fixes that error. >How-To-Repeat: cd /usr/ports/x11/xmove make CC=clang >Fix: add the attached patch as "files/patch-ac" --- xmovectrl/xmovectrl.c.org 1997-08-10 20:36:48.000000000 +0200 +++ xmovectrl/xmovectrl.c 2013-09-15 23:22:11.000000000 +0200 @@ -33,6 +33,8 @@ int auth_namelen, auth_datalen; char *auth_name, *auth_data; +void DoServerSetup(int server_fd); + main(int argc, char **argv, char **envp) { char **cur_argv = argv + 1; @@ -143,6 +145,7 @@ } +void DoServerSetup(int server_fd) { unsigned char iobuf[512]; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130915212749.E648128421>