Ignore the result of the configure test that checks if certain

arguments to speex are floats or ints. They are, as far as I can tell,
always ints in pkgsrc. This test has been getting the wrong answer in
my test-build environment, leading to build failure later on.

Admittedly the test gets the wrong answer because I've been having the
wrappers insert -Wall -Wno-error, but that has value (as does being
able to test-build this and ekiga) and as best I can tell the test is
pointless.
This commit is contained in:
dholland 2012-04-20 07:24:39 +00:00
parent adecca1ff1
commit 0e1285a7b7
2 changed files with 19 additions and 3 deletions

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.10 2012/04/19 12:44:06 hans Exp $
$NetBSD: distinfo,v 1.11 2012/04/20 07:24:39 dholland Exp $
SHA1 (opal-3.6.6.tar.bz2) = bd5e3907faf96db884a64dacdedb2259aca30cd3
RMD160 (opal-3.6.6.tar.bz2) = b639709f7e28ce607478bddc41d171e0e54bee9f
Size (opal-3.6.6.tar.bz2) = 7062422 bytes
SHA1 (patch-configure) = 96aa5856f356a9e3a2b133593c63dd2effecc5b7
SHA1 (patch-configure) = e478024b9f80d08e5d3cfb85f9a825a12a7a4ec2
SHA1 (patch-configure.ac) = 0ca73eeab0cb4cd8b1da85cf285e1e6edb596820
SHA1 (patch-plugins_configure) = dcddc6200e457e0a2d1434036f5ad029dca5fbcf
SHA1 (patch-plugins_configure.ac) = 559fd67e0813a56b1ed13a020acb600ac706d81d

View file

@ -1,4 +1,11 @@
$NetBSD: patch-configure,v 1.1 2011/12/04 22:06:04 marino Exp $
$NetBSD: patch-configure,v 1.2 2012/04/20 07:24:39 dholland Exp $
- dragonfly support
- ignore result of opal_speexdsp_float test as it is not robust.
AFAICT in pkgsrc it should always produce "no", but it doesn't always,
and this leads to build failure later.
--- configure.orig 2009-09-22 00:58:43.000000000 +0000
+++ configure
@ -28,3 +35,12 @@ $NetBSD: patch-configure,v 1.1 2011/12/04 22:06:04 marino Exp $
{ echo "$as_me:$LINENO: checking for dlopen in -lc" >&5
echo $ECHO_N "checking for dlopen in -lc... $ECHO_C" >&6; }
if test "${ac_cv_lib_c_dlopen+set}" = set; then
@@ -9391,7 +9392,7 @@ echo $ECHO_N "checking Speex has float..
echo "${ECHO_T}$opal_speexdsp_float" >&6; }
- if test $opal_speexdsp_float = yes; then
+ if false && test $opal_speexdsp_float = yes; then
cat >>confdefs.h <<\_ACEOF
#define OPAL_SPEEX_FLOAT_NOISE 1