diff options
author | rene <rene@FreeBSD.org> | 2018-01-16 00:34:36 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2018-02-04 06:24:28 +0800 |
commit | 7bae52852024707ba6005261b458fe30e5d7d61b (patch) | |
tree | 763b680ad8383247a08baca7502cedf5abeb64eb /lang | |
parent | 0b7899d86c84b3989cb9e21f061082936b2f8808 (diff) | |
download | freebsd-ports-gnome-7bae52852024707ba6005261b458fe30e5d7d61b.tar.gz freebsd-ports-gnome-7bae52852024707ba6005261b458fe30e5d7d61b.tar.zst freebsd-ports-gnome-7bae52852024707ba6005261b458fe30e5d7d61b.zip |
lang/bf2c: fix build with clang 6
Submitted by: pkg-fallout
Diffstat (limited to 'lang')
-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) { |