Control: tags 812054 + patch
Control: tags 812054 + pending

Dear maintainer,

I've prepared an NMU for lzop (versioned as 1.03-3.3) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.
 Reiner
diff -Nru lzop-1.03/debian/changelog lzop-1.03/debian/changelog
--- lzop-1.03/debian/changelog	2016-03-05 00:27:28.000000000 +0100
+++ lzop-1.03/debian/changelog	2016-07-06 21:16:44.000000000 +0200
@@ -1,3 +1,10 @@
+lzop (1.03-3.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add gcc6 compatibility patch. (Closes: #812054)
+
+ -- Reiner Herrmann <rei...@reiner-h.de>  Wed, 06 Jul 2016 21:16:42 +0200
+
 lzop (1.03-3.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru lzop-1.03/debian/patches/lzop-1.03-gcc6.patch lzop-1.03/debian/patches/lzop-1.03-gcc6.patch
--- lzop-1.03/debian/patches/lzop-1.03-gcc6.patch	1970-01-01 01:00:00.000000000 +0100
+++ lzop-1.03/debian/patches/lzop-1.03-gcc6.patch	2016-07-06 19:08:31.000000000 +0200
@@ -0,0 +1,39 @@
+Origin: vendor, https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-support/lzop/lzop/lzop-1.03-gcc6.patch
+Description: Compatibility with gcc6
+ gcc-6 has additional errors e.g.
+ .
+ ./test.c:1:12: error: variably modified '__acc_cta' at file scope
+  extern int __acc_cta[1-2*!((1l << (8*8 -1)) < 0)];
+             ^~~~~~~~~
+ .
+ This is rightly pointed out since that index is undefined
+Signed-off-by: Khem Raj <raj.k...@gmail.com>
+Upstream-Status: Pending
+Bug-Debian: https://bugs.debian.org/812054
+
+--- a/src/miniacc.h
++++ b/src/miniacc.h
+@@ -4461,12 +4461,12 @@
+ #if defined(__MSDOS__) && defined(__TURBOC__) && (__TURBOC__ < 0x0150)
+ #elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC)
+ #else
+-    ACCCHK_ASSERT((1   << (8*SIZEOF_INT-1)) < 0)
++    ACCCHK_ASSERT((int)(1u   << (8*SIZEOF_INT-1)) < 0)
+ #endif
+     ACCCHK_ASSERT((1u  << (8*SIZEOF_INT-1)) > 0)
+ #if 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC)
+ #else
+-    ACCCHK_ASSERT((1l  << (8*SIZEOF_LONG-1)) < 0)
++    ACCCHK_ASSERT((long)(1ul  << (8*SIZEOF_LONG-1)) < 0)
+ #endif
+     ACCCHK_ASSERT((1ul << (8*SIZEOF_LONG-1)) > 0)
+ #if defined(acc_int16e_t)
+@@ -4695,7 +4695,7 @@
+ #elif 1 && (ACC_CC_LCC || ACC_CC_LCCWIN32) && !defined(ACCCHK_CFG_PEDANTIC)
+ #elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC)
+ #elif !(ACC_BROKEN_INTEGRAL_PROMOTION) && (SIZEOF_INT > 1)
+-    ACCCHK_ASSERT( (((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0)
++    ACCCHK_ASSERT( (int)((unsigned int)((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0)
+ #endif
+ #if (ACC_CC_BORLANDC && (__BORLANDC__ >= 0x0530) && (__BORLANDC__ < 0x0560))
+ #  pragma option pop
diff -Nru lzop-1.03/debian/patches/series lzop-1.03/debian/patches/series
--- lzop-1.03/debian/patches/series	2016-03-05 00:25:05.000000000 +0100
+++ lzop-1.03/debian/patches/series	2016-07-06 19:00:05.000000000 +0200
@@ -1 +1,2 @@
 static-inlines.patch
+lzop-1.03-gcc6.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to