Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2018 05:51:00 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476155 - head/audio/terminatorx/files
Message-ID:  <201808010551.w715p0NF021556@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Wed Aug  1 05:50:59 2018
New Revision: 476155
URL: https://svnweb.freebsd.org/changeset/ports/476155

Log:
  audio/terminatorx: Fix build with Clang 6
  
  tX_dialog.cc:569:41: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
                  label=gtk_label_new(PACKAGE" release "VERSION);
                                                        ^
  
  http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475478_s336801/logs/errors/terminatorx-3.84_8.log

Modified:
  head/audio/terminatorx/files/patch-src_tX__dialog.cc
  head/audio/terminatorx/files/patch-src_tX__mastergui.cc

Modified: head/audio/terminatorx/files/patch-src_tX__dialog.cc
==============================================================================
--- head/audio/terminatorx/files/patch-src_tX__dialog.cc	Wed Aug  1 05:44:14 2018	(r476154)
+++ head/audio/terminatorx/files/patch-src_tX__dialog.cc	Wed Aug  1 05:50:59 2018	(r476155)
@@ -12,3 +12,21 @@
  	return (strstr(entry->d_name, "dsp")!=0);
  }
  
+@@ -562,7 +566,7 @@ void show_about(int nag)
+ 		gtk_box_pack_start(GTK_BOX(box), iwid, WID_FIX);
+ 		gtk_box_pack_start(GTK_BOX(box), box2, WID_FIX);
+ 		
+-		label=gtk_label_new(PACKAGE" release "VERSION);
++		label=gtk_label_new(PACKAGE" release " VERSION);
+ 		gtk_box_pack_start(GTK_BOX(box2), label, WID_DYN);
+ 		gtk_misc_set_alignment(GTK_MISC(label), 0.1, 0.5);
+ 		gtk_widget_show(label);
+@@ -585,7 +589,7 @@ void show_about(int nag)
+ 		sep=gtk_hseparator_new();
+ 		add_about_wid_fix(sep);
+ 		
+-		label=gtk_label_new("This is "PACKAGE" release "VERSION" - Copyright (C) 1999-2011 by Alexander König"
++		label=gtk_label_new("This is " PACKAGE " release " VERSION " - Copyright (C) 1999-2011 by Alexander König"
+ 		"\nSend comments, patches and scratches to: alex@lisas.de\nterminatorX-homepage: http://www.terminatorX.org");
+ 
+ 		gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_CENTER);

Modified: head/audio/terminatorx/files/patch-src_tX__mastergui.cc
==============================================================================
--- head/audio/terminatorx/files/patch-src_tX__mastergui.cc	Wed Aug  1 05:44:14 2018	(r476154)
+++ head/audio/terminatorx/files/patch-src_tX__mastergui.cc	Wed Aug  1 05:50:59 2018	(r476155)
@@ -18,3 +18,12 @@
  		
  		int res=gtk_dialog_run(GTK_DIALOG(dialog));
  		gtk_widget_destroy(dialog);
+@@ -1671,7 +1671,7 @@ void create_mastergui(int x, int y)
+ 
+ 	add_sep2();
+ 
+-	dummy=gtk_label_new("v"VERSION);
++	dummy=gtk_label_new("v" VERSION);
+ 	gtk_misc_set_alignment(GTK_MISC(dummy), 1, 0.5);
+ 	gtk_box_pack_end(GTK_BOX(status_box), dummy, WID_FIX);
+ 	gtk_widget_show(dummy);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808010551.w715p0NF021556>