Cope with newer graphics/jasper
ok ajacoutot@
This commit is contained in:
parent
28b5bc97f1
commit
5f7074aa8b
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.23 2017/07/26 22:45:23 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.24 2017/12/14 00:24:36 jca Exp $
|
||||
|
||||
COMMENT= library for powerful image loading capabilities
|
||||
|
||||
@ -28,7 +28,7 @@ LIB_DEPENDS= converters/libiconv \
|
||||
devel/sdl \
|
||||
graphics/freeglut \
|
||||
graphics/ilmbase \
|
||||
graphics/jasper \
|
||||
graphics/jasper>=2.0.14 \
|
||||
graphics/libmng \
|
||||
graphics/lcms \
|
||||
graphics/openexr \
|
||||
|
16
graphics/DevIL/patches/patch-src-IL_src_il_jp2_c
Normal file
16
graphics/DevIL/patches/patch-src-IL_src_il_jp2_c
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-src-IL_src_il_jp2_c,v 1.1 2017/12/14 00:24:36 jca Exp $
|
||||
|
||||
Cope with libjasper>=1.900.25
|
||||
|
||||
Index: src-IL/src/il_jp2.c
|
||||
--- src-IL/src/il_jp2.c.orig
|
||||
+++ src-IL/src/il_jp2.c
|
||||
@@ -459,7 +459,7 @@ static void jas_stream_initbuf(jas_stream_t *stream, i
|
||||
/* The buffer must be large enough to accommodate maximum
|
||||
putback. */
|
||||
assert(bufsize > JAS_STREAM_MAXPUTBACK);
|
||||
- stream->bufbase_ = JAS_CAST(uchar *, buf);
|
||||
+ stream->bufbase_ = JAS_CAST(jas_uchar *, buf);
|
||||
stream->bufsize_ = bufsize - JAS_STREAM_MAXPUTBACK;
|
||||
}
|
||||
} else {
|
Loading…
x
Reference in New Issue
Block a user