summaryrefslogtreecommitdiff
path: root/audio/moc-devel/patches/patch-ad
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-09-12 06:27:21 +0000
committerdholland <dholland@pkgsrc.org>2011-09-12 06:27:21 +0000
commit2b6d7bae31d9dc308fc64d7a315c476d9671194f (patch)
treec298bf1e66130360c07c34833b580eaab9d8ab6e /audio/moc-devel/patches/patch-ad
parentb5af15e43a68aff0ba5c9d7806c0ac8acafa384b (diff)
downloadpkgsrc-2b6d7bae31d9dc308fc64d7a315c476d9671194f.tar.gz
Apply joerg's fixes to moc here, to fix clang build issues.
Diffstat (limited to 'audio/moc-devel/patches/patch-ad')
-rw-r--r--audio/moc-devel/patches/patch-ad18
1 files changed, 16 insertions, 2 deletions
diff --git a/audio/moc-devel/patches/patch-ad b/audio/moc-devel/patches/patch-ad
index fdc445c516d..964e55dbe53 100644
--- a/audio/moc-devel/patches/patch-ad
+++ b/audio/moc-devel/patches/patch-ad
@@ -1,7 +1,21 @@
-$NetBSD: patch-ad,v 1.2 2009/07/07 21:18:52 joerg Exp $
+$NetBSD: patch-ad,v 1.3 2011/09/12 06:27:21 dholland Exp $
---- configure.orig 2008-02-25 23:38:19.000000000 +0100
+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
+@@ -22310,7 +22310,7 @@ _ACEOF
+ ;;
+ esac
+
+-LDFLAGS="$LDFLAGS -export-dynamic"
++LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+
+ { 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
_ACEOF