summaryrefslogtreecommitdiff
path: root/graphics/libjxr/files/patch-image_decode_JXRTranscode.c
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2017-10-20 15:17:08 +0000
committerSteve Wills <swills@FreeBSD.org>2017-10-20 15:17:08 +0000
commit873a227eff2fce93882a66608e2288b51e36c5fd (patch)
tree673f092cba7738c725f289b51e9921e700f350dd /graphics/libjxr/files/patch-image_decode_JXRTranscode.c
parentmail/dovecot: update to 2.2.33.2. (diff)
graphics/libjxr: Update license information [1]
While here, fix portlint warning PR: 222459 [1] Submitted by: Yasuhiro KIMURA <yasu@utahime.org> [1] Approved by: Mikhail T. <mi@ALDAN.algebra.com> (maintainer) [1]
Notes
Notes: svn path=/head/; revision=452534
Diffstat (limited to 'graphics/libjxr/files/patch-image_decode_JXRTranscode.c')
-rw-r--r--graphics/libjxr/files/patch-image_decode_JXRTranscode.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/libjxr/files/patch-image_decode_JXRTranscode.c b/graphics/libjxr/files/patch-image_decode_JXRTranscode.c
new file mode 100644
index 000000000000..b7e6e5e9fdc2
--- /dev/null
+++ b/graphics/libjxr/files/patch-image_decode_JXRTranscode.c
@@ -0,0 +1,16 @@
+Description: Fix function signature
+Author: Mathieu Malaterre <malat@debian.org>
+Origin: upstream, https://jxrlib.codeplex.com/SourceControl/changeset/04cf339385b8196f98025b43a366a0790deac994
+Bug-Debian: http://bugs.debian.org/748590
+
+--- image/decode/JXRTranscode.c.orig 2017-10-20 15:09:28 UTC
++++ image/decode/JXRTranscode.c
+@@ -47,7 +47,7 @@ EXTERN_C Void FreeCodingContextDec(CWMImageStrCodec *)
+ EXTERN_C Int StrEncInit(CWMImageStrCodec *);
+ EXTERN_C Void StrIOEncTerm(CWMImageStrCodec *);
+ EXTERN_C Void FreeCodingContextEnc(CWMImageStrCodec *);
+-EXTERN_C Void encodeMB(CWMImageStrCodec *, Int, Int);
++EXTERN_C Int encodeMB(CWMImageStrCodec *, Int, Int);
+ EXTERN_C Int writeIndexTableNull(CWMImageStrCodec *);
+ EXTERN_C Void writePacketHeader(BitIOInfo *, U8, U8);
+