aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mlt
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2011-12-21 06:41:20 +0800
committerAlberto Villa <avilla@FreeBSD.org>2011-12-21 06:41:20 +0800
commit28f2da8714b991dfdc165bd7e4e269b630de51c2 (patch)
treee353c937403a2cdc76fd801682d83907fc753748 /multimedia/mlt
parent1d0a070fa063df40262088cbc9b3c1095978bd2b (diff)
downloadfreebsd-ports-gnome-28f2da8714b991dfdc165bd7e4e269b630de51c2.tar.gz
freebsd-ports-gnome-28f2da8714b991dfdc165bd7e4e269b630de51c2.tar.zst
freebsd-ports-gnome-28f2da8714b991dfdc165bd7e4e269b630de51c2.zip
- Fix build on FreeBSD 10-CURRENT.
Submitted by: glebius via e-mail
Diffstat (limited to 'multimedia/mlt')
-rw-r--r--multimedia/mlt/files/patch-src__framework__mlt_property.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/multimedia/mlt/files/patch-src__framework__mlt_property.h b/multimedia/mlt/files/patch-src__framework__mlt_property.h
new file mode 100644
index 000000000000..2fefc8700b87
--- /dev/null
+++ b/multimedia/mlt/files/patch-src__framework__mlt_property.h
@@ -0,0 +1,15 @@
+--- src/framework/mlt_property.h.orig 2011-10-31 21:26:04.000000000 +0400
++++ src/framework/mlt_property.h 2011-12-12 22:55:02.000000000 +0400
+@@ -26,7 +26,11 @@
+
+ #include "mlt_types.h"
+
+-#if defined(__GLIBC__) || defined(__DARWIN__)
++#ifdef __FreeBSD__
++#include <sys/param.h>
++#endif
++
++#if defined(__GLIBC__) || defined(__DARWIN__) || (__FreeBSD_version >= 1000002)
+ #include <xlocale.h>
+ #else
+ typedef void* locale_t;