On Thu, Feb 18, 2016 at 3:55 AM Patrick Matthäi <pmatth...@debian.org>
wrote:
> Hi,
>
> mlt fails to build with gcc 5.3 on kfreebsd-{i386,amd64} now:
>
> cc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
> -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
> -ffast-math -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread
> -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
> -ffast-math -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread
> -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts
> -fno-tree-pre -ffast-math -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -fPIC -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -c -o consumer_cbrts.o
> consumer_cbrts.c
> consumer_cbrts.c: In function 'create_socket':
> consumer_cbrts.c:582:12: error: variable 'req' has initializer but incomplete
> type
> struct ip_mreqn req = {{0}};
>
>
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.
diff --git a/src/modules/plusgpl/consumer_cbrts.c
b/src/modules/plusgpl/consumer_cbrts.c
index 634cb56..563a7f9 100644
--- a/src/modules/plusgpl/consumer_cbrts.c
+++ b/src/modules/plusgpl/consumer_cbrts.c
@@ -43,6 +43,7 @@
#include <sys/socket.h>
#include <netdb.h>
#include <net/if.h>
+#include <netinet/in.h>
#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