Package: psi-plus
Version: 0.16.330-1.1
Severity: normal
Tags: patch pending

Dear maintainer,

I've prepared an NMU for psi-plus (versioned as 0.16.330-1.2). The diff
is attached to this message.

Regards.

-- 
WBR, wRAR
diff -Nru psi-plus-0.16.330/debian/changelog psi-plus-0.16.330/debian/changelog
--- psi-plus-0.16.330/debian/changelog	2016-11-04 23:02:08.000000000 +0500
+++ psi-plus-0.16.330/debian/changelog	2016-11-19 20:56:36.000000000 +0500
@@ -1,3 +1,10 @@
+psi-plus (0.16.330-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS on unsigned char architectures.
+
+ -- Andrey Rahmatullin <w...@debian.org>  Sat, 19 Nov 2016 20:56:36 +0500
+
 psi-plus (0.16.330-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru psi-plus-0.16.330/debian/patches/fix-unsigned-char.patch psi-plus-0.16.330/debian/patches/fix-unsigned-char.patch
--- psi-plus-0.16.330/debian/patches/fix-unsigned-char.patch	1970-01-01 05:00:00.000000000 +0500
+++ psi-plus-0.16.330/debian/patches/fix-unsigned-char.patch	2016-11-19 20:56:22.000000000 +0500
@@ -0,0 +1,17 @@
+Description: Fix -Wnarrowing on unsighed char architectures
+Author: Andrey Rahmatullin <w...@debian.org>
+Last-Update: 2016-11-19
+
+Index: psi-plus-0.16.330/iris/src/xmpp/base64/base64.cpp
+===================================================================
+--- psi-plus-0.16.330.orig/iris/src/xmpp/base64/base64.cpp
++++ psi-plus-0.16.330/iris/src/xmpp/base64/base64.cpp
+@@ -45,7 +45,7 @@ QByteArray Base64::decode(const QString&
+ 	// 64 specifies eof
+ 	// everything else specifies data
+ 
+-	char tbl[] = {
++	signed char tbl[] = {
+ 		-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
+ 		-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
+ 		-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,
diff -Nru psi-plus-0.16.330/debian/patches/series psi-plus-0.16.330/debian/patches/series
--- psi-plus-0.16.330/debian/patches/series	2014-04-05 23:35:45.000000000 +0600
+++ psi-plus-0.16.330/debian/patches/series	2016-11-19 20:19:12.000000000 +0500
@@ -1 +1,2 @@
 add-hardening-flags-in-compiler-options
+fix-unsigned-char.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to