simple test program: $ cat test.c #include <stdbool.h> #include <jasper/jasper.h> int main() { return true; } $ gcc test.c test.c: In function ‘main’: test.c:3:21: error: ‘true’ undeclared (first use in this function) int main() { return true; } this is because the jas_types.h func goes blindly undefining symbols (like true and false) and then trying to re-include the standard headers. except those headers have already been included, so the symbols don't get redefined.
commit ece2cf67ac87c152c955189229cd3a2b2206e0a9 Author: David Seifert <soap@gentoo.org> Date: Fri Oct 14 22:46:01 2016 +0200 media-libs/jasper: Version bump to 1.900.3 Gentoo-bug: 513240 * EAPI=6 * Import latest Fedora patchset