diff --git a/graphics/netpbm/files/patch-jasper b/graphics/netpbm/files/patch-jasper new file mode 100644 index 000000000000..2151239155d8 --- /dev/null +++ b/graphics/netpbm/files/patch-jasper @@ -0,0 +1,22 @@ +--- converter/other/jpeg2000/jpeg2ktopam.c.orig 2020-07-22 20:35:17 UTC ++++ converter/other/jpeg2000/jpeg2ktopam.c +@@ -17,6 +17,8 @@ + but plenty of source files of libjasper do to0, and they did not have + _XOPEN_SOURCE 600, so it would seem to be superfluous here too. + */ ++#include ++typedef __max_align_t max_align_t; + #include + + #include +--- converter/other/jpeg2000/pamtojpeg2k.c.orig 2020-07-22 20:35:17 UTC ++++ converter/other/jpeg2000/pamtojpeg2k.c +@@ -18,6 +18,8 @@ + _XOPEN_SOURCE 600, so it would seem to be superfluous here too. + */ + ++#include ++typedef __max_align_t max_align_t; + #include + + #include