aboutsummaryrefslogtreecommitdiffstats
path: root/misc/birthday/files
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-11-23 00:54:53 +0800
committermiwi <miwi@FreeBSD.org>2007-11-23 00:54:53 +0800
commit35c93709588b38485cf64553002a7e735a3ef3a1 (patch)
treed74dcaf39f1459643145188936daf33c74a33a7f /misc/birthday/files
parentbad82db0d5daa1ea63a9fd0f1c8b8152fcb47420 (diff)
downloadfreebsd-ports-gnome-35c93709588b38485cf64553002a7e735a3ef3a1.tar.gz
freebsd-ports-gnome-35c93709588b38485cf64553002a7e735a3ef3a1.tar.zst
freebsd-ports-gnome-35c93709588b38485cf64553002a7e735a3ef3a1.zip
- Fix build on 64 bit platforms
PR: 118200 Submitted by: pointyhat Pietro Cerutti <gahr@gahr.ch> Approved by: portmgr (pav)
Diffstat (limited to 'misc/birthday/files')
-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);
+ }
+
+