pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/43901 (graphics/jasper's jasper/jas_types.h should not include stdbool.h on Solaris)



This patch seems to fix it for me.  Does it solve the problem for you?

diff -u -r1.32 Makefile
--- Makefile    23 Dec 2010 11:44:40 -0000      1.32
+++ Makefile    5 Apr 2011 21:28:52 -0000
@@ -18,6 +18,11 @@
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --enable-shared --without-x --disable-opengl

+# The solaris stdbool.h requires c99 which is fine for jasper, but
+# not so good for things that depend upon jasper.  See PR#43901
+OPSYSVARS+=            CONFIGURE_ENV
+CONFIGURE_ENV+=                ac_cv_header_stdbool_h=no
+
 INSTALLATION_DIRS+=    share/doc/jasper

 post-install:


For what it is worth, stdbool.h is excluded by configure when using
the sunpro compiler due to other errors, so folks using that compiler
might not see this problem.


Home | Main Index | Thread Index | Old Index