1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00

Fix build with Clang 6

PR:		230905
This commit is contained in:
Alexander Nedotsukov 2018-09-02 14:05:48 +00:00
parent dba225fad5
commit 19ded0a3df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478791
2 changed files with 31 additions and 0 deletions

View File

@ -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";
}

View File

@ -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;