ports/158073: [maintainer] x11-clocks/tclock
Klaus Aehlig
aehlig at linta.de
Mon Jun 20 18:00:30 UTC 2011
>Number: 158073
>Category: ports
>Synopsis: [maintainer] x11-clocks/tclock
>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: Mon Jun 20 18:00:22 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Klaus Aehlig
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD kta1c10.sesnet.soton.ac.uk 8.2-STABLE FreeBSD 8.2-STABLE #2: Sat May 28 19:30:07 BST 2011 root at kta1c10.sesnet.soton.ac.uk:/usr/obj/usr/src/sys/KTA1C10 amd64
>Description:
x11-clocks/tclock fails to build with CC=clang
>How-To-Repeat:
>Fix:
Apply the following patch
--- tclock.patch begins here ---
diff -ruN tclock.orig/files/patch-aa tclock/files/patch-aa
--- tclock.orig/files/patch-aa 2011-06-20 18:41:06.000000000 +0100
+++ tclock/files/patch-aa 2011-06-20 18:42:50.000000000 +0100
@@ -1,5 +1,5 @@
---- tclock.c.orig Mon Dec 21 20:56:29 1992
-+++ tclock.c Tue Sep 24 13:02:59 2002
+--- tclock.c.orig 1992-12-21 19:56:29.000000000 +0000
++++ tclock.c 2011-06-20 18:42:37.000000000 +0100
@@ -22,7 +22,10 @@
*/
@@ -53,6 +53,15 @@
}
unsigned long
+@@ -294,7 +295,7 @@
+ strcpy(appClass, "Tclock");
+ }
+
+-void
++int
+ main(ac, av)
+ int ac;
+ char **av;
@@ -309,6 +310,7 @@
extern
char *getenv();
--- tclock.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list