summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2024-04-16 00:14:03 +0200
committerSlávek Banko <slavek.banko@axis.cz>2024-04-16 00:14:03 +0200
commit7a8a323bf32c891f279b5f0189dbd35a5d02f9ab (patch)
tree38d81cbb1dd360fbc5b5bba5d2d73468326417bb
parenta67a5ced5eb8d02c6b7998031ff0b3abc860f280 (diff)
downloadextra-dependencies-7a8a323bf32c891f279b5f0189dbd35a5d02f9ab.tar.gz
extra-dependencies-7a8a323bf32c891f279b5f0189dbd35a5d02f9ab.zip
jasper: Add missing function prototype.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--debian/jasper/jasper-1.900.1-debian1/debian/changelog6
-rw-r--r--debian/jasper/jasper-1.900.1-debian1/debian/patches/add-missing-function-prototype.diff71
-rw-r--r--debian/jasper/jasper-1.900.1-debian1/debian/patches/series1
3 files changed, 78 insertions, 0 deletions
diff --git a/debian/jasper/jasper-1.900.1-debian1/debian/changelog b/debian/jasper/jasper-1.900.1-debian1/debian/changelog
index 3dc3a59b..ee777edc 100644
--- a/debian/jasper/jasper-1.900.1-debian1/debian/changelog
+++ b/debian/jasper/jasper-1.900.1-debian1/debian/changelog
@@ -1,3 +1,9 @@
+jasper (1.900.1-debian1-2.5ubuntu24.04.0+7~b) noble; urgency=high
+
+ * Add missing function prototype.
+
+ -- Slávek Banko <slavek.banko@axis.cz> Mon, 15 Apr 2024 16:31:25 +0200
+
jasper (1.900.1-debian1-2.5debian11.0.0+6~a) bullseye; urgency=high
* As temporary workaround for #812630
diff --git a/debian/jasper/jasper-1.900.1-debian1/debian/patches/add-missing-function-prototype.diff b/debian/jasper/jasper-1.900.1-debian1/debian/patches/add-missing-function-prototype.diff
new file mode 100644
index 00000000..12b212c3
--- /dev/null
+++ b/debian/jasper/jasper-1.900.1-debian1/debian/patches/add-missing-function-prototype.diff
@@ -0,0 +1,71 @@
+Index: b/src/libjasper/base/jas_getopt.c
+===================================================================
+--- a/src/libjasper/base/jas_getopt.c
++++ b/src/libjasper/base/jas_getopt.c
+@@ -74,6 +74,7 @@
+ #include <stdio.h>
+ #include <string.h>
+
++#include "jasper/jas_debug.h"
+ #include "jasper/jas_getopt.h"
+ #include "jasper/jas_math.h"
+
+Index: b/src/libjasper/jpc/jpc_t1dec.c
+===================================================================
+--- a/src/libjasper/jpc/jpc_t1dec.c
++++ b/src/libjasper/jpc/jpc_t1dec.c
+@@ -75,6 +75,7 @@
+ #include <stdlib.h>
+ #include <assert.h>
+
++#include "jasper/jas_debug.h"
+ #include "jasper/jas_fix.h"
+ #include "jasper/jas_stream.h"
+ #include "jasper/jas_math.h"
+Index: b/src/libjasper/jpc/jpc_tsfb.c
+===================================================================
+--- a/src/libjasper/jpc/jpc_tsfb.c
++++ b/src/libjasper/jpc/jpc_tsfb.c
+@@ -82,10 +82,18 @@
+ #include "jpc_util.h"
+ #include "jpc_math.h"
+
++/* function prototypes */
++
+ void jpc_tsfb_getbands2(jpc_tsfb_t *tsfb, int locxstart, int locystart,
+ int xstart, int ystart, int xend, int yend, jpc_tsfb_band_t **bands,
+ int numlvls);
+
++int jpc_tsfb_analyze2(jpc_tsfb_t *tsfb, int *a, int xstart, int ystart,
++ int width, int height, int stride, int numlvls);
++
++int jpc_tsfb_synthesize2(jpc_tsfb_t *tsfb, int *a, int xstart, int ystart,
++ int width, int height, int stride, int numlvls);
++
+ /******************************************************************************\
+ *
+ \******************************************************************************/
+Index: b/src/libjasper/mif/mif_cod.c
+===================================================================
+--- a/src/libjasper/mif/mif_cod.c
++++ b/src/libjasper/mif/mif_cod.c
+@@ -65,6 +65,7 @@
+
+ #include <assert.h>
+
++#include "jasper/jas_debug.h"
+ #include "jasper/jas_tvp.h"
+ #include "jasper/jas_stream.h"
+ #include "jasper/jas_image.h"
+Index: b/src/libjasper/pnm/pnm_dec.c
+===================================================================
+--- a/src/libjasper/pnm/pnm_dec.c
++++ b/src/libjasper/pnm/pnm_dec.c
+@@ -76,6 +76,7 @@
+ #include <stdlib.h>
+ #include <assert.h>
+
++#include "jasper/jas_debug.h"
+ #include "jasper/jas_types.h"
+ #include "jasper/jas_stream.h"
+ #include "jasper/jas_image.h"
diff --git a/debian/jasper/jasper-1.900.1-debian1/debian/patches/series b/debian/jasper/jasper-1.900.1-debian1/debian/patches/series
index a90bfd6d..3378f278 100644
--- a/debian/jasper/jasper-1.900.1-debian1/debian/patches/series
+++ b/debian/jasper/jasper-1.900.1-debian1/debian/patches/series
@@ -27,3 +27,4 @@ CVE-2018-18873.patch
CVE-2018-19541.patch
CVE-2018-19540.patch
CVE-2018-19542.patch
+add-missing-function-prototype.diff