summarylogtreecommitdiffstats
path: root/output-jpeg.patch
diff options
context:
space:
mode:
authorGaetan Bisson2023-02-11 11:07:58 -1000
committerGaetan Bisson2023-02-11 11:07:58 -1000
commit12b5a8f779218f318dfa10fdbc01ac7b51d4d02a (patch)
tree363e3f3f85ce26a75286d84a0e3d2709617960b8 /output-jpeg.patch
parentfdd53105db8352f066d369158154e34bf4519911 (diff)
downloadaur-12b5a8f779218f318dfa10fdbc01ac7b51d4d02a.tar.gz
remove obsolete fix
Diffstat (limited to 'output-jpeg.patch')
-rw-r--r--output-jpeg.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/output-jpeg.patch b/output-jpeg.patch
deleted file mode 100644
index 03006b2a7da7..000000000000
--- a/output-jpeg.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- output-jpeg.c 2023-02-07 12:48:20.328740181 -1000
-+++ output-jpeg.c.new 2023-02-07 12:50:24.268536252 -1000
-@@ -28,10 +28,16 @@
-
- #define JZ_CTX_FROM_CINFO(c) (fz_context *)((c)->client_data)
-
-+static void fz_jpg_mem_init(j_common_ptr cinfo, fz_context *ctx)
-+{
-+ cinfo->client_data = ctx;
-+}
-+
-+#define fz_jpg_mem_term(cinfo)
-+
- #else /* SHARE_JPEG */
-
- typedef void * backing_store_ptr;
--
- #include "jmemcust.h"
-
- #define JZ_CTX_FROM_CINFO(c) (fz_context *)(GET_CUST_MEM_DATA(c)->priv)
-@@ -76,7 +82,7 @@
- }
- }
-
--#endif
-+#endif /* SHARE_JPEG */
-
- #define OUTPUT_BUF_SIZE (16<<10)
-
-@@ -92,6 +98,7 @@
- {
- char msg[JMSG_LENGTH_MAX];
- fz_context *ctx = JZ_CTX_FROM_CINFO(cinfo);
-+
- cinfo->err->format_message(cinfo, msg);
- fz_throw(ctx, FZ_ERROR_GENERIC, "jpeg error: %s", msg);
- }