Hello community,

here is the log from the commit of package perl-Sereal-Encoder for 
openSUSE:Factory checked in at 2020-08-10 14:58:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Sereal-Encoder (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Sereal-Encoder.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Sereal-Encoder"

Mon Aug 10 14:58:42 2020 rev:9 rq:824979 version:4.018

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Sereal-Encoder/perl-Sereal-Encoder.changes  
2020-07-15 15:05:25.607433838 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Sereal-Encoder.new.3399/perl-Sereal-Encoder.changes
        2020-08-10 14:59:02.364033475 +0200
@@ -1,0 +2,10 @@
+Tue Aug  4 03:15:27 UTC 2020 - Tina Müller <[email protected]>
+
+- updated to 4.018
+   see /usr/share/doc/packages/perl-Sereal-Encoder/Changes
+
+
+  4.018 Thurs Aug 3, 2020
+      * Fix issue with gcc 10 with snappy compression.
+
+-------------------------------------------------------------------

Old:
----
  Sereal-Encoder-4.017.tar.gz

New:
----
  Sereal-Encoder-4.018.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Sereal-Encoder.spec ++++++
--- /var/tmp/diff_new_pack.3eZxF4/_old  2020-08-10 14:59:04.044034361 +0200
+++ /var/tmp/diff_new_pack.3eZxF4/_new  2020-08-10 14:59:04.044034361 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Sereal-Encoder
-Version:        4.017
+Version:        4.018
 Release:        0
 %define cpan_name Sereal-Encoder
 Summary:        Binary serialization module for Perl (encoder part)

++++++ Sereal-Encoder-4.017.tar.gz -> Sereal-Encoder-4.018.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sereal-Encoder-4.017/Changes 
new/Sereal-Encoder-4.018/Changes
--- old/Sereal-Encoder-4.017/Changes    2020-07-09 20:17:48.000000000 +0200
+++ new/Sereal-Encoder-4.018/Changes    2020-08-03 12:23:28.000000000 +0200
@@ -5,6 +5,10 @@
 *          of the decoder before upgrading to version 4 of the *
 *          encoder!                                            *
 ****************************************************************
+
+4.018 Thurs Aug 3, 2020
+    * Fix issue with gcc 10 with snappy compression.
+
 4.017 Thurs July 9, 2020
     * The build fixes in 4.016 didn't work correctly, this should fix them.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sereal-Encoder-4.017/META.json 
new/Sereal-Encoder-4.018/META.json
--- old/Sereal-Encoder-4.017/META.json  2020-07-09 20:25:54.000000000 +0200
+++ new/Sereal-Encoder-4.018/META.json  2020-08-03 12:32:34.000000000 +0200
@@ -63,6 +63,6 @@
          "url" : "git://github.com/Sereal/Sereal.git"
       }
    },
-   "version" : "4.017",
+   "version" : "4.018",
    "x_serialization_backend" : "JSON::PP version 2.27400"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sereal-Encoder-4.017/META.yml 
new/Sereal-Encoder-4.018/META.yml
--- old/Sereal-Encoder-4.017/META.yml   2020-07-09 20:25:54.000000000 +0200
+++ new/Sereal-Encoder-4.018/META.yml   2020-08-03 12:32:34.000000000 +0200
@@ -34,5 +34,5 @@
 resources:
   bugtracker: https://github.com/Sereal/Sereal/issues
   repository: git://github.com/Sereal/Sereal.git
-version: '4.017'
+version: '4.018'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sereal-Encoder-4.017/lib/Sereal/Encoder/Constants.pm 
new/Sereal-Encoder-4.018/lib/Sereal/Encoder/Constants.pm
--- old/Sereal-Encoder-4.017/lib/Sereal/Encoder/Constants.pm    2020-07-09 
20:18:52.000000000 +0200
+++ new/Sereal-Encoder-4.018/lib/Sereal/Encoder/Constants.pm    2020-08-03 
12:24:01.000000000 +0200
@@ -4,7 +4,7 @@
 require Exporter;
 our @ISA= qw(Exporter);
 
