File netpbm-stdbool-after-jasper.patch of Package netpbm
Index: converter/other/jpeg2000/jpeg2ktopam.c
===================================================================
--- converter/other/jpeg2000/jpeg2ktopam.c.orig 2013-09-09 15:38:09.189624754 +0200
+++ converter/other/jpeg2000/jpeg2ktopam.c 2013-09-11 09:49:10.017896504 +0200
@@ -12,6 +12,7 @@
/* Make sure strdup() is in string.h and int_fast32_t is in inttypes.h */
#define _XOPEN_SOURCE 600
#include <string.h>
+#include <jasper/jasper.h>
#include "pm_c_util.h"
#include "pam.h"
@@ -19,7 +20,6 @@
#include "nstring.h"
#include "mallocvar.h"
-#include <jasper/jasper.h>
#include "libjasper_compat.h"
enum compmode {COMPMODE_INTEGER, COMPMODE_REAL};
Index: converter/other/jpeg2000/pamtojpeg2k.c
===================================================================
--- converter/other/jpeg2000/pamtojpeg2k.c.orig 2013-09-09 15:38:09.189624754 +0200
+++ converter/other/jpeg2000/pamtojpeg2k.c 2013-09-11 09:49:58.475502288 +0200
@@ -12,6 +12,7 @@
/* Make sure strdup() is in string.h and int_fast32_t is in inttypes.h */
#define _XOPEN_SOURCE 600
#include <string.h>
+#include <jasper/jasper.h>
#include "pm_c_util.h"
#include "pam.h"
@@ -19,7 +20,6 @@
#include "nstring.h"
#include "mallocvar.h"
-#include <jasper/jasper.h>
#include "libjasper_compat.h"