summaryrefslogtreecommitdiff
path: root/audio/moc-devel/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'audio/moc-devel/patches/patch-ad')
-rw-r--r--audio/moc-devel/patches/patch-ad43
1 files changed, 26 insertions, 17 deletions
diff --git a/audio/moc-devel/patches/patch-ad b/audio/moc-devel/patches/patch-ad
index 964e55dbe53..aeecb538921 100644
--- a/audio/moc-devel/patches/patch-ad
+++ b/audio/moc-devel/patches/patch-ad
@@ -1,23 +1,23 @@
-$NetBSD: patch-ad,v 1.3 2011/09/12 06:27:21 dholland Exp $
+$NetBSD: patch-ad,v 1.4 2013/02/10 08:39:00 ryoon Exp $
regen after patching configure.in:
- use export-dynamic correctly (first hunk)
- check for sched_get_priority_max being in -lrt
---- configure.orig 2008-02-25 22:38:19.000000000 +0000
+--- configure.orig 2012-10-11 19:45:04.000000000 +0000
+++ configure
-@@ -22310,7 +22310,7 @@ _ACEOF
- ;;
- esac
+@@ -18085,7 +18085,7 @@ $as_echo "no" >&6; }
--LDFLAGS="$LDFLAGS -export-dynamic"
-+LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+ fi
- { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
- echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
-@@ -22895,6 +22895,72 @@ if test `eval echo '${'$as_ac_var'}'` =
- #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+-if test "x$PKG_CONFIG" == "x"
++if test "x$PKG_CONFIG" = "x"
+ then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No pkg-config utility found or it's too old, I will have trouble finding installed libraries." >&5
+ $as_echo "$as_me: WARNING: No pkg-config utility found or it's too old, I will have trouble finding installed libraries." >&2;}
+@@ -24165,6 +24165,72 @@ eval as_val=\$$as_ac_var
+ #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
+else
@@ -89,11 +89,20 @@ regen after patching configure.in:
fi
done
-@@ -27118,6 +27184,7 @@ else
- sed 's/^/| /' conftest.$ac_ext >&5
-
- mp_cv_ncursesw=no
-+ LIBS="$mp_save_LIBS"
+@@ -25078,6 +25144,7 @@ if ac_fn_c_try_link "$LINENO"; then :
+ mp_cv_ncursesw=yes
+ else
+ mp_cv_ncursesw=no
++ LIBS="$mp_save_LIBS"
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+@@ -27422,7 +27489,7 @@ if test "${with_vorbis+set}" = set; then
fi
- rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+
+-if test "x$with_vorbis" == "xtremor"
++if test "x$with_vorbis" = "xtremor"
+ then
+
+ pkg_failed=no