
Hello community, here is the log from the commit of package libpng16 for openSUSE:Factory checked in at 2017-07-30 11:25:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libpng16 (Old) and /work/SRC/openSUSE:Factory/.libpng16.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libpng16" Sun Jul 30 11:25:32 2017 rev:35 rq:511589 version:1.6.30 Changes: -------- --- /work/SRC/openSUSE:Factory/libpng16/libpng16.changes 2017-07-04 11:55:27.962094546 +0200 +++ /work/SRC/openSUSE:Factory/.libpng16.new/libpng16.changes 2017-07-30 11:26:24.945558641 +0200 @@ -1,0 +2,18 @@ +Wed Jul 19 15:51:28 UTC 2017 - stefan.bruens@rwth-aachen.de + +- Drop png-version-info-only.patch, it has no effect after applying + 0001-libpng16-Revised-pngpriv.h-to-use-PNG_VERSION_INFO_O.patch + Both patches achieve the same, prefer the upstream version + +------------------------------------------------------------------- +Fri Jul 14 15:57:51 UTC 2017 - stefan.bruens@rwth-aachen.de + +- Add 0001-libpng16-Revised-pngpriv.h-to-use-PNG_VERSION_INFO_O.patch + Fix build on ARM + +------------------------------------------------------------------- +Mon Jul 10 15:11:14 UTC 2017 - schwab@suse.de + +- png-version-info-only.patch: fix missing PNG_VERSION_INFO_ONLY check + +------------------------------------------------------------------- New: ---- 0001-libpng16-Revised-pngpriv.h-to-use-PNG_VERSION_INFO_O.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libpng16.spec ++++++ --- /var/tmp/diff_new_pack.aKn9ag/_old 2017-07-30 11:26:25.713450286 +0200 +++ /var/tmp/diff_new_pack.aKn9ag/_new 2017-07-30 11:26:25.717449722 +0200 @@ -35,6 +35,8 @@ Source2: libpng16.keyring Source3: rpm-macros.libpng-tools Source4: baselibs.conf +# PATCH-FIX-UPSTREAM 0001-libpng16-Revised-pngpriv.h-to-use-PNG_VERSION_INFO_O.patch stefan.bruens@rwth-aachen.de -- Cherry-pick upstream fix for ARM build, fixed in 1.6.31 +Patch0: 0001-libpng16-Revised-pngpriv.h-to-use-PNG_VERSION_INFO_O.patch #BuildRequires: gpg-offline BuildRequires: libtool BuildRequires: pkg-config @@ -109,6 +111,7 @@ %prep %setup -n libpng-%{version} +%patch0 -p1 %build # PNG_SAFE_LIMITS_SUPPORTED: http://www.openwall.com/lists/oss-security/2015/01/10/1 ++++++ 0001-libpng16-Revised-pngpriv.h-to-use-PNG_VERSION_INFO_O.patch ++++++
From 3f67eb68e05ae87ec985f413b97b4cdd2922533d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=83=C2=BCns?= <stefan.bruens@rwth-aachen.de> Date: Fri, 14 Jul 2017 17:53:43 +0200 Subject: [PATCH] [libpng16] Revised pngpriv.h to use PNG_VERSION_INFO_ONLY instead of
PNG_ARM_NEON_IMPLEMENTATION == 2 to exclude some definitions that assembler cannot recognize. [SBruens] Cherry-picked from 54126d5c59653e744ee8af81ba61fd910ce4d295, removed merge conflicts. --- pngpriv.h | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/pngpriv.h b/pngpriv.h index a062a8da1..f50de2b86 100644 --- a/pngpriv.h +++ b/pngpriv.h @@ -452,6 +452,21 @@ # define png_fixed_error(s1,s2) png_err(s1) #endif +/* Some fixed point APIs are still required even if not exported because + * they get used by the corresponding floating point APIs. This magic + * deals with this: + */ +#ifdef PNG_FIXED_POINT_SUPPORTED +# define PNGFAPI PNGAPI +#else +# define PNGFAPI /* PRIVATE */ +#endif + +#ifndef PNG_VERSION_INFO_ONLY +/* Other defines specific to compilers can go here. Try to keep + * them inside an appropriate ifdef/endif pair for portability. + */ + /* C allows up-casts from (void*) to any pointer and (const void*) to any * pointer to a const object. C++ regards this as a type error and requires an * explicit, static, cast and provides the static_cast<> rune to ensure that @@ -480,20 +495,6 @@ # define png_aligncastconst(type, value) ((const void*)(value)) #endif /* __cplusplus */ -/* Some fixed point APIs are still required even if not exported because - * they get used by the corresponding floating point APIs. This magic - * deals with this: - */ -#ifdef PNG_FIXED_POINT_SUPPORTED -# define PNGFAPI PNGAPI -#else -# define PNGFAPI /* PRIVATE */ -#endif - -#ifndef PNG_VERSION_INFO_ONLY -/* Other defines specific to compilers can go here. Try to keep - * them inside an appropriate ifdef/endif pair for portability. - */ #if defined(PNG_FLOATING_POINT_SUPPORTED) ||\ defined(PNG_FLOATING_ARITHMETIC_SUPPORTED) /* png.c requires the following ANSI-C constants if the conversion of -- 2.13.2
participants (1)
-
root@hilbert.suse.de