diff options
author | jlaffaye <jlaffaye@FreeBSD.org> | 2011-06-29 02:41:58 +0800 |
---|---|---|
committer | jlaffaye <jlaffaye@FreeBSD.org> | 2011-06-29 02:41:58 +0800 |
commit | ddf78a74d67ebc28343a497a2b14a748176d7d6c (patch) | |
tree | ab62e1d454e8c5bab03280d63884f1a950a62727 /x11-clocks | |
parent | 4a0068919a37754dce5c850e1da7f1e8f95f7560 (diff) | |
download | freebsd-ports-gnome-ddf78a74d67ebc28343a497a2b14a748176d7d6c.tar.gz freebsd-ports-gnome-ddf78a74d67ebc28343a497a2b14a748176d7d6c.tar.zst freebsd-ports-gnome-ddf78a74d67ebc28343a497a2b14a748176d7d6c.zip |
Fixes build with clang
PR: ports/158073
Submitted by: Klaus Aehlig <aehlig@linta.de> (maintainer)
Approved by: rene (mentor vacation)
Diffstat (limited to 'x11-clocks')
-rw-r--r-- | x11-clocks/tclock/files/patch-aa | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/x11-clocks/tclock/files/patch-aa b/x11-clocks/tclock/files/patch-aa index 320dae14c9b5..f00126bca744 100644 --- a/x11-clocks/tclock/files/patch-aa +++ b/x11-clocks/tclock/files/patch-aa @@ -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(); |