Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] jbig2dec: add patch to restore ABI compatibility
Date: Fri, 04 Oct 2019 00:47:28 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15034@inbox.vuxu.org> (raw)

[-- 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"

             reply	other threads:[~2019-10-03 22:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-03 22:47 voidlinux-github [this message]
2019-10-04  6:59 ` [PR PATCH] [Merged]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15034@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).