summaryrefslogtreecommitdiff
path: root/audio/opusfile/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2015-11-20 14:28:02 +0000
committerjoerg <joerg>2015-11-20 14:28:02 +0000
commitb5bbcf9b153d715814d3a70888b3cdbaabbffdae (patch)
tree74a1ace67cf8017f3c293f22609711a766180075 /audio/opusfile/patches
parentc2c4e8a1e2a97ae6cda96c391b17735fd80dfc22 (diff)
downloadpkgsrc-b5bbcf9b153d715814d3a70888b3cdbaabbffdae.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')
-rw-r--r--audio/opusfile/patches/patch-configure75
-rw-r--r--audio/opusfile/patches/patch-configure.ac12
2 files changed, 87 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
diff --git a/audio/opusfile/patches/patch-configure.ac b/audio/opusfile/patches/patch-configure.ac
new file mode 100644
index 00000000000..a5a214f7a4e
--- /dev/null
+++ b/audio/opusfile/patches/patch-configure.ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-configure.ac,v 1.1 2015/11/20 14:28:02 joerg Exp $
+
+--- configure.ac.orig 2015-11-18 13:16:13.000000000 +0000
++++ configure.ac
+@@ -86,7 +86,6 @@ AM_COND_IF(OP_WIN32,
+ )
+ )
+ )
+-AC_SEARCH_LIBS(ftime, [compat], , [enable_http=no])
+
+ AS_IF([test "$enable_http" != "no"], [
+ openssl="openssl"