Hello community,

here is the log from the commit of package protobuf-c for openSUSE:Factory 
checked in at 2020-04-05 20:49:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/protobuf-c (Old)
 and      /work/SRC/openSUSE:Factory/.protobuf-c.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "protobuf-c"

Sun Apr  5 20:49:20 2020 rev:17 rq:791018 version:1.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/protobuf-c/protobuf-c.changes    2019-08-27 
15:25:59.428701829 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf-c.new.3248/protobuf-c.changes  
2020-04-05 20:49:22.860943582 +0200
@@ -1,0 +2,6 @@
+Thu Apr  2 16:46:23 UTC 2020 - Adam Majer <[email protected]>
+
+- Update to new upstream release 1.3.3
+  * Fixes cmake endiness check
+
+-------------------------------------------------------------------

Old:
----
  protobuf-c-1.3.2.tar.gz

New:
----
  protobuf-c-1.3.3.tar.gz

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

Other differences:
------------------
++++++ protobuf-c.spec ++++++
--- /var/tmp/diff_new_pack.iBg0d7/_old  2020-04-05 20:49:23.424944122 +0200
+++ /var/tmp/diff_new_pack.iBg0d7/_new  2020-04-05 20:49:23.424944122 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package protobuf-c
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2011 Pascal Bleser
 #
 # All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
 
 %define sover 1
 Name:           protobuf-c
-Version:        1.3.2
+Version:        1.3.3
 Release:        0
 Summary:        C bindings for Google's Protocol Buffers
 License:        BSD-3-Clause

++++++ protobuf-c-1.3.2.tar.gz -> protobuf-c-1.3.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-c-1.3.2/ChangeLog 
new/protobuf-c-1.3.3/ChangeLog
--- old/protobuf-c-1.3.2/ChangeLog      2019-06-24 07:08:05.000000000 +0200
+++ new/protobuf-c-1.3.3/ChangeLog      2020-02-14 00:42:35.000000000 +0100
@@ -1,4 +1,24 @@
+protobuf-c (1.3.3)
+
+  [ Robert Edmonds ]
+  * Release 1.3.3.
+
+  * Fix build failure on protobuf 2.x (#398).
+
+  [ msshapira ]
+  * CMake: Fix support for MSVC static build (#350).
+
+  [ Adam Cozzette ]
+  * Fix some test assertions in test-generated-code2.c (#392).
+
+  [ Ilya Lipnitskiy ]
+  * protobuf-c.c: Make zigzag encoding more compact (#400).
+
+  [ Markus Engel ]
+  * CMake: Fix endianness check.
+
 protobuf-c (1.3.2)
+
   [ Robert Edmonds ]
   * Release 1.3.2.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-c-1.3.2/Makefile.am 
new/protobuf-c-1.3.3/Makefile.am
--- old/protobuf-c-1.3.2/Makefile.am    2019-06-24 06:36:20.000000000 +0200
+++ new/protobuf-c-1.3.3/Makefile.am    2019-10-18 02:19:56.000000000 +0200
@@ -251,6 +251,7 @@
        t/issue251/issue251.proto
 
 # Issue #330
+if BUILD_PROTO3
 check_PROGRAMS += \
        t/issue330/issue330
 TESTS += \
@@ -264,6 +265,7 @@
        $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue330/issue330.proto
 BUILT_SOURCES += \
        t/issue330/issue330.pb-c.c t/issue330/issue330.pb-c.h
+endif # BUILD_PROTO3
 EXTRA_DIST += \
        t/issue330/issue330.proto
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-c-1.3.2/Makefile.in 
new/protobuf-c-1.3.3/Makefile.in
--- old/protobuf-c-1.3.2/Makefile.in    2019-06-24 07:08:21.000000000 +0200
+++ new/protobuf-c-1.3.3/Makefile.in    2020-02-14 00:36:38.000000000 +0100
@@ -92,9 +92,11 @@
 build_triplet = @build@
 host_triplet = @host@
 bin_PROGRAMS = $(am__EXEEXT_1)
-check_PROGRAMS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4)
-noinst_PROGRAMS = $(am__EXEEXT_5)
-TESTS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4)
+check_PROGRAMS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4) \
+       $(am__EXEEXT_5) $(am__EXEEXT_6)
+noinst_PROGRAMS = $(am__EXEEXT_7)
+TESTS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4) \
+       $(am__EXEEXT_5) $(am__EXEEXT_6)
 @HAVE_LD_VERSION_SCRIPT_TRUE@am__append_1 = \
 @HAVE_LD_VERSION_SCRIPT_TRUE@    
