Re: dillo plugin patches

Rodrigo Arias <[email protected]> Sat, 1 Nov 2025 21:20:39 +0100
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
Hi,

>I'll try and backtrace, I never did that before, I usually
>throw printfs all over the place.  But ...
>
>the version from
>    git clone https://git.dillo-browser.org/plugins/gopher
>
>is working after I added this <sys/socket.h> to io.c to
>compile it.

Should be there:

https://git.dillo-browser.org/plugins/gopher/tree/io.c?h=fix-bsd#n10

Make sure you use the "fix-bsd" branch (currently at a32f745):

   % git clone -b fix-bsd https://git.dillo-browser.org/plugins/gopher
   Cloning into 'gopher'...
   % cd gopher
   % git branch -v
   * fix-bsd a32f745 Build with C99 standard and POSIX 2001
   % grep sys/socket io.c
   #include <sys/socket.h>

>I also checked the original version, that works now, very
>odd.  I will play around with this to see if I could figure
>out what I may have done differently.

Thanks!

>After I added this <sys/socket.h> to io.c I can compile it
>on OpenBSD.
>
>I attached the warnings to this email as warn_openbsd.txt in
>case you want it.  I think many of the warnings can be
>ignored.
>
>NetBSD has no warnings and it too works fine.

All those warnings should be fixed in the fix-bsd branch. Additional 
problems may be caught by the new CFLAGS flags that stick to the C99 
standard (no GNUsisms) and POSIX 2001.

Best,
Rodrigo.
_______________________________________________
Dillo-dev mailing list -- dillo-dev-lx9mn2B4QYRWk0Htik3J/[email protected]
To unsubscribe send an email to dillo-dev-leave-lx9mn2B4QYRWk0Htik3J/[email protected]