aa61124f9e
While here, replace a patch with REPLACE_SH.
15 lines
478 B
C
15 lines
478 B
C
$NetBSD: patch-camlibs_ax203_jpeg__memsrcdest.c,v 1.1 2016/02/04 11:57:50 wiz Exp $
|
|
|
|
Fix build with jpeg-9b.
|
|
|
|
--- camlibs/ax203/jpeg_memsrcdest.c.orig 2012-12-13 08:49:31.000000000 +0000
|
|
+++ camlibs/ax203/jpeg_memsrcdest.c
|
|
@@ -143,7 +143,7 @@ term_source (j_decompress_ptr cinfo)
|
|
*/
|
|
|
|
GLOBAL(void)
|
|
-jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer,
|
|
+jpeg_mem_src (j_decompress_ptr cinfo, const unsigned char * buffer,
|
|
unsigned long bufsize)
|
|
{
|
|
my_src_ptr src;
|