diff options
author | obache <obache@pkgsrc.org> | 2014-02-10 11:46:55 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-02-10 11:46:55 +0000 |
commit | 5832a92a3fdb25ca2fd804d9d865d29dab1ca59b (patch) | |
tree | 2026fffcac15980e776c554ff8bc0e345fef81fe /graphics/cnxtview | |
parent | f28852877f3a064e10c4a1c2d35ae607e0215cf7 (diff) | |
download | pkgsrc-5832a92a3fdb25ca2fd804d9d865d29dab1ca59b.tar.gz |
Fixes build with jpeg>=8 for the case size_t != unsigned long.
PR pkg/43577.
Diffstat (limited to 'graphics/cnxtview')
-rw-r--r-- | graphics/cnxtview/distinfo | 3 | ||||
-rw-r--r-- | graphics/cnxtview/patches/patch-jpeg__decode.c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/graphics/cnxtview/distinfo b/graphics/cnxtview/distinfo index d1ba6c3884b..13a1ef16d8f 100644 --- a/graphics/cnxtview/distinfo +++ b/graphics/cnxtview/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2006/04/22 17:24:27 joerg Exp $ +$NetBSD: distinfo,v 1.4 2014/02/10 11:46:55 obache Exp $ SHA1 (cnxtutil-0.00-alpha.tar.gz) = bd151410026a307562ed928d72feb8aa57b2cb51 RMD160 (cnxtutil-0.00-alpha.tar.gz) = a9ef8504c8254c2f6e99cea2a1345dcdc48a6bda @@ -8,3 +8,4 @@ SHA1 (patch-ab) = e9277d522b02191e49a9d0b8ef9057b64ae0ae6b SHA1 (patch-ac) = f9502c50575ca5b8917a3c78cbcdf0bb3afe1bcf SHA1 (patch-ad) = 89fa87ebbe611e05cda5dc8087aa6d5179bbe01a SHA1 (patch-ae) = eff3d6b1c2c6e94c7d6edd5ef8375beb86b71241 +SHA1 (patch-jpeg__decode.c) = df308f9ea2e8462cc2fd31e1c69cba46e4d310c3 diff --git a/graphics/cnxtview/patches/patch-jpeg__decode.c b/graphics/cnxtview/patches/patch-jpeg__decode.c new file mode 100644 index 00000000000..28cc1345690 --- /dev/null +++ b/graphics/cnxtview/patches/patch-jpeg__decode.c @@ -0,0 +1,15 @@ +$NetBSD: patch-jpeg__decode.c,v 1.1 2014/02/10 11:46:55 obache Exp $ + +* To match prototype from jpeg>=8 libary + +--- jpeg_decode.c.orig 2004-01-13 16:40:32.000000000 +0000 ++++ jpeg_decode.c +@@ -82,7 +82,7 @@ term_mem_source (j_decompress_ptr cinfo) + + + GLOBAL(void) +-jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * source_ptr, size_t source_length) ++jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * source_ptr, unsigned long source_length) + { + mem_src_ptr src; + |