summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-09-01 11:18:53 +0000
committermarino <marino@pkgsrc.org>2012-09-01 11:18:53 +0000
commit2c95343b702d4b86b6ba503adfd5a4217869d925 (patch)
treecaba9e32ee761f682222698009b5e124a15b232a
parent3d9406c193f9fec264e01844f3d9add22aaa8038 (diff)
downloadpkgsrc-2c95343b702d4b86b6ba503adfd5a4217869d925.tar.gz
multimedia/mlt: Add DragonFly support
Teach various configuration scripts about DragonFly.
-rw-r--r--multimedia/mlt/distinfo14
-rw-r--r--multimedia/mlt/patches/patch-aa14
-rw-r--r--multimedia/mlt/patches/patch-ab6
-rw-r--r--multimedia/mlt/patches/patch-ac6
-rw-r--r--multimedia/mlt/patches/patch-ad6
-rw-r--r--multimedia/mlt/patches/patch-ae6
-rw-r--r--multimedia/mlt/patches/patch-af11
7 files changed, 37 insertions, 26 deletions
diff --git a/multimedia/mlt/distinfo b/multimedia/mlt/distinfo
index 01c3302742d..9d7d8246339 100644
--- a/multimedia/mlt/distinfo
+++ b/multimedia/mlt/distinfo
@@ -1,14 +1,14 @@
-$NetBSD: distinfo,v 1.2 2010/10/19 16:41:30 abs Exp $
+$NetBSD: distinfo,v 1.3 2012/09/01 11:18:53 marino Exp $
SHA1 (mlt-0.5.10.tar.gz) = e0b3d8f77ad6d97d6495614e78dfbbb531e70f77
RMD160 (mlt-0.5.10.tar.gz) = 015053ddb98175adc905d2ccf29ae962f295a9bb
Size (mlt-0.5.10.tar.gz) = 819471 bytes
-SHA1 (patch-aa) = 523d6a4cb11f7a224e41213e370a19dc7cc60f4f
-SHA1 (patch-ab) = 82119f8d9435d64a30645efdae13662a844cb909
-SHA1 (patch-ac) = 529f2300ed32d94b2d9f6aea3ed702869b918fe9
-SHA1 (patch-ad) = ab19e8a8e2a4fbcc892c29fb18568e25acd3248c
-SHA1 (patch-ae) = 4419f5e54175a73aa727ff0ef00d6fa31d760ee1
-SHA1 (patch-af) = 183ef7aa1c63755f7758e768e3e60ce4546ef583
+SHA1 (patch-aa) = 15678a43add7566921aebe8079a9d3ae96f134c8
+SHA1 (patch-ab) = 61ce1f1324ee475d45f429c2cf4d8563140e8a66
+SHA1 (patch-ac) = 43fc78584d94200c808738e8eeb1005c64609d45
+SHA1 (patch-ad) = 8cbc98971731d84c5681a6249e5f3020be830903
+SHA1 (patch-ae) = b74fdcb11bd69299ca090f6228f37fb548e53066
+SHA1 (patch-af) = 1f7182398c6c5631f719539d72c29c87f5e42e34
SHA1 (patch-ag) = 938d553380c8370d8ac8dad1d47008d0ff216f7c
SHA1 (patch-ah) = 5d1f7f0323aa50e53602008d402193e8a19ddf72
SHA1 (patch-ai) = fbac0f478a950e31791a63ad52604ae212c386ee
diff --git a/multimedia/mlt/patches/patch-aa b/multimedia/mlt/patches/patch-aa
index 0c71cb70f49..55c08763201 100644
--- a/multimedia/mlt/patches/patch-aa
+++ b/multimedia/mlt/patches/patch-aa
@@ -1,9 +1,19 @@
-$NetBSD: patch-aa,v 1.2 2010/10/19 16:41:30 abs Exp $
+$NetBSD: patch-aa,v 1.3 2012/09/01 11:18:54 marino Exp $
# Add support for NetBSD - copy of FreeBSD except for uname -m amd64 vs x86_64
+# Add support for DragonFly
--- configure.orig 2010-09-14 06:00:09.000000000 +0000
+++ configure
+@@ -89,7 +89,7 @@ build_config()
+ echo "RDYNAMIC=-rdynamic"
+ echo "LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed"
+ ;;
+- FreeBSD)
++ FreeBSD|DragonFly)
+ [ "$(uname -m)" = "x86_64" ] && echo "ARCH_X86_64=1" && echo "CFLAGS+=-DARCH_X86_64"
+ echo "OPTIMISATIONS+=-ffast-math"
+ echo "CFLAGS+=-pthread"
@@ -97,6 +97,14 @@ build_config()
echo "RDYNAMIC=-rdynamic"
echo "LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed"
@@ -24,7 +34,7 @@ $NetBSD: patch-aa,v 1.2 2010/10/19 16:41:30 abs Exp $
LIBSUF=".dylib"
;;
- Linux|FreeBSD)
-+ Linux|FreeBSD|NetBSD)
++ Linux|FreeBSD|NetBSD|DragonFly)
LIBSUF=".so"
;;
*)
diff --git a/multimedia/mlt/patches/patch-ab b/multimedia/mlt/patches/patch-ab
index cc77edcfc8b..3778ef8d3e7 100644
--- a/multimedia/mlt/patches/patch-ab
+++ b/multimedia/mlt/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.2 2010/10/19 16:41:30 abs Exp $
+$NetBSD: patch-ab,v 1.3 2012/09/01 11:18:54 marino Exp $
-# Add support for NetBSD - match FreeBSD
+# Add support for NetBSD & DragonFly - match FreeBSD
--- src/mlt++/configure.orig 2010-09-14 06:00:09.000000000 +0000
+++ src/mlt++/configure
@@ -9,7 +9,7 @@ $NetBSD: patch-ab,v 1.2 2010/10/19 16:41:30 abs Exp $
echo "LIBFLAGS=-dynamiclib -single_module"
;;
- Linux|FreeBSD)
-+ Linux|FreeBSD|NetBSD)
++ Linux|FreeBSD|NetBSD|DragonFly)
echo LIBSUF=.so
echo "CXXFLAGS+=-Wall $WARNINGS -fPIC -DPIC"
echo "LIBFLAGS=-shared"
diff --git a/multimedia/mlt/patches/patch-ac b/multimedia/mlt/patches/patch-ac
index 99b7e451761..b38e5dd75af 100644
--- a/multimedia/mlt/patches/patch-ac
+++ b/multimedia/mlt/patches/patch-ac
@@ -1,6 +1,6 @@
-$NetBSD: patch-ac,v 1.2 2010/10/19 16:41:30 abs Exp $
+$NetBSD: patch-ac,v 1.3 2012/09/01 11:18:54 marino Exp $
-# Add support for NetBSD - match FreeBSD
+# Add support for NetBSD & DragonFly - match FreeBSD
--- src/modules/avformat/configure.orig 2010-09-14 06:00:09.000000000 +0000
+++ src/modules/avformat/configure
@@ -9,7 +9,7 @@ $NetBSD: patch-ac,v 1.2 2010/10/19 16:41:30 abs Exp $
export LIBSUF=.dylib
;;
- Linux|FreeBSD)
-+ Linux|FreeBSD|NetBSD)
++ Linux|FreeBSD|NetBSD|DragonFly)
export LIBSUF=.so
;;
*)
diff --git a/multimedia/mlt/patches/patch-ad b/multimedia/mlt/patches/patch-ad
index b6d71ad2096..e34f4b4bbd0 100644
--- a/multimedia/mlt/patches/patch-ad
+++ b/multimedia/mlt/patches/patch-ad
@@ -1,6 +1,6 @@
-$NetBSD: patch-ad,v 1.2 2010/10/19 16:41:30 abs Exp $
+$NetBSD: patch-ad,v 1.3 2012/09/01 11:18:54 marino Exp $
-# Add support for NetBSD - match FreeBSD
+# Add support for NetBSD & DragonFly - match FreeBSD
--- src/modules/qimage/configure.orig 2010-09-14 06:00:09.000000000 +0000
+++ src/modules/qimage/configure
@@ -9,7 +9,7 @@ $NetBSD: patch-ad,v 1.2 2010/10/19 16:41:30 abs Exp $
export LIBSUF=.dylib
;;
- Linux|FreeBSD)
-+ Linux|FreeBSD|NetBSD)
++ Linux|FreeBSD|NetBSD|DragonFly)
export LIBSUF=.so
;;
*)
diff --git a/multimedia/mlt/patches/patch-ae b/multimedia/mlt/patches/patch-ae
index 1d9dd1f7f82..988280b0e18 100644
--- a/multimedia/mlt/patches/patch-ae
+++ b/multimedia/mlt/patches/patch-ae
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.2 2010/10/19 16:41:30 abs Exp $
+$NetBSD: patch-ae,v 1.3 2012/09/01 11:18:54 marino Exp $
-# Add support for NetBSD - match FreeBSD
+# Add support for NetBSD & DragonFly - match FreeBSD
--- src/modules/sox/configure.orig 2010-09-14 06:00:09.000000000 +0000
+++ src/modules/sox/configure
@@ -9,7 +9,7 @@ $NetBSD: patch-ae,v 1.2 2010/10/19 16:41:30 abs Exp $
LDD="otool -L"
;;
- Linux|FreeBSD)
-+ Linux|FreeBSD|NetBSD)
++ Linux|FreeBSD|NetBSD|DragonFly)
LDD="ldd"
;;
*)
diff --git a/multimedia/mlt/patches/patch-af b/multimedia/mlt/patches/patch-af
index fe57e293794..ca1a2b16077 100644
--- a/multimedia/mlt/patches/patch-af
+++ b/multimedia/mlt/patches/patch-af
@@ -1,6 +1,7 @@
-$NetBSD: patch-af,v 1.2 2010/10/19 16:41:30 abs Exp $
+$NetBSD: patch-af,v 1.3 2012/09/01 11:18:54 marino Exp $
# Add NetBSD support (same as FreeBSD) and clean up *BSD ifdefs
+# Add DragonFly support (same as FreeBSD)
--- src/modules/kino/endian_types.h.orig 2010-09-14 06:00:09.000000000 +0000
+++ src/modules/kino/endian_types.h
@@ -8,7 +9,7 @@ $NetBSD: patch-af,v 1.2 2010/10/19 16:41:30 abs Exp $
#define _ENDIAN_TYPES_H
/* Needed for BYTE_ORDER and BIG/LITTLE_ENDIAN macros. */
-+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
++#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
#ifndef _BSD_SOURCE
# define _BSD_SOURCE
-#ifndef __FreeBSD__
@@ -25,18 +26,18 @@ $NetBSD: patch-af,v 1.2 2010/10/19 16:41:30 abs Exp $
# include <sys/endian.h>
-#endif /* __FreeBSD__ */
-#endif
-+#endif /* !defined(__FreeBSD__) && !defined(__NetBSD__) */
++#endif /* !defined __FreeBSD__ || __NetBSD__ || __DragonFly__ */
#include <sys/types.h>
-#ifndef __FreeBSD__
-+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
++#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
#include <byteswap.h>
#else
#define bswap_16(x) bswap16(x)
#define bswap_32(x) bswap32(x)
#define bswap_64(x) bswap64(x)
-#endif /* __FreeBSD__ */
-+#endif /* !defined(__FreeBSD__) && !defined(__NetBSD__) */
++#endif /* !defined __FreeBSD__ || __NetBSD__ || __DragonFly__ */
static inline int8_t bswap(const int8_t& x)
{