Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] jbig2dec: add patch to restore ABI compatibility
@ 2019-10-03 22:47 voidlinux-github
  2019-10-04  6:59 ` [PR PATCH] [Merged]: " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-10-03 22:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 562 bytes --]

There is a new pull request by daniel-eys against master on the void-packages repository

https://github.com/daniel-eys/void-packages jbig2dec
https://github.com/void-linux/void-packages/pull/15034

jbig2dec: add patch to restore ABI compatibility
jbig2dec 0.17 breaks ABI resulting in
`mupdf: symbol lookup error: mupdf: undefined symbol: jbig2_ctx_new`
Debian bugreport: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940605
Patch taken from Debian's Patch Tracker.

A patch file from https://github.com/void-linux/void-packages/pull/15034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-jbig2dec-15034.patch --]
[-- Type: text/x-diff, Size: 2128 bytes --]

From c9031442368992b03e5c06c896013a0587699327 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Ey=C3=9Fer?= <daniel.eysser@gmail.com>
Date: Fri, 4 Oct 2019 00:22:42 +0200
Subject: [PATCH] jbig2dec: add patch to restore ABI compatibility

---
 .../jbig2dec/patches/2002_abi_compat.patch    | 24 +++++++++++++++++++
 srcpkgs/jbig2dec/template                     |  2 +-
 2 files changed, 25 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/jbig2dec/patches/2002_abi_compat.patch

diff --git a/srcpkgs/jbig2dec/patches/2002_abi_compat.patch b/srcpkgs/jbig2dec/patches/2002_abi_compat.patch
new file mode 100644
index 00000000000..bd4f4c4b72f
--- /dev/null
+++ b/srcpkgs/jbig2dec/patches/2002_abi_compat.patch
@@ -0,0 +1,24 @@
+Description: Restore ABI compatibility
+Author: Julien Cristau <jcristau@debian.org>
+Source: https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=940605;filename=0001-Restore-ABI-compatibility-closes-940605.patch;msg=21
+Bug-Debian: https://bugs.debian.org/940605
+Forwarded: no
+Last-Update: 2019-09-19
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- jbig2.c
++++ jbig2.c
+@@ -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)
+ {
diff --git a/srcpkgs/jbig2dec/template b/srcpkgs/jbig2dec/template
index 2e41bd72f3f..41bc57bcb54 100644
--- a/srcpkgs/jbig2dec/template
+++ b/srcpkgs/jbig2dec/template
@@ -1,7 +1,7 @@
 # Template file for 'jbig2dec'
 pkgname=jbig2dec
 version=0.17
-revision=1
+revision=2
 build_style=gnu-configure
 hostmakedepends="automake libtool"
 makedepends="libpng-devel"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: jbig2dec: add patch to restore ABI compatibility
  2019-10-03 22:47 [PR PATCH] jbig2dec: add patch to restore ABI compatibility voidlinux-github
@ 2019-10-04  6:59 ` voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-10-04  6:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 404 bytes --]

There's a merged pull request on the void-packages repository

jbig2dec: add patch to restore ABI compatibility
https://github.com/void-linux/void-packages/pull/15034

Description:
jbig2dec 0.17 breaks ABI resulting in
`mupdf: symbol lookup error: mupdf: undefined symbol: jbig2_ctx_new`
Debian bugreport: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940605
Patch taken from Debian's Patch Tracker.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-04  6:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-03 22:47 [PR PATCH] jbig2dec: add patch to restore ABI compatibility voidlinux-github
2019-10-04  6:59 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).