From 8d96dc320b4057b1b22664142ea70a1a0389da26 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 20 Nov 2015 14:28:02 +0000 Subject: Don't link against libcompat, since ftime hasn't been used for a while. Fixes build of dynamic library. Bump revision. --- audio/opusfile/patches/patch-configure | 75 ++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 audio/opusfile/patches/patch-configure (limited to 'audio/opusfile/patches/patch-configure') diff --git a/audio/opusfile/patches/patch-configure b/audio/opusfile/patches/patch-configure new file mode 100644 index 00000000000..52b8347f2ef --- /dev/null +++ b/audio/opusfile/patches/patch-configure @@ -0,0 +1,75 @@ +$NetBSD: patch-configure,v 1.1 2015/11/20 14:28:02 joerg Exp $ + +--- configure.orig 2015-11-18 13:16:26.000000000 +0000 ++++ configure +@@ -11897,70 +11897,6 @@ fi + fi + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ftime" >&5 +-$as_echo_n "checking for library containing ftime... " >&6; } +-if ${ac_cv_search_ftime+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- ac_func_search_save_LIBS=$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 ftime (); +-int +-main () +-{ +-return ftime (); +- ; +- return 0; +-} +-_ACEOF +-for ac_lib in '' compat; do +- if test -z "$ac_lib"; then +- ac_res="none required" +- else +- ac_res=-l$ac_lib +- LIBS="-l$ac_lib $ac_func_search_save_LIBS" +- fi +- if ac_fn_c_try_link "$LINENO"; then : +- ac_cv_search_ftime=$ac_res +-fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext +- if ${ac_cv_search_ftime+:} false; then : +- break +-fi +-done +-if ${ac_cv_search_ftime+:} false; then : +- +-else +- ac_cv_search_ftime=no +-fi +-rm conftest.$ac_ext +-LIBS=$ac_func_search_save_LIBS +-fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ftime" >&5 +-$as_echo "$ac_cv_search_ftime" >&6; } +-ac_res=$ac_cv_search_ftime +-if test "$ac_res" != no; then : +- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" +- +-else +- enable_http=no +-fi +- +- +- +- +- +- +- + + + if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then -- cgit v1.2.3