diff options
author | se <se@FreeBSD.org> | 2011-12-21 03:10:50 +0800 |
---|---|---|
committer | se <se@FreeBSD.org> | 2011-12-21 03:10:50 +0800 |
commit | 8940d3d34484429c0a823fab3906692054b54cf6 (patch) | |
tree | 303bca2cb34038a1693cdc4ee08647f617a21d8b /astro/stars | |
parent | 01c9f88c754f2332f85404acfaa297c7f3dac7c9 (diff) | |
download | freebsd-ports-gnome-8940d3d34484429c0a823fab3906692054b54cf6.tar.gz freebsd-ports-gnome-8940d3d34484429c0a823fab3906692054b54cf6.tar.zst freebsd-ports-gnome-8940d3d34484429c0a823fab3906692054b54cf6.zip |
Fix compilation with clang: main() must return int not void.
Diffstat (limited to 'astro/stars')
-rw-r--r-- | astro/stars/files/patch-aa | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/astro/stars/files/patch-aa b/astro/stars/files/patch-aa index a6027ebdcac2..96b2fb126efc 100644 --- a/astro/stars/files/patch-aa +++ b/astro/stars/files/patch-aa @@ -1,5 +1,14 @@ ---- main.c.orig Wed Apr 10 06:58:49 1996 -+++ main.c Sat Aug 3 17:51:59 1996 +--- main.c.orig 1996-04-10 12:58:49.000000000 +0200 ++++ main.c 2011-12-20 20:04:16.146176426 +0100 +@@ -48,7 +48,7 @@ + void events(); + void shutdn(); + +-void main() ++int main() + { + setup(); + events(); @@ -241,37 +241,37 @@ XQueryKeymap(xgh.display, keys); |