lcms: fix FTBFS with gcc14

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/20/head
Michele Calgaro 3 months ago
parent 25a28f9254
commit 448e60b5c7
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1,3 +1,9 @@
lcms (1.19.dfsg2-1.6~0debian13.0.0+5~a) trixie; urgency=medium
* Fix FTBFS with gcc14
-- Michele Calgaro <michele.calgaro@yahoo.it> Sat, 14 Sep 2024 20:28:00 +0900
lcms (1.19.dfsg2-1.6~0debian13.0.0+4~a) trixie; urgency=medium
* Remove remaining 'register' instruction.

@ -0,0 +1,27 @@
--- a/jpegicc/iccjpeg.c
+++ b/jpegicc/iccjpeg.c
@@ -164,7 +164,7 @@
boolean
read_icc_profile (j_decompress_ptr cinfo,
JOCTET **icc_data_ptr,
- unsigned int *icc_data_len)
+ DWORD *icc_data_len)
{
jpeg_saved_marker_ptr marker;
int num_markers = 0;
--- a/jpegicc/iccjpeg.h
+++ b/jpegicc/iccjpeg.h
@@ -18,6 +18,7 @@
#include <stdio.h> /* needed to define "FILE", "NULL" */
#include "jpeglib.h"
+#include "lcms.h"
/*
@@ -70,4 +71,4 @@
extern boolean read_icc_profile JPP((j_decompress_ptr cinfo,
JOCTET **icc_data_ptr,
- unsigned int *icc_data_len));
+ DWORD *icc_data_len));

@ -1,3 +1,4 @@
debian-changes.diff
remove-register-instruction.diff
add-swab-function-prototype.diff
fix-ftbfs-gcc14.diff

Loading…
Cancel
Save