svn commit: r475079 - head/science/mpqc/files
Yuri Victorovich
yuri at FreeBSD.org
Sun Jul 22 01:36:39 UTC 2018
Author: yuri
Date: Sun Jul 22 01:36:38 2018
New Revision: 475079
URL: https://svnweb.freebsd.org/changeset/ports/475079
Log:
science/mpqc: Unbreak on CURRENT
For some reason, STL's endl fail and need to be std::endl only on CURRENT.
Added:
head/science/mpqc/files/patch-src_lib_util_keyval_ipv2__scan.cc (contents, props changed)
head/science/mpqc/files/patch-src_lib_util_keyval_ipv2__scan.ll (contents, props changed)
Added: head/science/mpqc/files/patch-src_lib_util_keyval_ipv2__scan.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/mpqc/files/patch-src_lib_util_keyval_ipv2__scan.cc Sun Jul 22 01:36:38 2018 (r475079)
@@ -0,0 +1,20 @@
+--- src/lib/util/keyval/ipv2_scan.cc.orig 2018-07-22 01:07:05 UTC
++++ src/lib/util/keyval/ipv2_scan.cc
+@@ -673,7 +673,7 @@ YY_RULE_SETUP
+ }
+ yylval.str = (char *)malloc(strlenyytext+1);
+ if (!yylval.str) {
+- ExEnv::errn() << "IPV2: {string} rule: malloc failed" << endl;
++ ExEnv::errn() << "IPV2: {string} rule: malloc failed" << std::endl;
+ abort();
+ }
+ strcpy(yylval.str,yytext);
+@@ -684,7 +684,7 @@ case 3:
+ YY_RULE_SETUP
+ { yylval.str = (char *)malloc(strlen(yytext));
+ if (!yylval.str) {
+- ExEnv::errn() << "IPV2: {qstring} rule: malloc failed" << endl;
++ ExEnv::errn() << "IPV2: {qstring} rule: malloc failed" << std::endl;
+ abort();
+ }
+ strcpy(yylval.str,&yytext[1]);
Added: head/science/mpqc/files/patch-src_lib_util_keyval_ipv2__scan.ll
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/mpqc/files/patch-src_lib_util_keyval_ipv2__scan.ll Sun Jul 22 01:36:38 2018 (r475079)
@@ -0,0 +1,20 @@
+--- src/lib/util/keyval/ipv2_scan.ll.orig 2018-07-22 01:07:58 UTC
++++ src/lib/util/keyval/ipv2_scan.ll
+@@ -59,7 +59,7 @@ qstring \"[^"\n]+\"
+ }
+ yylval.str = (char *)malloc(strlenyytext+1);
+ if (!yylval.str) {
+- ExEnv::errn() << "IPV2: {string} rule: malloc failed" << endl;
++ ExEnv::errn() << "IPV2: {string} rule: malloc failed" << std::endl;
+ abort();
+ }
+ strcpy(yylval.str,yytext);
+@@ -67,7 +67,7 @@ qstring \"[^"\n]+\"
+ }
+ {qstring} { yylval.str = (char *)malloc(strlen(yytext));
+ if (!yylval.str) {
+- ExEnv::errn() << "IPV2: {qstring} rule: malloc failed" << endl;
++ ExEnv::errn() << "IPV2: {qstring} rule: malloc failed" << std::endl;
+ abort();
+ }
+ strcpy(yylval.str,&yytext[1]);
More information about the svn-ports-all
mailing list