ports/graphics/jpgtn/files/patch-src_jpgtn.c
Robert Clausecker ed698901d9 graphics/jpgtn: unbreak build
Also remove the archaic pre-everything target from the Makefile,
simplify the Makefile, add SF as another master site and set
LICENSE.  Take over maintainership of this unmaintained port.

PR:	257181
2021-07-14 14:42:20 +02:00

16 lines
727 B
C

--- src/jpgtn.c.orig 2021-07-14 12:00:52 UTC
+++ src/jpgtn.c
@@ -30,6 +30,13 @@
#include "common.h"
#include "jpgtn.h"
+unsigned char *outimage; /* The current thumbnail image */
+unsigned char *palette; /* Global palette pointer */
+int width; /* Original image width */
+int height; /* Original image height */
+int background; /* Index's background color */
+long out_wide; /* Width of thumbnail image */
+long out_high; /* Height of thumbnail image */
/* Private */
static void print_version(void);