-Wl,--version-script=$(top_srcdir)/protobuf-c/libprotobuf-c.sym
 
@@ -139,30 +141,40 @@
 # Issue #220
 
 # Issue #251
-
-# Issue #330
-
-# Issue #375
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__append_11 = 
t/issue220/issue220 \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue251/issue251 \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue330/issue330 \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue375/issue375
+@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue251/issue251
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__append_12 = 
t/issue220/issue220 \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue251/issue251 \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue330/issue330 \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue375/issue375
+@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue251/issue251
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__append_13 = 
t/issue220/issue220.pb-c.c \
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue220/issue220.pb-c.h \
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue251/issue251.pb-c.c \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue251/issue251.pb-c.h \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue330/issue330.pb-c.c \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue330/issue330.pb-c.h \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue375/issue375.pb-c.c \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue375/issue375.pb-c.h
+@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue251/issue251.pb-c.h
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__append_14 = 
t/issue220/issue220.proto \
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue251/issue251.proto \
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue330/issue330.proto \
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue375/issue375.proto
+
+# Issue #330
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@am__append_15 = 
\
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@        
t/issue330/issue330
+
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@am__append_16 = 
\
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@        
t/issue330/issue330
+
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@am__append_17 = 
\
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@        
t/issue330/issue330.pb-c.c t/issue330/issue330.pb-c.h
+
+
+# Issue #375
+@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__append_18 = \
+@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue375/issue375
+
+@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__append_19 = \
+@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue375/issue375
+
+@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__append_20 = \
+@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue375/issue375.pb-c.c 
t/issue375/issue375.pb-c.h
+
 subdir = .
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
@@ -192,10 +204,10 @@
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/version/version$(EXEEXT)
 @BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_3 = 
t/generated-code3/test-generated-code3$(EXEEXT)
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_4 = 
t/issue220/issue220$(EXEEXT) \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue251/issue251$(EXEEXT) \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue330/issue330$(EXEEXT) \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue375/issue375$(EXEEXT)
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_5 = 
t/generated-code2/cxx-generate-packed-data$(EXEEXT)
+@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue251/issue251$(EXEEXT)
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_5 = 
t/issue330/issue330$(EXEEXT)
+@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_6 = 
t/issue375/issue375$(EXEEXT)
+@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am__EXEEXT_7 = 
t/generated-code2/cxx-generate-packed-data$(EXEEXT)
 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
 am__vpath_adj = case $$p in \
@@ -323,10 +335,10 @@
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t_issue251_issue251_DEPENDENCIES = 
protobuf-c/libprotobuf-c.la
 am__t_issue330_issue330_SOURCES_DIST = t/issue330/issue330.c \
        t/issue330/issue330.pb-c.c
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am_t_issue330_issue330_OBJECTS = 
t/issue330/issue330.$(OBJEXT) \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   
t/issue330/issue330.pb-c.$(OBJEXT)
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@am_t_issue330_issue330_OBJECTS
 = t/issue330/issue330.$(OBJEXT) \
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@        
t/issue330/issue330.pb-c.$(OBJEXT)
 t_issue330_issue330_OBJECTS = $(am_t_issue330_issue330_OBJECTS)
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t_issue330_issue330_DEPENDENCIES = 
protobuf-c/libprotobuf-c.la
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@t_issue330_issue330_DEPENDENCIES
 = protobuf-c/libprotobuf-c.la
 am__t_issue375_issue375_SOURCES_DIST = t/issue375/issue375.c \
        t/issue375/issue375.pb-c.c
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@am_t_issue375_issue375_OBJECTS = 
t/issue375/issue375.$(OBJEXT) \
@@ -818,7 +830,8 @@
 lib_LTLIBRARIES = protobuf-c/libprotobuf-c.la
 nobase_include_HEADERS = protobuf-c/protobuf-c.h
 pkgconfig_DATA = protobuf-c/libprotobuf-c.pc
