pkgsrc/devel/libgphoto2/patches/patch-camlibs_ax203_jpeg__memsrcdest.h
wiz aa61124f9e Fix build with jpeg-9b.
While here, replace a patch with REPLACE_SH.
2016-02-04 11:57:50 +00:00

15 lines
435 B
C

$NetBSD: patch-camlibs_ax203_jpeg__memsrcdest.h,v 1.1 2016/02/04 11:57:50 wiz Exp $
Fix build with jpeg-9b.
--- camlibs/ax203/jpeg_memsrcdest.h.orig 2012-12-13 08:49:31.000000000 +0000
+++ camlibs/ax203/jpeg_memsrcdest.h
@@ -1,7 +1,7 @@
#include <jpeglib.h>
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);
void