summaryrefslogtreecommitdiff
path: root/multimedia/libvpx/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libvpx/patches/patch-ad')
-rw-r--r--multimedia/libvpx/patches/patch-ad9
1 files changed, 6 insertions, 3 deletions
diff --git a/multimedia/libvpx/patches/patch-ad b/multimedia/libvpx/patches/patch-ad
index 5ab22cf2c2c..37e2d5f9f40 100644
--- a/multimedia/libvpx/patches/patch-ad
+++ b/multimedia/libvpx/patches/patch-ad
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.12 2014/01/02 15:18:01 ryoon Exp $
+$NetBSD: patch-ad,v 1.13 2014/05/05 21:16:28 ryoon Exp $
*BSD and qnx are identified as linux.
Add another SDK path on Mac OS X.
@@ -41,7 +41,7 @@ Add another SDK path on Mac OS X.
grep '4f *32 *42 *45' >/dev/null 2>&1 && enable_feature big_endian
# Try to find which inline keywords are supported
-@@ -1235,10 +1233,29 @@ EOF
+@@ -1235,10 +1233,32 @@ EOF
case ${toolchain} in
*-win*-vs*);;
*-android-gcc);;
@@ -57,11 +57,14 @@ Add another SDK path on Mac OS X.
+ solaris*)
+ add_extralibs -lm -lrt
+ ;;
-+ linux*)
++ linux*)
+ case ${gcctarget} in
+ *qnx6*)
+ add_extralibs -lm
+ ;;
++ *openbsd*)
++ add_extralibs -lm
++ ;;
+ *)
+ add_extralibs -lm -lrt
+ ;;