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)
The following reply was made to PR pkg/43901; it has been noted by GNATS.
From: Tim Zingelman <tez%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: obache%netbsd.org@localhost, solaris-pkg-people%netbsd.org@localhost,
pkg-manager%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
jwise%netbsd.org@localhost
Subject: Re: pkg/43901 (graphics/jasper's jasper/jas_types.h should not
include stdbool.h on Solaris)
Date: Tue, 5 Apr 2011 16:40:43 -0500
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