- Fix build on 64 bit platforms

PR:		118200
Submitted by:	pointyhat
		Pietro Cerutti <gahr@gahr.ch>
Approved by:	portmgr (pav)
This commit is contained in:
Martin Wilke 2007-11-22 16:54:53 +00:00
parent d33a167189
commit 5a45b06dbc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202794

View file

@ -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);
}