parent
2bf4015823
commit
fe4f1a6105
18
jbig2dec-0.17-Restore-ABI-compatibility.patch
Normal file
18
jbig2dec-0.17-Restore-ABI-compatibility.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
diff --git a/jbig2.c b/jbig2.c
|
||||||
|
index 97018ea..17ffd72 100644
|
||||||
|
--- a/jbig2.c
|
||||||
|
+++ b/jbig2.c
|
||||||
|
@@ -99,6 +99,13 @@ jbig2_error(Jbig2Ctx *ctx, Jbig2Severity severity, int32_t segment_number, const
|
||||||
|
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)
|
||||||
|
{
|
@ -1,11 +1,12 @@
|
|||||||
Name: jbig2dec
|
Name: jbig2dec
|
||||||
Version: 0.17
|
Version: 0.17
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A decoder implementation of the JBIG2 image compression format
|
Summary: A decoder implementation of the JBIG2 image compression format
|
||||||
|
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://jbig2dec.sourceforge.net/
|
URL: http://jbig2dec.sourceforge.net/
|
||||||
Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs950/%{name}-%{version}.tar.gz
|
Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs950/%{name}-%{version}.tar.gz
|
||||||
|
Patch1: jbig2dec-0.17-Restore-ABI-compatibility.patch
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -43,7 +44,7 @@ which requires the jbig2dec library.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -79,6 +80,9 @@ rm -f %{buildroot}%{_libdir}/*.la
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Nov 09 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.17-2
|
||||||
|
- restore ABI-compatibilty (#1770160)
|
||||||
|
|
||||||
* Thu Nov 07 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.17-1
|
* Thu Nov 07 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.17-1
|
||||||
- bugfix release (bz #1761919)
|
- bugfix release (bz #1761919)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user