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.
42 lines
924 B
42 lines
924 B
https://bugs.gentoo.org/513240
|
|
|
|
the jasper headers are horribly broken and break things like stdbool.h.
|
|
re-order the includes to work around this.
|
|
|
|
--- a/converter/other/jpeg2000/jpeg2ktopam.c
|
|
+++ b/converter/other/jpeg2000/jpeg2ktopam.c
|
|
@@ -13,13 +13,14 @@
|
|
#define _XOPEN_SOURCE 600
|
|
#include <string.h>
|
|
|
|
+#include <jasper/jasper.h>
|
|
+
|
|
#include "pm_c_util.h"
|
|
#include "pam.h"
|
|
#include "shhopt.h"
|
|
#include "nstring.h"
|
|
#include "mallocvar.h"
|
|
|
|
-#include <jasper/jasper.h>
|
|
#include "libjasper_compat.h"
|
|
|
|
enum compmode {COMPMODE_INTEGER, COMPMODE_REAL};
|
|
--- a/converter/other/jpeg2000/pamtojpeg2k.c
|
|
+++ b/converter/other/jpeg2000/pamtojpeg2k.c
|
|
@@ -13,13 +13,14 @@
|
|
#define _XOPEN_SOURCE 600
|
|
#include <string.h>
|
|
|
|
+#include <jasper/jasper.h>
|
|
+
|
|
#include "pm_c_util.h"
|
|
#include "pam.h"
|
|
#include "shhopt.h"
|
|
#include "nstring.h"
|
|
#include "mallocvar.h"
|
|
|
|
-#include <jasper/jasper.h>
|
|
#include "libjasper_compat.h"
|
|
|
|
|