summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-04-27 23:52:34 +0000
committerjoerg <joerg@pkgsrc.org>2015-04-27 23:52:34 +0000
commitda3da237369235f1da9b1486325b3dbff230d75b (patch)
treeb50288d9c183fa8b671f77e2d58dc77a5296b653 /print
parentd9bd4beb9481983dfbe0bcca7c0ff1cff5e8cd5b (diff)
downloadpkgsrc-da3da237369235f1da9b1486325b3dbff230d75b.tar.gz
Don't add incompatible redefines of jpeg functions.
Diffstat (limited to 'print')
-rw-r--r--print/hpijs/distinfo3
-rw-r--r--print/hpijs/patches/patch-ljjetready.cpp17
2 files changed, 19 insertions, 1 deletions
diff --git a/print/hpijs/distinfo b/print/hpijs/distinfo
index ceb8641e15e..ca632b31707 100644
--- a/print/hpijs/distinfo
+++ b/print/hpijs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2015/04/26 13:28:23 joerg Exp $
+$NetBSD: distinfo,v 1.11 2015/04/27 23:52:34 joerg Exp $
SHA1 (hpijs-2.1.4.tar.gz) = 8b8baa2d410f8918ae2b8381811983c923b29703
RMD160 (hpijs-2.1.4.tar.gz) = b498a578d89bdd2dcc12d2df846f9950df67db8d
@@ -10,3 +10,4 @@ SHA1 (patch-djgenericvip.cpp) = 1ad602d1086c7972e240646e5eaed199b60c63a5
SHA1 (patch-hpijs.cpp) = 0be9dce9ba7470ff5ddf1d74a02e058aaea6605e
SHA1 (patch-ldlencap.h) = e768093c0208f850ca0500259f8539dcf028be91
SHA1 (patch-ljfastraster.cpp) = 34860e7daafcd47ae5a8506b477e320ee3f7eb2e
+SHA1 (patch-ljjetready.cpp) = 7a6ee8e7261a376e3ce53c4375ede2bb1b6f2b8c
diff --git a/print/hpijs/patches/patch-ljjetready.cpp b/print/hpijs/patches/patch-ljjetready.cpp
new file mode 100644
index 00000000000..242602b8780
--- /dev/null
+++ b/print/hpijs/patches/patch-ljjetready.cpp
@@ -0,0 +1,17 @@
+$NetBSD: patch-ljjetready.cpp,v 1.1 2015/04/27 23:52:34 joerg Exp $
+
+--- ljjetready.cpp.orig 2015-04-27 23:38:32.000000000 +0000
++++ ljjetready.cpp
+@@ -801,12 +801,8 @@ extern "C"
+ {
+ void jpeg_finish_compress (j_compress_ptr cinfo);
+ JDIMENSION jpeg_write_scanlines (j_compress_ptr cinfo, JSAMPARRAY scanlines, JDIMENSION num_lines);
+-void jpeg_start_compress(struct jpeg_compress_struct *,unsigned char);
+-void jpeg_suppress_tables(struct jpeg_compress_struct *,unsigned char);
+-void jpeg_add_quant_table(struct jpeg_compress_struct *,int,unsigned int const *,int,unsigned char);
+ void jpeg_default_colorspace(struct jpeg_compress_struct *);
+ void jpeg_set_defaults(struct jpeg_compress_struct *);
+-void jpeg_CreateCompress(struct jpeg_compress_struct *,int,unsigned int);
+ void jpeg_destroy_compress(struct jpeg_compress_struct *);
+ void jpeg_buffer_dest (j_compress_ptr cinfo, JOCTET* outbuff, void* flush_output_buffer_callback);
+ struct jpeg_error_mgr * jpeg_std_error(struct jpeg_error_mgr * err);