- 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:
parent
d33a167189
commit
5a45b06dbc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202794
1 changed files with 20 additions and 0 deletions
20
misc/birthday/files/patch-makemake.c
Normal file
20
misc/birthday/files/patch-makemake.c
Normal 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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in a new issue