-BUILT_SOURCES = $(am__append_7) $(am__append_10) $(am__append_13)
+BUILT_SOURCES = $(am__append_7) $(am__append_10) $(am__append_13) \
+       $(am__append_17) $(am__append_20)
 
 #
 #
@@ -959,12 +972,12 @@
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t_issue251_issue251_LDADD = \
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   protobuf-c/libprotobuf-c.la
 
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t_issue330_issue330_SOURCES = \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue330/issue330.c \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue330/issue330.pb-c.c
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@t_issue330_issue330_SOURCES
 = \
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@        
t/issue330/issue330.c \
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@        
t/issue330/issue330.pb-c.c
 
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t_issue330_issue330_LDADD = \
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   protobuf-c/libprotobuf-c.la
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@t_issue330_issue330_LDADD
 = \
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@        
protobuf-c/libprotobuf-c.la
 
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t_issue375_issue375_SOURCES = \
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   t/issue375/issue375.c \
@@ -2240,8 +2253,8 @@
        @echo "This command is intended for maintainers to use"
        @echo "it deletes files that may require special tools to rebuild."
        -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
-@HAVE_DOXYGEN_FALSE@html-local:
 @HAVE_DOXYGEN_FALSE@clean-local:
+@HAVE_DOXYGEN_FALSE@html-local:
 @BUILD_COMPILER_FALSE@install-exec-hook:
 clean: clean-am
 
@@ -2446,8 +2459,8 @@
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue220/issue220.proto
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t/issue251/issue251.pb-c.c 
t/issue251/issue251.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
$(top_srcdir)/t/issue251/issue251.proto
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue251/issue251.proto
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t/issue330/issue330.pb-c.c 
t/issue330/issue330.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
$(top_srcdir)/t/issue330/issue330.proto
-@BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue330/issue330.proto
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@t/issue330/issue330.pb-c.c
 t/issue330/issue330.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
$(top_srcdir)/t/issue330/issue330.proto
+@BUILD_COMPILER_TRUE@@BUILD_PROTO3_TRUE@@CROSS_COMPILING_FALSE@        
$(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue330/issue330.proto
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@t/issue375/issue375.pb-c.c 
t/issue375/issue375.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
$(top_srcdir)/t/issue375/issue375.proto
 @BUILD_COMPILER_TRUE@@CROSS_COMPILING_FALSE@   $(AM_V_GEN)@PROTOC@ 
--plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) 
-I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/issue375/issue375.proto
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-c-1.3.2/build-aux/ltmain.sh 
new/protobuf-c-1.3.3/build-aux/ltmain.sh
--- old/protobuf-c-1.3.2/build-aux/ltmain.sh    2019-06-24 07:08:18.000000000 
+0200
+++ new/protobuf-c-1.3.3/build-aux/ltmain.sh    2020-02-14 00:36:35.000000000 
+0100
@@ -31,7 +31,7 @@
 
 PROGRAM=libtool
 PACKAGE=libtool
-VERSION="2.4.6 Debian-2.4.6-10"
+VERSION="2.4.6 Debian-2.4.6-12"
 package_revision=2.4.6
 
 
@@ -387,7 +387,7 @@
 # putting '$debug_cmd' at the start of all your functions, you can get
 # bash to show function call trace with:
 #
