On Thu, Feb 18, 2016 at 12:06 PM Patrick Matthäi <pmatth...@debian.org>
wrote:

> Am 18.02.2016 um 18:27 schrieb Dan Dennedy:
> > Can you test if the following patch makes it work or go farther? I mean
> > I do not exactly have ready access to a debian kfreebsd system. You can
> > try it as a package patch? I did test that it does not cause a problem
> > on my Linux machine.
>
> No success:
>
> https://buildd.debian.org/status/fetch.php?pkg=mlt&arch=kfreebsd-amd64&ver=6.0.0-2&stamp=1455825880
>
>
> According to this page, the addition of that header should make it work on
regular FreeBSD:
http://www.leidinger.net/FreeBSD/dox/netinet/html/d1/d10/in_8h_source.html

However, lacking convenient access to a Debian kFreeBSD system, all I can
suggest is to disable that code based on this info:
https://sourceforge.net/p/predef/wiki/OperatingSystems/

diff --git a/src/modules/plusgpl/consumer_cbrts.c
b/src/modules/plusgpl/consumer_cbrts.c
index 634cb56..a69098c 100644
--- a/src/modules/plusgpl/consumer_cbrts.c
+++ b/src/modules/plusgpl/consumer_cbrts.c
@@ -38,11 +38,14 @@
 #include <strings.h>
 // includes for socket IO
 #if (_POSIX_C_SOURCE >= 1 || _XOPEN_SOURCE || _POSIX_SOURCE) &&
(_POSIX_TIMERS > 0)
+#if !(defined(__FreeBSD_kernel__) && defined(__GLIBC__))
 #define CBRTS_BSD_SOCKETS  1
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netdb.h>
 #include <net/if.h>
+#include <netinet/in.h>
+#endif
 #endif
 #include <sys/time.h>
 #include <time.h>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to