-our $VERSION= '4.017'; # Don't forget to update the TestCompat set for testing 
against installed encoders!
+our $VERSION= '4.018'; # Don't forget to update the TestCompat set for testing 
against installed encoders!
 
 our ( @EXPORT_OK, %DEFINE, %TAG_INFO_HASH, @TAG_INFO_ARRAY );
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sereal-Encoder-4.017/lib/Sereal/Encoder.pm 
new/Sereal-Encoder-4.018/lib/Sereal/Encoder.pm
--- old/Sereal-Encoder-4.017/lib/Sereal/Encoder.pm      2020-07-09 
20:18:52.000000000 +0200
+++ new/Sereal-Encoder-4.018/lib/Sereal/Encoder.pm      2020-08-03 
12:24:01.000000000 +0200
@@ -5,7 +5,7 @@
 use Carp qw/croak/;
 use XSLoader;
 
-our $VERSION= '4.017'; # Don't forget to update the TestCompat set for testing 
against installed decoders!
+our $VERSION= '4.018'; # Don't forget to update the TestCompat set for testing 
against installed decoders!
 our $XS_VERSION= $VERSION; $VERSION= eval $VERSION;
 
 # not for public consumption, just for testing.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Sereal-Encoder-4.017/snappy/csnappy_internal_userspace.h 
new/Sereal-Encoder-4.018/snappy/csnappy_internal_userspace.h
--- old/Sereal-Encoder-4.017/snappy/csnappy_internal_userspace.h        
2020-02-02 03:59:36.000000000 +0100
+++ new/Sereal-Encoder-4.018/snappy/csnappy_internal_userspace.h        
2020-07-29 10:43:33.000000000 +0200
@@ -251,14 +251,23 @@
 /* Potentially unaligned loads and stores. */
 
 #if defined(__i386__) || defined(__x86_64__) || defined(__powerpc__)
+#if defined(__GNUC__)
+typedef uint16_t my_uint16_t __attribute__((aligned(1)));
+typedef uint32_t my_uint32_t __attribute__((aligned(1)));
+typedef uint64_t my_uint64_t __attribute__((aligned(1)));
+#else
+typedef uint16_t my_uint16_t;
+typedef uint32_t my_uint32_t;
+typedef uint64_t my_uint64_t;
+#endif
 
-#define UNALIGNED_LOAD16(_p) (*(const uint16_t*)(_p))
-#define UNALIGNED_LOAD32(_p) (*(const uint32_t*)(_p))
-#define UNALIGNED_LOAD64(_p) (*(const uint64_t*)(_p))
+#define UNALIGNED_LOAD16(_p) (*(const my_uint16_t*)(_p))
+#define UNALIGNED_LOAD32(_p) (*(const my_uint32_t*)(_p))
+#define UNALIGNED_LOAD64(_p) (*(const my_uint64_t*)(_p))
 
-#define UNALIGNED_STORE16(_p, _val) (*(uint16_t*)(_p) = (_val))
-#define UNALIGNED_STORE32(_p, _val) (*(uint32_t*)(_p) = (_val))
-#define UNALIGNED_STORE64(_p, _val) (*(uint64_t*)(_p) = (_val))
+#define UNALIGNED_STORE16(_p, _val) (*(my_uint16_t*)(_p) = (_val))
+#define UNALIGNED_STORE32(_p, _val) (*(my_uint32_t*)(_p) = (_val))
+#define UNALIGNED_STORE64(_p, _val) (*(my_uint64_t*)(_p) = (_val))
 
 #elif defined(__arm__) && \
        !defined(__ARM_ARCH_4__) && \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Sereal-Encoder-4.017/srl_encoder.c 
new/Sereal-Encoder-4.018/srl_encoder.c
--- old/Sereal-Encoder-4.017/srl_encoder.c      2018-01-23 21:18:12.000000000 
+0100
+++ new/Sereal-Encoder-4.018/srl_encoder.c      2020-07-29 09:53:23.000000000 
+0200
@@ -1008,7 +1008,7 @@
     { /* Have some sort of compression */
         ptrdiff_t sereal_header_len;
         STRLEN uncompressed_body_length;
-        const STRLEN max_len = 1 << 32 - 1;
+        const STRLEN max_len = (1L << 32) - 1;
 
         /* Alas, have to write entire packet first since the header length
          * will determine offsets. */


Reply via email to