Hello community, here is the log from the commit of package jbig2dec for openSUSE:Factory checked in at 2020-05-26 17:22:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jbig2dec (Old) and /work/SRC/openSUSE:Factory/.jbig2dec.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jbig2dec" Tue May 26 17:22:06 2020 rev:8 rq:808539 version:0.18 Changes: -------- --- /work/SRC/openSUSE:Factory/jbig2dec/jbig2dec.changes 2020-04-22 20:53:16.563425561 +0200 +++ /work/SRC/openSUSE:Factory/.jbig2dec.new.2738/jbig2dec.changes 2020-05-26 17:22:23.964371975 +0200 @@ -1,0 +2,6 @@ +Sun May 24 11:36:57 UTC 2020 - Carsten Ziepke <[email protected]> + +- Add Patch fix-for-restore-abi.patch. Restore abi export of + jbig2_ctx_new. + +------------------------------------------------------------------- New: ---- fix-for-restore-abi.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jbig2dec.spec ++++++ --- /var/tmp/diff_new_pack.RHumNa/_old 2020-05-26 17:22:24.744373651 +0200 +++ /var/tmp/diff_new_pack.RHumNa/_new 2020-05-26 17:22:24.748373660 +0200 @@ -26,6 +26,8 @@ URL: https://jbig2dec.com Source: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs%{_gsver}/%{name}-%{version}.tar.gz Source1: baselibs.conf +# PATCH-FIX-UPSTREAM fix-for-restore-abi.patch deb#940605 -- Restores the ABI export of jbig2_ctx_new +Patch1: fix-for-restore-abi.patch BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig @@ -53,7 +55,7 @@ based on libjbig2dec. %prep -%autosetup +%autosetup -p1 %build export CFLAGS="%{optflags} -fPIC" ++++++ fix-for-restore-abi.patch ++++++ diff -Nur jbig2dec-0.18/jbig2.c new/jbig2.c --- jbig2dec-0.18/jbig2.c 2020-03-12 13:26:37.000000000 +0100 +++ new/jbig2.c 2020-05-24 13:32:53.883047409 +0200 @@ -99,6 +99,13 @@ return -1; } +#undef jbig2_ctx_new +Jbig2Ctx * +jbig2_ctx_new(Jbig2Allocator *allocator, Jbig2Options options, Jbig2GlobalCtx *global_ctx, Jbig2ErrorCallback error_callback, void *error_callback_data) +{ + return jbig2_ctx_new_imp((allocator), (options), (global_ctx), (error_callback), (error_callback_data), JBIG2_VERSION_MAJOR, JBIG2_VERSION_MINOR); +} + Jbig2Ctx * jbig2_ctx_new_imp(Jbig2Allocator *allocator, Jbig2Options options, Jbig2GlobalCtx *global_ctx, Jbig2ErrorCallback error_callback, void *error_callback_data, int jbig2_version_major, int jbig2_version_minor) {
