mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
graphics/lcms: fix build with llvm22 [-Wincompatible-pointer-types]
regen plist while there
This commit is contained in:
@@ -3,7 +3,7 @@ COMMENT = color management library
|
||||
DISTNAME = lcms-1.19
|
||||
CATEGORIES = graphics
|
||||
SITES = ${SITE_SOURCEFORGE:=lcms/}
|
||||
REVISION = 2
|
||||
REVISION = 3
|
||||
|
||||
SHARED_LIBS += lcms 2.0 # 1.19
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
jpegicc.c:752:78: error: incompatible pointer types passing 'DWORD *' (aka 'unsigned long *') to parameter of type 'unsigned int *' [-Wincompatible-pointer-types]
|
||||
752 | if (!IgnoreEmbedded && read_icc_profile(&Decompressor, &EmbedBuffer, &EmbedLen))
|
||||
| ^~~~~~~~~
|
||||
|
||||
Index: jpegicc/jpegicc.c
|
||||
--- jpegicc/jpegicc.c.orig
|
||||
+++ jpegicc/jpegicc.c
|
||||
@@ -707,7 +707,7 @@ int TransformImage(char *cDefInpProf, char *cOutProf)
|
||||
DWORD wInput, wOutput;
|
||||
int OutputColorSpace;
|
||||
DWORD dwFlags = 0;
|
||||
- DWORD EmbedLen;
|
||||
+ unsigned int EmbedLen;
|
||||
LPBYTE EmbedBuffer;
|
||||
|
||||
// Observer adaptation state (only meaningful on absolute colorimetric intent)
|
||||
@@ -7,7 +7,7 @@
|
||||
@bin bin/wtpt
|
||||
include/icc34.h
|
||||
include/lcms.h
|
||||
lib/liblcms.a
|
||||
@static-lib lib/liblcms.a
|
||||
lib/liblcms.la
|
||||
@lib lib/liblcms.so.${LIBlcms_VERSION}
|
||||
lib/pkgconfig/lcms.pc
|
||||
|
||||
Reference in New Issue
Block a user