diff options
author | Rene Ladan <rene@FreeBSD.org> | 2018-01-15 16:34:36 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2018-01-15 16:34:36 +0000 |
commit | 11871fb7f7b390e93b71df92b1d4dc1b9d7961e4 (patch) | |
tree | 19adebb4641dc6b4c767e44f647f845ae9e62cb6 /lang/bf2c | |
parent | databases/mysqlwsrep56-server: fix compilation with Clang 6 (diff) |
lang/bf2c: fix build with clang 6
Submitted by: pkg-fallout
Notes
Notes:
svn path=/head/; revision=459078
Diffstat (limited to 'lang/bf2c')
-rw-r--r-- | lang/bf2c/files/patch-bf2c.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/bf2c/files/patch-bf2c.cc b/lang/bf2c/files/patch-bf2c.cc new file mode 100644 index 000000000000..9952426522e4 --- /dev/null +++ b/lang/bf2c/files/patch-bf2c.cc @@ -0,0 +1,11 @@ +--- bf2c.cc.orig 2013-06-12 22:11:38 UTC ++++ bf2c.cc +@@ -57,7 +57,7 @@ int main(int argc, char *argv[]) { + pt = NULL; + infname = outfname = invchar = NULL; + +- printf("bf2c.cc "VERSION" Copyright (c) 2002-"ENDYEAR" Rene Ladan <r.c.ladan@gmail.com>\n\n" ++ printf("bf2c.cc " VERSION " Copyright (c) 2002-" ENDYEAR " Rene Ladan <r.c.ladan@gmail.com>\n\n" + "Optimizing BrainFuck to C compiler.\n\n"); + + while ((opt = getopt(argc,argv,"i:o:hs:r:")) != -1) { |