Bug#795233: sflphone: FTBFS: error: call of overloaded 'basic_string(int, int)' is ambiguous

Martin Pitt mpitt at debian.org
Thu Aug 13 04:47:21 UTC 2015


tag 795233 patch
user ubuntu-devel at lists.ubuntu.com
usertags 795233 origin-ubuntu ubuntu-patch wily
thanks

Hello again,

Martin Pitt [2015-08-12  7:48 +0200]:
> | sipaccount.cpp: In constructor 'SIPAccount::SIPAccount(const string&, bool)':
> | sipaccount.cpp:144:66: error: call of overloaded 'basic_string(int, int)' is ambiguous

This debdiff updates debian/patches/gcc-5.patch to successfully build
now.

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
 * debian/patches/gcc-5.patch: Remove ambiguous std::string(0, 0)
   instantiation, to fix FTBFS. (Closes: #795233)
diff -Nru sflphone-1.4.1/debian/patches/gcc-5.patch sflphone-1.4.1/debian/patches/gcc-5.patch
--- sflphone-1.4.1/debian/patches/gcc-5.patch	2015-07-23 20:22:53.000000000 +0200
+++ sflphone-1.4.1/debian/patches/gcc-5.patch	2015-08-13 06:41:59.000000000 +0200
@@ -19,3 +21,16 @@
  
  
  #endif	/* __PJ_COMPAT_CTYPE_H__ */
+Index: sflphone-1.4.1/daemon/src/sip/sipaccount.cpp
+===================================================================
+--- sflphone-1.4.1.orig/daemon/src/sip/sipaccount.cpp
++++ sflphone-1.4.1/daemon/src/sip/sipaccount.cpp
+@@ -107,7 +107,7 @@ SIPAccount::SIPAccount(const std::string
+     , tlsPassword_()
+     , tlsMethod_("TLSv1")
+     , tlsCiphers_()
+-    , tlsServerName_(0, 0)
++    , tlsServerName_()
+     , tlsVerifyServer_(false)
+     , tlsVerifyClient_(true)
+     , tlsRequireClientCertificate_(true)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20150813/ad1038dc/attachment-0001.sig>


More information about the Pkg-voip-maintainers mailing list