svn commit: r459379 - head/comms/flwrap/files

Diane Bruce db at FreeBSD.org
Thu Jan 18 21:08:04 UTC 2018


Author: db
Date: Thu Jan 18 21:08:02 2018
New Revision: 459379
URL: https://svnweb.freebsd.org/changeset/ports/459379

Log:
  Fix build with clang6
  
  flwrap.cxx:550:21: error: invalid suffix on literal; C++11 requires a space
  +between literal and identifier [-Wreserved-user-defined-literal]
                  printf("Version: "VERSION"\n");
                                    ^
  
  Reported by:	pkg-fallout

Added:
  head/comms/flwrap/files/
  head/comms/flwrap/files/patch-src_flwrap.cxx   (contents, props changed)

Added: head/comms/flwrap/files/patch-src_flwrap.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/flwrap/files/patch-src_flwrap.cxx	Thu Jan 18 21:08:02 2018	(r459379)
@@ -0,0 +1,11 @@
+--- src/flwrap.cxx.orig	2018-01-18 20:57:00 UTC
++++ src/flwrap.cxx
+@@ -547,7 +547,7 @@ int parse_args(int argc, char **argv, int& idx)
+ 			exit(0);
+ 		}
+ 	if (strcasecmp("--version", argv[idx]) == 0) {
+-		printf("Version: "VERSION"\n");
++		printf("Version: %s\n",VERSION);
+ 		exit(0);
+ 	}
+ 


More information about the svn-ports-all mailing list