Date: Sat, 16 Apr 2022 04:25:14 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b105df620a22 - main - graphics/netpbm: Fix build with jasper 3.0.2 Message-ID: <202204160425.23G4PEG2008513@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b105df620a2268a20151d7c44cd572456a5bbd5e commit b105df620a2268a20151d7c44cd572456a5bbd5e Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-04-16 04:15:01 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-04-16 04:19:51 +0000 graphics/netpbm: Fix build with jasper 3.0.2 Approved by: leres (maintainer) --- graphics/netpbm/files/patch-jasper | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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 <stddef.h> ++typedef __max_align_t max_align_t; + #include <string.h> + + #include <jasper/jasper.h> +--- 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 <stddef.h> ++typedef __max_align_t max_align_t; + #include <string.h> + + #include <jasper/jasper.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204160425.23G4PEG2008513>