ports/182130: x11/xmove does not build with clang [patch]
Stefan `Sec` Zehl
sec at 42.org
Sun Sep 15 21:30:01 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list