You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-tcltk/tkimg/files/tkimg-1.4-jpeg-9.patch

19 lines
364 B

Fix build with jpeg-9, bug #520886
--- a/jpeg/jpeg.c 2010-06-17 15:40:24.000000000 +0200
+++ b/jpeg/jpeg.c 2018-02-07 23:26:38.050073397 +0100
@@ -53,6 +53,13 @@
*/
#include "tkimg.h"
+#ifndef FALSE
+#define FALSE 0
+#endif
+#ifndef TRUE
+#define TRUE 1
+#endif
+#define HAVE_BOOLEAN
#include "jpegtcl.h"
static int SetupJPegLibrary(Tcl_Interp *interp);