svn commit: r459376 - head/comms/flrig/files

Diane Bruce db at FreeBSD.org
Thu Jan 18 20:45:34 UTC 2018


Author: db
Date: Thu Jan 18 20:45:32 2018
New Revision: 459376
URL: https://svnweb.freebsd.org/changeset/ports/459376

Log:
  Make build under clang6
  Added one patchfile
  
  main.cxx:517: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/flrig/files/patch-src_main.cxx   (contents, props changed)
Modified:
  head/comms/flrig/files/patch-configure

Modified: head/comms/flrig/files/patch-configure
==============================================================================
--- head/comms/flrig/files/patch-configure	Thu Jan 18 20:27:37 2018	(r459375)
+++ head/comms/flrig/files/patch-configure	Thu Jan 18 20:45:32 2018	(r459376)
@@ -1,6 +1,6 @@
---- configure.orig	2017-04-01 02:21:18 UTC
+--- configure.orig	2018-01-14 19:21:15 UTC
 +++ configure
-@@ -6143,7 +6143,7 @@ $as_echo "$FLTK_CONFIG" >&6; }
+@@ -6166,7 +6166,7 @@ $as_echo "$FLTK_CONFIG" >&6; }
            FLTK_LIBS=`$FLTK_CONFIG --ldflags --use-images`
            if test "x$target_mingw32" != "xyes"; then
                if test "x$target_darwin" != "xyes"; then

Added: head/comms/flrig/files/patch-src_main.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/flrig/files/patch-src_main.cxx	Thu Jan 18 20:45:32 2018	(r459376)
@@ -0,0 +1,11 @@
+--- src/main.cxx.orig	2018-01-18 20:38:50 UTC
++++ src/main.cxx
+@@ -514,7 +514,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);
+ 	}
+ 	if (strcasecmp("--rig_debug", argv[idx]) == 0) {


More information about the svn-ports-head mailing list