[Pdns-dev] openbsd patches
Peter van Dijk
peter.van.dijk at netherlabs.nl
Wed Nov 2 13:02:07 CET 2011
Both patches applied in r2288. Thanks!
Begin forwarded message:
> From: Brad <brad at comstyle.com>
> Subject: [Pdns-dev] [PATCH] Update dns.hh header to use OpenBSD's endian header.
> Date: October 21, 2011 14:48:15 GMT+02:00
> To: pdns-dev at mailman.powerdns.com
>
> Add OpenBSD here to make use of the endian header.
>
>
> Index: pdns/dns.hh
> ===================================================================
> --- pdns/dns.hh (revision 2283)
> +++ pdns/dns.hh (working copy)
> @@ -192,7 +192,7 @@
> #ifdef WIN32
> #define BYTE_ORDER 1
> #define LITTLE_ENDIAN 1
> -#elif __FreeBSD__ || __APPLE__
> +#elif __FreeBSD__ || __APPLE__ || __OpenBSD__
> #include <machine/endian.h>
> #elif __linux__
> # include <endian.h>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> Pdns-dev mailing list
> Pdns-dev at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-dev
Begin forwarded message:
> From: Brad <brad at comstyle.com>
> Subject: [Pdns-dev] [PATCH] Fix autoconf script for OpenBSD.
> Date: October 21, 2011 14:45:04 GMT+02:00
> To: pdns-dev at mailman.powerdns.com
>
> Rip out this bogus section in the switch case dealing with OpenBSD.
> The default fallback case below this deals with OpenBSD properly.
> OpenBSD has been using -pthread for linking POSIX threads for 9
> years now.
>
>
> Index: configure.ac
> ===================================================================
> --- configure.ac (revision 2283)
> +++ configure.ac (working copy)
> @@ -122,12 +122,6 @@
> THREADFLAGS="-pthread"
> CXXFLAGS="-D_GNU_SOURCE $CXXFLAGS"
> ;;
> -openbsd*)
> - AC_DEFINE(HAVE_IPV6,1,[If the host operating system understands IPv6])
> - DYNLINKFLAGS="-rdynamic"
> - LDFLAGS="-lc_r $LDFLAGS"
> - CXXFLAGS="-pthread $CXXFLAGS"
> - ;;
> *)
> AC_DEFINE(HAVE_IPV6,1,[If the host operating system understands IPv6])
> DYNLINKFLAGS="-rdynamic"
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> Pdns-dev mailing list
> Pdns-dev at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-dev
More information about the Pdns-dev
mailing list