aboutsummaryrefslogtreecommitdiff
path: root/misc/birthday
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-11-22 16:54:53 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-11-22 16:54:53 +0000
commit5a45b06dbc6a7e361e4a40d048ae2e013a081597 (patch)
treeb089df7d502e61af4ca903097aaeddc1b71a8d7f /misc/birthday
parentd33a167189eaae0bfcf86b9615dfae559dd3cb86 (diff)
downloadports-5a45b06dbc6a7e361e4a40d048ae2e013a081597.tar.gz
ports-5a45b06dbc6a7e361e4a40d048ae2e013a081597.zip
- Fix build on 64 bit platforms
PR: 118200 Submitted by: pointyhat Pietro Cerutti <gahr@gahr.ch> Approved by: portmgr (pav)
Notes
Notes: svn path=/head/; revision=202794
Diffstat (limited to 'misc/birthday')
-rw-r--r--misc/birthday/files/patch-makemake.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/birthday/files/patch-makemake.c b/misc/birthday/files/patch-makemake.c
new file mode 100644
index 000000000000..f8c6110a335b
--- /dev/null
+++ b/misc/birthday/files/patch-makemake.c
@@ -0,0 +1,20 @@
+--- makemake.c.orig 2007-11-22 16:13:14.000000000 +0100
++++ makemake.c 2007-11-22 16:13:25.000000000 +0100
+@@ -17,7 +17,7 @@
+ { "UNIX", "ifeq (", ",", ")", "else", "endif" }
+ };
+
+-main(int argc, char *argv[])
++int main(int argc, char *argv[])
+ {
+ enum {DOS=0,UNIX=1} os;
+ char buf[256];
+@@ -51,6 +51,8 @@
+ } else
+ printf("%s", buf);
+ }
++
++ return (0);
+ }
+
+