From 5a45b06dbc6a7e361e4a40d048ae2e013a081597 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 22 Nov 2007 16:54:53 +0000 Subject: - Fix build on 64 bit platforms PR: 118200 Submitted by: pointyhat Pietro Cerutti Approved by: portmgr (pav) --- misc/birthday/files/patch-makemake.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 misc/birthday/files/patch-makemake.c (limited to 'misc/birthday') 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); + } + + -- cgit v1.2.3