svn commit: r478791 - head/devel/glademm/files

Alexander Nedotsukov bland at FreeBSD.org
Sun Sep 2 14:05:49 UTC 2018


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;


More information about the svn-ports-head mailing list