Hi Dan and list! I'm attaching some patches to improve FreeBSD support.
patch-src__framework__mlt_property.h: xlocale was backported to 9-STABLE. patch-src__modules__kdenlive__Makefile: it is needed to make src/framework/mlt_property.h include sys/param.h and define __FreeBSD_version while building the Kdenlive module (so that xlocale.h is correctly included, when available). It may be better to add HAVE_SYS_PARAM_H to CFLAGS in global config.mk, maybe (that would allow to remove lines 21-25 from src/framework/Makefile, too). patch-src__modules__linsys__Makefile: you don't want to commit this, as it's very FreeBSD-specific, but maybe adding a configure option (or something similar to what is in src/modules/frei0r/configure) to detect libjpeg directory would be a good idea. patch-configure-cc: FreeBSD can be installed without GCC (we're moving to Clang), thus some tests fail as they have "gcc" hardcoded. The patch offers a cross-platform way to define an alternative compiler for the tests. You might want to implement it differently, but it's your choice. Let me know if there is any problem. Thank you! -- Alberto Villa, FreeBSD committer <[email protected]> http://people.FreeBSD.org/~avilla
--- ./src/framework/mlt_property.h.orig 2012-06-01 22:51:32.000000000 +0200 +++ ./src/framework/mlt_property.h 2012-06-12 03:54:31.992557693 +0200 @@ -30,7 +30,7 @@ #include <sys/param.h> #endif -#if defined(__GLIBC__) || defined(__DARWIN__) || (__FreeBSD_version >= 1000002) +#if defined(__GLIBC__) || defined(__DARWIN__) || (__FreeBSD_version >= 900506) #include <xlocale.h> #else typedef void* locale_t;
patch-src__modules__kdenlive__Makefile
Description: Binary data
patch-src__modules__linsys__Makefile
Description: Binary data
patch-configure-cc
Description: Binary data
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Mlt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mlt-devel
