summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/yatebts/files/yatebts-5.0.0-gcc6.patch')
-rw-r--r--net-wireless/yatebts/files/yatebts-5.0.0-gcc6.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-wireless/yatebts/files/yatebts-5.0.0-gcc6.patch b/net-wireless/yatebts/files/yatebts-5.0.0-gcc6.patch
new file mode 100644
index 00000000000..988ca2d4f73
--- /dev/null
+++ b/net-wireless/yatebts/files/yatebts-5.0.0-gcc6.patch
@@ -0,0 +1,31 @@
+--- a/mbts/GPRS/MSInfo.cpp
++++ b/mbts/GPRS/MSInfo.cpp
+@@ -638,7 +638,7 @@
+ if (msPCHDowns.size() > 1) {
+ std::ostringstream os;
+ msDumpChannels(os);
+- GPRSLOG(INFO,GPRS_MSG|GPRS_CHECK_OK) << "Multislot assignment for "<<this<<os;
++ GPRSLOG(INFO,GPRS_MSG|GPRS_CHECK_OK) << "Multislot assignment for "<<this<<(!os.fail());
+ }
+
+ } else {
+--- a/mbts/SGSNGGSN/Sgsn.cpp
++++ b/mbts/SGSNGGSN/Sgsn.cpp
+@@ -149,7 +149,7 @@
+ clearConn(GprsConnNone,SigConnLost);
+ std::ostringstream ss;
+ sgsnInfoDump(this,ss);
+- SGSNLOGF(INFO,GPRS_OK|GPRS_MSG,"SGSN","Removing SgsnInfo:"<<ss);
++ SGSNLOGF(INFO,GPRS_OK|GPRS_MSG,"SGSN","Removing SgsnInfo:"<<(!ss.fail()));
+ sSgsnInfoList.remove(this);
+ GmmInfo *gmm = getGmm();
+ if (gmm && (gmm->getSI() == this)) {
+@@ -252,7 +252,7 @@
+ {
+ std::ostringstream ss;
+ gmmInfoDump(gmm,ss,0);
+- SGSNLOGF(INFO,GPRS_OK|GPRS_MSG,"SGSN","Removing gmm:"<<ss);
++ SGSNLOGF(INFO,GPRS_OK|GPRS_MSG,"SGSN","Removing gmm:"<<(!ss.fail()));
+ SgsnInfo *si;
+ RN_FOR_ALL(SgsnInfoList_t,sSgsnInfoList,si) {
+ // The second test here should be redundant.