jasper: Add missing function prototype.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 1 month ago
parent a67a5ced5e
commit 7a8a323bf3
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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

@ -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"

@ -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

Loading…
Cancel
Save