diff options
author | avilla <avilla@FreeBSD.org> | 2011-12-21 06:41:20 +0800 |
---|---|---|
committer | avilla <avilla@FreeBSD.org> | 2011-12-21 06:41:20 +0800 |
commit | ff3bf1d75eae9eb323f447301df7a0504d67a530 (patch) | |
tree | f7c2097f7efda4b9795a81e65291c3d1ee76fe1f /multimedia | |
parent | 25c0c775939f5e4e43d815127927a5d48a62391e (diff) | |
download | freebsd-ports-gnome-ff3bf1d75eae9eb323f447301df7a0504d67a530.tar.gz freebsd-ports-gnome-ff3bf1d75eae9eb323f447301df7a0504d67a530.tar.zst freebsd-ports-gnome-ff3bf1d75eae9eb323f447301df7a0504d67a530.zip |
- Fix build on FreeBSD 10-CURRENT.
Submitted by: glebius via e-mail
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mlt/files/patch-src__framework__mlt_property.h | 15 |
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; |