summaryrefslogtreecommitdiff
path: root/audio/opusfile/patches/patch-configure
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-11-20 14:28:02 +0000
committerjoerg <joerg@pkgsrc.org>2015-11-20 14:28:02 +0000
commit8d96dc320b4057b1b22664142ea70a1a0389da26 (patch)
tree74a1ace67cf8017f3c293f22609711a766180075 /audio/opusfile/patches/patch-configure
parent3bf28e4d8998a637db59b5058db3c0e5092dc845 (diff)
downloadpkgsrc-8d96dc320b4057b1b22664142ea70a1a0389da26.tar.gz
Don't link against libcompat, since ftime hasn't been used for a while.
Fixes build of dynamic library. Bump revision.
Diffstat (limited to 'audio/opusfile/patches/patch-configure')
-rw-r--r--audio/opusfile/patches/patch-configure75
1 files changed, 75 insertions, 0 deletions
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