summaryrefslogtreecommitdiff
path: root/multimedia/mlt/patches/patch-aa
diff options
context:
space:
mode:
authorabs <abs>2010-10-19 16:37:40 +0000
committerabs <abs>2010-10-19 16:37:40 +0000
commit8036db62690aee80e7d56a9c6e0a3aec269d94c0 (patch)
treedb2ab3680a79d0a3200d0d76e8be359908d7edf2 /multimedia/mlt/patches/patch-aa
parent9b3db592437be52e26e343ee71e92262daf3d42a (diff)
downloadpkgsrc-8036db62690aee80e7d56a9c6e0a3aec269d94c0.tar.gz
Added multimedia/mlt version 0.5.10
MLT is an open source multimedia framework, designed and developed for television broadcasting. It provides a toolkit for broadcasters, video editors, media players, transcoders, web streamers and many more types of applications. The functionality of the system is provided via an assortment of ready to use tools, XML authoring components, and an extensible plug-in based API.
Diffstat (limited to 'multimedia/mlt/patches/patch-aa')
-rw-r--r--multimedia/mlt/patches/patch-aa29
1 files changed, 29 insertions, 0 deletions
diff --git a/multimedia/mlt/patches/patch-aa b/multimedia/mlt/patches/patch-aa
new file mode 100644
index 00000000000..c008e09ed79
--- /dev/null
+++ b/multimedia/mlt/patches/patch-aa
@@ -0,0 +1,29 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/10/19 16:37:40 abs Exp $
+# Add support for NetBSD - copy of FreeBSD except for uname -m amd64 vs x86_64
+
+--- configure.orig 2010-09-14 06:00:09.000000000 +0000
++++ configure
+@@ -97,6 +97,14 @@ build_config()
+ echo "RDYNAMIC=-rdynamic"
+ echo "LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed"
+ ;;
++ NetBSD)
++ [ "$(uname -m)" = "amd64" ] && echo "ARCH_X86_64=1" && echo "CFLAGS+=-DARCH_X86_64"
++ echo "OPTIMISATIONS+=-ffast-math"
++ echo "CFLAGS+=-pthread"
++ echo "SHFLAGS=-shared"
++ echo "RDYNAMIC=-rdynamic"
++ echo "LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed"
++ ;;
+ *)
+ ;;
+ esac
+@@ -171,7 +179,7 @@ case $targetos in
+ Darwin)
+ LIBSUF=".dylib"
+ ;;
+- Linux|FreeBSD)
++ Linux|FreeBSD|NetBSD)
+ LIBSUF=".so"
+ ;;
+ *)