aboutsummaryrefslogtreecommitdiffstats
path: root/astro/stars
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2011-12-21 03:10:50 +0800
committerse <se@FreeBSD.org>2011-12-21 03:10:50 +0800
commit8940d3d34484429c0a823fab3906692054b54cf6 (patch)
tree303bca2cb34038a1693cdc4ee08647f617a21d8b /astro/stars
parent01c9f88c754f2332f85404acfaa297c7f3dac7c9 (diff)
downloadfreebsd-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-aa13
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);