Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2018 14:05:48 +0000 (UTC)
From:      Alexander Nedotsukov <bland@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478791 - head/devel/glademm/files
Message-ID:  <201809021405.w82E5ms6013281@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bland
Date: Sun Sep  2 14:05:48 2018
New Revision: 478791
URL: https://svnweb.freebsd.org/changeset/ports/478791

Log:
  Fix build with Clang 6
  
  PR:		230905

Added:
  head/devel/glademm/files/patch-src_Cxx.cc   (contents, props changed)
  head/devel/glademm/files/patch-src_glade--.cc   (contents, props changed)

Added: head/devel/glademm/files/patch-src_Cxx.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/glademm/files/patch-src_Cxx.cc	Sun Sep  2 14:05:48 2018	(r478791)
@@ -0,0 +1,11 @@
+--- src/Cxx.cc.orig	2018-08-26 06:39:26 UTC
++++ src/Cxx.cc
+@@ -894,7 +894,7 @@ void Cxx::WriteCreation(SystemFile &f,File_type tp)
+    if (!Configuration.author_email.empty())
+       f << " by " << Configuration.author_email;
+    f << '\n';
+-   f << comment << " using "GLADEMM_NAME"\n";
++   f << comment << " using " GLADEMM_NAME "\n";
+ }
+ 
+ 

Added: head/devel/glademm/files/patch-src_glade--.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/glademm/files/patch-src_glade--.cc	Sun Sep  2 14:05:48 2018	(r478791)
@@ -0,0 +1,20 @@
+--- src/glade--.cc.orig	2018-08-26 06:40:08 UTC
++++ src/glade--.cc
+@@ -393,7 +393,7 @@ int main(int argc,char **argv)
+       	 break;
+       case 'h': Configuration.header_suffix=optarg;
+          break;
+-      case 'V': std::cout<< "glademm V"VERSION" (glade to Gtk-- converter)\n";
++      case 'V': std::cout<< "glademm V" VERSION " (glade to Gtk-- converter)\n";
+          return 0;
+          break;
+       case 'v': Configuration.verbose++; break;
+@@ -487,7 +487,7 @@ int main(int argc,char **argv)
+ 		 "\t--baseclass\tderive from base class (for class parameters)\n"
+          	 "\t--libglade\tgenerate code skeleton for a libglade-- application.\n"
+          	 "\t--libglade-option\tgenerate infrastructure for libglade without using it.\n"
+-         	 "\t--version\tprints 'glademm V"VERSION"'\n";
++         	 "\t--version\tprints 'glademm V" VERSION "'\n";
+          return 1;
+    }
+    if (argc-optind!=1) goto usage;



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