-#    debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
+#    debug_cmd='echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
 debug_cmd=${debug_cmd-":"}
 exit_cmd=:
 
@@ -2141,7 +2141,7 @@
        compiler:       $LTCC
        compiler flags: $LTCFLAGS
        linker:         $LD (gnu? $with_gnu_ld)
-       version:        $progname $scriptversion Debian-2.4.6-10
+       version:        $progname $scriptversion Debian-2.4.6-12
        automake:       `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
        autoconf:       `($AUTOCONF --version) 2>/dev/null |$SED 1q`
 
@@ -7368,10 +7368,12 @@
       # -stdlib=*            select c++ std lib with clang
       # -fsanitize=*         Clang/GCC memory and address sanitizer
       # -fuse-ld=*           Linker select flags for GCC
+      # -static-*            direct GCC to link specific libraries statically
+      # -fcilkplus           Cilk Plus language extension features for C/C++
       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
       
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
       
-O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
-      -specs=*|-fsanitize=*|-fuse-ld=*)
+      -specs=*|-fsanitize=*|-fuse-ld=*|-static-*|-fcilkplus)
         func_quote_for_eval "$arg"
        arg=$func_quote_for_eval_result
         func_append compile_command " $arg"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-c-1.3.2/build-cmake/CMakeLists.txt 
new/protobuf-c-1.3.3/build-cmake/CMakeLists.txt
--- old/protobuf-c-1.3.2/build-cmake/CMakeLists.txt     2019-06-24 
07:08:05.000000000 +0200
+++ new/protobuf-c-1.3.3/build-cmake/CMakeLists.txt     2019-12-04 
22:08:05.000000000 +0100
@@ -1,6 +1,6 @@
 SET(PACKAGE protobuf-c)
 SET(PACKAGE_NAME protobuf-c)
-SET(PACKAGE_VERSION 1.3.2)
+SET(PACKAGE_VERSION 1.3.3)
 
 
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)
@@ -17,7 +17,9 @@
 SET(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
 ADD_DEFINITIONS(-DPACKAGE_VERSION="${PACKAGE_VERSION}")
 ADD_DEFINITIONS(-DPACKAGE_STRING="${PACKAGE_STRING}")
-ADD_DEFINITIONS(-DWORDS_BIGENDIAN=${WORDS_BIGENDIAN})
+if (${WORDS_BIGENDIAN})
+       ADD_DEFINITIONS(-DWORDS_BIGENDIAN)
+endif()
 
 if(MSVC)
   # using Visual Studio C++
@@ -55,7 +57,9 @@
        # 
http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_build_my_MSVC_application_with_a_static_runtime.3F
        foreach(flag_var
                CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE
-               CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO)
+               CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO
+               CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_RELEASE 
+               CMAKE_C_FLAGS_MINSIZEREL CMAKE_FLAGS_RELWITHDEBINFO)
          if(${flag_var} MATCHES "/MD")
                string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}")
          endif(${flag_var} MATCHES "/MD")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-c-1.3.2/configure 
new/protobuf-c-1.3.3/configure
--- old/protobuf-c-1.3.2/configure      2019-06-24 07:08:20.000000000 +0200
+++ new/protobuf-c-1.3.3/configure      2020-02-14 00:36:37.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for protobuf-c 1.3.2.
+# Generated by GNU Autoconf 2.69 for protobuf-c 1.3.3.
 #
 # Report bugs to <https://github.com/protobuf-c/protobuf-c/issues>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='protobuf-c'
 PACKAGE_TARNAME='protobuf-c'
-PACKAGE_VERSION='1.3.2'
-PACKAGE_STRING='protobuf-c 1.3.2'
+PACKAGE_VERSION='1.3.3'
+PACKAGE_STRING='protobuf-c 1.3.3'
 PACKAGE_BUGREPORT='https://github.com/protobuf-c/protobuf-c/issues'
 PACKAGE_URL='https://github.com/protobuf-c/protobuf-c'
 
@@ -1378,7 +1378,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures protobuf-c 1.3.2 to adapt to many kinds of systems.
+\`configure' configures protobuf-c 1.3.3 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1449,7 +1449,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of protobuf-c 1.3.2:";;
+     short | recursive ) echo "Configuration of protobuf-c 1.3.3:";;
    esac
   cat <<\_ACEOF
 
@@ -1582,7 +1582,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-protobuf-c configure 1.3.2
+protobuf-c configure 1.3.3
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2205,7 +2205,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by protobuf-c $as_me 1.3.2, which was
+It was created by protobuf-c $as_me 1.3.3, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3072,7 +3072,7 @@
 
 # Define the identity of the package.
  PACKAGE='protobuf-c'
- VERSION='1.3.2'
+ VERSION='1.3.3'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -7122,7 +7122,7 @@
 fi
 
 : ${AR=ar}
-: ${AR_FLAGS=cru}
+: ${AR_FLAGS=cr}
 
 
 
@@ -8843,8 +8843,8 @@
 _LT_EOF
       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
-      echo "$AR cru libconftest.a conftest.o" >&5
-      $AR cru libconftest.a conftest.o 2>&5
+      echo "$AR cr libconftest.a conftest.o" >&5
+      $AR cr libconftest.a conftest.o 2>&5
       echo "$RANLIB libconftest.a" >&5
       $RANLIB libconftest.a 2>&5
       cat > conftest.c << _LT_EOF
@@ -18859,7 +18859,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by protobuf-c $as_me 1.3.2, which was
+This file was extended by protobuf-c $as_me 1.3.3, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -18926,7 +18926,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-protobuf-c config.status 1.3.2
+protobuf-c config.status 1.3.3
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-c-1.3.2/configure.ac 
new/protobuf-c-1.3.3/configure.ac
--- old/protobuf-c-1.3.2/configure.ac   2019-06-24 07:08:05.000000000 +0200
+++ new/protobuf-c-1.3.3/configure.ac   2019-12-04 22:08:05.000000000 +0100
@@ -1,7 +1,7 @@
 AC_PREREQ(2.63)
 
 AC_INIT([protobuf-c],
-        [1.3.2],
+        [1.3.3],
         [https://github.com/protobuf-c/protobuf-c/issues],
         [protobuf-c],
         [https://github.com/protobuf-c/protobuf-c])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-c-1.3.2/m4/libtool.m4 
new/protobuf-c-1.3.3/m4/libtool.m4
--- old/protobuf-c-1.3.2/m4/libtool.m4  2019-06-24 07:08:18.000000000 +0200
+++ new/protobuf-c-1.3.3/m4/libtool.m4  2020-02-14 00:36:35.000000000 +0100
@@ -1041,8 +1041,8 @@
 _LT_EOF
       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
-      echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
-      $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
+      echo "$AR cr libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
+      $AR cr libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
       echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
       $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
       cat > conftest.c << _LT_EOF
@@ -1492,7 +1492,7 @@
 m4_defun([_LT_PROG_AR],
 [AC_CHECK_TOOLS(AR, [ar], false)
 : ${AR=ar}
-: ${AR_FLAGS=cru}
+: ${AR_FLAGS=cr}
 _LT_DECL([], [AR], [1], [The archiver])
 _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-c-1.3.2/protobuf-c/protobuf-c.c 
new/protobuf-c-1.3.3/protobuf-c/protobuf-c.c
--- old/protobuf-c-1.3.2/protobuf-c/protobuf-c.c        2019-06-24 
06:36:20.000000000 +0200
+++ new/protobuf-c-1.3.3/protobuf-c/protobuf-c.c        2019-12-04 
22:08:05.000000000 +0100
@@ -312,10 +312,9 @@
 static inline uint32_t
 zigzag32(int32_t v)
 {
-       if (v < 0)
-               return (-(uint32_t)v) * 2 - 1;
-       else
-               return (uint32_t)(v) * 2;
+       // Note:  the right-shift must be arithmetic
+       // Note:  left shift must be unsigned because of overflow
+       return ((uint32_t)(v) << 1) ^ (uint32_t)(v >> 31);
 }
 
 /**
@@ -377,10 +376,9 @@
 static inline uint64_t
 zigzag64(int64_t v)
 {
-       if (v < 0)
-               return (-(uint64_t)v) * 2 - 1;
-       else
-               return (uint64_t)(v) * 2;
+       // Note:  the right-shift must be arithmetic
+       // Note:  left shift must be unsigned because of overflow
+       return ((uint64_t)(v) << 1) ^ (uint64_t)(v >> 63);
 }
 
 /**
@@ -2423,10 +2421,8 @@
 static inline int32_t
 unzigzag32(uint32_t v)
 {
-       if (v & 1)
-               return -(v >> 1) - 1;
-       else
-               return v >> 1;
+       // Note:  Using unsigned types prevents undefined behavior
+       return (int32_t)((v >> 1) ^ (~(v & 1) + 1));
 }
 
 static inline uint32_t
@@ -2467,10 +2463,8 @@
 static inline int64_t
 unzigzag64(uint64_t v)
 {
-       if (v & 1)
-               return -(v >> 1) - 1;
-       else
-               return v >> 1;
+       // Note:  Using unsigned types prevents undefined behavior
+       return (int64_t)((v >> 1) ^ (~(v & 1) + 1));
 }
 
 static inline uint64_t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-c-1.3.2/protobuf-c/protobuf-c.h 
new/protobuf-c-1.3.3/protobuf-c/protobuf-c.h
--- old/protobuf-c-1.3.2/protobuf-c/protobuf-c.h        2019-06-24 
07:08:05.000000000 +0200
+++ new/protobuf-c-1.3.3/protobuf-c/protobuf-c.h        2019-12-04 
22:08:05.000000000 +0100
@@ -790,13 +790,13 @@
  * The version of the protobuf-c headers, represented as a string using the 
same
  * format as protobuf_c_version().
  */
-#define PROTOBUF_C_VERSION             "1.3.2"
+#define PROTOBUF_C_VERSION             "1.3.3"
 
 /**
  * The version of the protobuf-c headers, represented as an integer using the
  * same format as protobuf_c_version_number().
  */
-#define PROTOBUF_C_VERSION_NUMBER      1003002
+#define PROTOBUF_C_VERSION_NUMBER      1003003
 
 /**
  * The minimum protoc-c version which works with the current version of the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/protobuf-c-1.3.2/t/generated-code2/test-generated-code2.c 
new/protobuf-c-1.3.3/t/generated-code2/test-generated-code2.c
--- old/protobuf-c-1.3.2/t/generated-code2/test-generated-code2.c       
2019-06-24 06:36:20.000000000 +0200
+++ new/protobuf-c-1.3.3/t/generated-code2/test-generated-code2.c       
2019-12-04 22:08:05.000000000 +0100
@@ -1683,7 +1683,7 @@
   assert (mess->v_float == 2.5);
   assert (mess->v_double == 4.5);
   assert (strcmp (mess->v_string, "hi mom\n") == 0);
-  assert (mess->v_bytes.len = /* a */ 1
+  assert (mess->v_bytes.len == /* a */ 1
                                + /* space */ 1
                                + /* NUL */ 1
                                + /* space */ 1
@@ -1722,7 +1722,7 @@
   assert (mess->v_double == 4.5);
   assert (strcmp (mess->v_string, "hi mom\n") == 0);
   assert (!mess->has_v_bytes);
-  assert (mess->v_bytes.len = /* a */ 1
+  assert (mess->v_bytes.len == /* a */ 1
                                + /* space */ 1
                                + /* NUL */ 1
                                + /* space */ 1


Reply via email to