Hi! * LI Daobing <[EMAIL PROTECTED]> [060317 08:02]:
> I have upload a new version to mentors [1], now I am waiting for a > sponsor to upload it. > > [1] http://mentors.debian.net/debian/pool/main/q/qterm/ Since the link doesn't work, and you didn't reacted on this release critical bug for quite some time, I just verified that Martins patch indeed works (qterm compiles and runs with it cleanly) and NMUed it. Attached you'll find the complete patch. Yours sincerely, Alexander
diff -Nur qterm-0.4.0pre3-org/debian/changelog qterm-0.4.0pre3/debian/changelog --- qterm-0.4.0pre3-org/debian/changelog 2006-06-21 19:24:52.000000000 +0200 +++ qterm-0.4.0pre3/debian/changelog 2006-06-21 19:13:08.820975000 +0200 @@ -1,3 +1,11 @@ +qterm (0.4.0pre3-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Applied patch by Martin Michlmayr to fix FTBFS with gcc 4.1 (Closes: + #355663) + + -- Alexander Schmehl <[EMAIL PROTECTED]> Wed, 21 Jun 2006 19:11:58 +0200 + qterm (0.4.0pre3-2) unstable; urgency=low * rebuild depends on libssl-dev (>= 0.9.8-1) diff -Nur qterm-0.4.0pre3-org/debian/patches/00list qterm-0.4.0pre3/debian/patches/00list --- qterm-0.4.0pre3-org/debian/patches/00list 2006-06-21 19:24:52.000000000 +0200 +++ qterm-0.4.0pre3/debian/patches/00list 2006-06-21 19:11:52.208187000 +0200 @@ -1,2 +1,3 @@ 01-amd64.dpatch 02-openssl.dpatch +10_g++-4.1-fix.dpatch diff -Nur qterm-0.4.0pre3-org/debian/patches/10_g++-4.1-fix.dpatch qterm-0.4.0pre3/debian/patches/10_g++-4.1-fix.dpatch --- qterm-0.4.0pre3-org/debian/patches/10_g++-4.1-fix.dpatch 1970-01-01 01:00:00.000000000 +0100 +++ qterm-0.4.0pre3/debian/patches/10_g++-4.1-fix.dpatch 2006-06-21 19:11:30.806849500 +0200 @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_g++-4.1-fix.dpatch by <[EMAIL PROTECTED]> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + [EMAIL PROTECTED]@ +diff -urNad qterm-0.4.0pre3~/qterm/qtermhttp.cpp qterm-0.4.0pre3/qterm/qtermhttp.cpp +--- qterm-0.4.0pre3~/qterm/qtermhttp.cpp 2005-09-01 16:58:19.000000000 +0200 ++++ qterm-0.4.0pre3/qterm/qtermhttp.cpp 2006-06-21 19:11:26.000000000 +0200 +@@ -91,7 +91,7 @@ + // ValueString = ValueString.mid(ValueString.find(';') + 1).stripWhiteSpace(); + // if(ValueString.lower().find("filename") == 0) + // m_strHttpFile = ValueString.mid(ValueString.find('=') + 1).stripWhiteSpace(); +- QRegExp re("filename\=.*", false); ++ QRegExp re("filename=.*", false); + int pos=re.search(ValueString); + if(pos!=-1) + m_strHttpFile = ValueString.mid(pos+9,re.matchedLength()-9);