<div dir="ltr"><div><div>Hi Thomas,<br><br></div>Could you provide a patch for this? I do not have a *BSD system to test against<br><br></div>Kind regards,<br><br>Jean-Paul Saman.<br></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Mon, Jan 21, 2013 at 3:58 PM, Thomas Klausner <span dir="ltr"><<a href="mailto:tk@giga.or.at" target="_blank">tk@giga.or.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi!<br>
<br>
I've recently updated the pkgsrc package for libdvbpsi to 1.0.0.<br>
<br>
For this to build, I had to disable the examples directory, in<br>
particular dvbinfo, because its udp.c file assumes that SOL_IP and<br>
SOL_IPV6 are defined in system headers; which they are not on NetBSD.<br>
I don't know what the code should do if they are not defined, so I<br>
couldn't adapt it.<br>
<br>
Please check for SOL_IP* in the configure script and adapt udp.c if<br>
they are missing.<br>
<br>
Another related issue: The code also checks for "#ifndef BSD" before<br>
including netinet/ip.h (in three files). I'm not sure what the point<br>
of this check is -- netinet/ip.h does exist on NetBSD -- but as it is,<br>
it won't work, since no BSD I know of defines a BSD symbol, nor does<br>
the configure script provide it (AFAICT).<br>
<br>
Cheers,<br>
 Thomas<br>
_______________________________________________<br>
libdvbpsi-devel mailing list<br>
<a href="mailto:libdvbpsi-devel@videolan.org">libdvbpsi-devel@videolan.org</a><br>
<a href="http://mailman.videolan.org/listinfo/libdvbpsi-devel" target="_blank">http://mailman.videolan.org/listinfo/libdvbpsi-devel</a><br>
</blockquote></div><br></div>