summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-11-15 14:03:11 +0000
committerjoerg <joerg@pkgsrc.org>2013-11-15 14:03:11 +0000
commit2da8c7c4fbfe4541286e50076ec051712e6a6103 (patch)
tree797d5934fbfdfaa0303d644fd213bba2dc2b8ead /multimedia
parentf6fa32a88c05586facf2a336c875082624b0b116 (diff)
downloadpkgsrc-2da8c7c4fbfe4541286e50076ec051712e6a6103.tar.gz
Don't add GCC hacks for Clang.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mlt/distinfo4
-rw-r--r--multimedia/mlt/patches/patch-configure12
2 files changed, 13 insertions, 3 deletions
diff --git a/multimedia/mlt/distinfo b/multimedia/mlt/distinfo
index 063a9b2638e..081848266e3 100644
--- a/multimedia/mlt/distinfo
+++ b/multimedia/mlt/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.5 2013/06/26 21:59:10 joerg Exp $
+$NetBSD: distinfo,v 1.6 2013/11/15 14:03:11 joerg Exp $
SHA1 (mlt-0.8.6.tar.gz) = 616e807ba9f8fd8d6c9f87cb04416885c471596c
RMD160 (mlt-0.8.6.tar.gz) = 354130bdd1d42e55f01703d2eac25a947d86f377
Size (mlt-0.8.6.tar.gz) = 1104163 bytes
-SHA1 (patch-configure) = 52cc702fd561d45699bb7d5dce2b43a80fb9d474
+SHA1 (patch-configure) = 54a8c814e33e27fb12dbeccaec26836abcb37de5
SHA1 (patch-src_framework_mlt__properties.c) = b8113fc58f0dce0d70cb4a0ba7534723e7924ad5
SHA1 (patch-src_framework_mlt__property.c) = 61ea83f6d20c139741d5bb95456f0d1a4a9b3fa4
SHA1 (patch-src_framework_mlt__property.h) = b6aec829f7f9f876711984c2edaba245a968e90d
diff --git a/multimedia/mlt/patches/patch-configure b/multimedia/mlt/patches/patch-configure
index 15d615d90d0..60eb847e034 100644
--- a/multimedia/mlt/patches/patch-configure
+++ b/multimedia/mlt/patches/patch-configure
@@ -1,9 +1,19 @@
-$NetBSD: patch-configure,v 1.1 2012/11/21 22:24:27 abs Exp $
+$NetBSD: patch-configure,v 1.2 2013/11/15 14:03:11 joerg Exp $
* Like most other Operating Systems, NetBSD needs -fPIC with -DPIC
+* Don't add GCC specific optimization hacks to non-GCC compilers.
--- configure.orig 2012-11-15 03:05:11.000000000 +0000
+++ configure
+@@ -74,7 +74,7 @@ build_config()
+ [ "$amd64" = "true" ] && echo "ARCH_X86_64=1" && echo "CFLAGS+=-DARCH_X86_64"
+ [ "$arch" != "" ] && echo "TARGETARCH=-march=$arch"
+ [ "$cpu" != "" ] && echo "TARGETCPU=-mcpu=$cpu"
+- if [ "$optimisations" = "true" ]
++ if [ "$optimisations" = "true" ] && $CC --version 2> /dev/null | fgrep -q gcc
+ then
+ echo "OPTIMISATIONS=-O2 -pipe"
+ # Since gcc 4.6, this optimization enabled with -O1 causes filter_line_sse2 to crash.
@@ -111,7 +111,7 @@ build_config()
NetBSD)
[ "$optimisations" = "true" ] &&