head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.4 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.2 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.4.0.2 pkgsrc-2011Q4-base:1.4; locks; strict; comment @# @; 1.6 date 2012.01.13.11.38.45; author drochner; state dead; branches; next 1.5; 1.5 date 2012.01.12.16.34.28; author adam; state Exp; branches; next 1.4; 1.4 date 2011.12.29.16.19.25; author rumko; state Exp; branches; next 1.3; 1.3 date 2011.11.30.20.52.46; author wiz; state Exp; branches; next 1.2; 1.2 date 2011.11.30.14.30.57; author wiz; state Exp; branches; next 1.1; 1.1 date 2011.11.29.19.39.30; author wiz; state Exp; branches; next ; desc @@ 1.6 log @remove unnecessary patches @ text @$NetBSD: patch-configure,v 1.5 2012/01/12 16:34:28 adam Exp $ Check for libm so it is included if need be. --- configure.orig 2011-12-29 13:09:11.633992000 +0000 +++ configure @@@@ -14689,6 +14689,51 @@@@ fi done +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 +$as_echo_n "checking for sqrt in -lm... " >&6; } +if ${ac_cv_lib_m_sqrt+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char sqrt (); +int +main () +{ +return sqrt (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_sqrt=yes +else + ac_cv_lib_m_sqrt=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5 +$as_echo "$ac_cv_lib_m_sqrt" >&6; } +if test "x$ac_cv_lib_m_sqrt" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBM 1 +_ACEOF + + LIBS="-lm $LIBS" + +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } @ 1.5 log @Changes 0.3.3: * Update library's soname version. * Link against libm. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.4 2011/12/29 16:19:25 rumko Exp $ @ 1.4 log @Add configure check for libm Fixes build for DragonFly BSD. Provided by Matthias Rampke through PR pkg/45757 @ text @d1 1 a1 4 $NetBSD: patch-configure,v 1.3 2011/11/30 20:52:46 wiz Exp $ Fix unportable test(1) construct. Accepted by upstream, will be in next release. a58 54 @@@@ -15246,7 +15291,7 @@@@ else enable_werror=no fi - if test "$enable_werror" == "yes"; then + if test "$enable_werror" = "yes"; then ENABLE_WERROR_TRUE= ENABLE_WERROR_FALSE='#' else @@@@ -15255,7 +15300,7 @@@@ else fi -if test "$enable_werror" == "yes"; then : +if test "$enable_werror" = "yes"; then : WERROR_CFLAGS="-Werror" fi @@@@ -15267,7 +15312,7 @@@@ else enable_coverage=no fi - if test "$enable_coverage" == "yes"; then + if test "$enable_coverage" = "yes"; then ENABLE_COVERAGE_TRUE= ENABLE_COVERAGE_FALSE='#' else @@@@ -15276,7 +15321,7 @@@@ else fi -if test "$enable_coverage" == "yes"; then : +if test "$enable_coverage" = "yes"; then : COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage" COVERAGE_LIBS="-lgcov" @@@@ -15380,7 +15425,7 @@@@ else enable_valgrind=no fi - if test "$enable_valgrind" == "yes"; then + if test "$enable_valgrind" = "yes"; then ENABLE_VALGRIND_TRUE= ENABLE_VALGRIND_FALSE='#' else @@@@ -15389,7 +15434,7 @@@@ else fi -if test "$enable_valgrind" == "yes"; then : +if test "$enable_valgrind" = "yes"; then : # Extract the first word of "valgrind", so it can be a program name with args. set dummy valgrind; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 @ 1.3 log @Remove two patches; upstream says that extending precision is not the right approach and that he changed the calculation for 0.3.2 in a more robust way. Note that patch-configure will be integrated in next release. Bump PKGREVISION for patch removal. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.2 2011/11/30 14:30:57 wiz Exp $ d6 3 a8 1 --- configure.orig 2011-11-29 18:15:23.000000000 +0000 d10 53 a62 1 @@@@ -15246,7 +15246,7 @@@@ else d71 1 a71 1 @@@@ -15255,7 +15255,7 @@@@ else d80 1 a80 1 @@@@ -15267,7 +15267,7 @@@@ else d89 1 a89 1 @@@@ -15276,7 +15276,7 @@@@ else d98 1 a98 1 @@@@ -15380,7 +15380,7 @@@@ else d107 1 a107 1 @@@@ -15389,7 +15389,7 @@@@ else @ 1.2 log @Update to 0.3.2: Changes for Audio File Library version 0.3.2: * Fix initialization of byte order in Creative Voice File format. * Fix calculation of frame count in NIST SPHERE sound files. * Remove duplicate definition of AFvirtualfile. * Don't treat compiler warnings as errors by default. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2011/11/29 19:39:30 wiz Exp $ d4 1 @ 1.1 log @Update to 0.3.1: Changes for Audio File Library version 0.3.1: * Fix installation of man pages. * Add support for Creative Voice File format. * Support u-law and A-law compression in Core Audio Format files. Changes for Audio File Library version 0.3.0: * Define AFframecount and AFfileoffset as 64-bit integers regardless of whether system specifies off_t as 64 bits. * Added support for Core Audio Format. * Added support for extensible WAVE format files. * Fixed leak of miscellaneous data buffers. (Thanks to Stefano Magni for finding and fixing this problem.) * Fixed default mapping between integer and floating-point audio data. * Fix handling of NeXT sound files with unspecified or inconsistent length. * Added support for miscellaneous data in IFF/8SVX files. * Added support for byte-swapped IRCAM sound files. * Refactored file parsing and writing. * Refactored audio conversion. * Updated and expanded documentation. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- configure.orig 2011-11-29 18:37:26.000000000 +0000 d7 19 a25 1 @@@@ -15241,7 +15241,7 @@@@ else d34 1 a34 1 @@@@ -15250,7 +15250,7 @@@@ else d43 1 a43 1 @@@@ -15354,7 +15354,7 @@@@ else d52 1 a52 1 @@@@ -15363,7 +15363,7 @@@@ else @