summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/lcms/lcms-1.19.dfsg2/debian/changelog6
-rw-r--r--debian/lcms/lcms-1.19.dfsg2/debian/patches/fix-ftbfs-gcc14.diff27
-rw-r--r--debian/lcms/lcms-1.19.dfsg2/debian/patches/series1
3 files changed, 34 insertions, 0 deletions
diff --git a/debian/lcms/lcms-1.19.dfsg2/debian/changelog b/debian/lcms/lcms-1.19.dfsg2/debian/changelog
index 594f49fb..38af6aa6 100644
--- a/debian/lcms/lcms-1.19.dfsg2/debian/changelog
+++ b/debian/lcms/lcms-1.19.dfsg2/debian/changelog
@@ -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.
diff --git a/debian/lcms/lcms-1.19.dfsg2/debian/patches/fix-ftbfs-gcc14.diff b/debian/lcms/lcms-1.19.dfsg2/debian/patches/fix-ftbfs-gcc14.diff
new file mode 100644
index 00000000..3de001bb
--- /dev/null
+++ b/debian/lcms/lcms-1.19.dfsg2/debian/patches/fix-ftbfs-gcc14.diff
@@ -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));
diff --git a/debian/lcms/lcms-1.19.dfsg2/debian/patches/series b/debian/lcms/lcms-1.19.dfsg2/debian/patches/series
index 33f8cda0..6f64faa6 100644
--- a/debian/lcms/lcms-1.19.dfsg2/debian/patches/series
+++ b/debian/lcms/lcms-1.19.dfsg2/debian/patches/series
@@ -1,3 +1,4 @@
debian-changes.diff
remove-register-instruction.diff
add-swab-function-prototype.diff
+fix-ftbfs-gcc14.diff