BIND 10 trac1155, updated. 7b55eb02488353672fad7160148a40e581cb5c80 [trac1155] changes to make build work in Solaris 10 x86

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Jul 20 19:40:33 UTC 2011


The branch, trac1155 has been updated
       via  7b55eb02488353672fad7160148a40e581cb5c80 (commit)
      from  902ad260c2399b597fe22bba461481a09502b9d5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7b55eb02488353672fad7160148a40e581cb5c80
Author: Dima Volodin <dvv at isc.org>
Date:   Wed Jul 20 15:38:27 2011 -0400

    [trac1155] changes to make build work in Solaris 10 x86

-----------------------------------------------------------------------

Summary of changes:
 configure.ac                      |    2 +-
 ext/asio/asio/impl/error_code.ipp |    2 ++
 src/lib/dns/rrtype-placeholder.h  |    4 ++++
 3 files changed, 7 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 48a79d2..65ca5f9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -266,7 +266,7 @@ AC_SUBST(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG)
 
 # gcc specific settings:
 if test "X$GXX" = "Xyes"; then
-B10_CXXFLAGS="-Wall -Wextra -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare"
+B10_CXXFLAGS="-Wall -Wextra -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wno-missing-braces"
 case "$host" in
 *-solaris*)
 	MULTITHREADING_FLAG=-pthreads
diff --git a/ext/asio/asio/impl/error_code.ipp b/ext/asio/asio/impl/error_code.ipp
index ed37a17..b0566ed 100644
--- a/ext/asio/asio/impl/error_code.ipp
+++ b/ext/asio/asio/impl/error_code.ipp
@@ -11,6 +11,8 @@
 #ifndef ASIO_IMPL_ERROR_CODE_IPP
 #define ASIO_IMPL_ERROR_CODE_IPP
 
+#include <cstring>
+
 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
 # pragma once
 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
diff --git a/src/lib/dns/rrtype-placeholder.h b/src/lib/dns/rrtype-placeholder.h
index 1cb028c..f298acd 100644
--- a/src/lib/dns/rrtype-placeholder.h
+++ b/src/lib/dns/rrtype-placeholder.h
@@ -22,6 +22,10 @@
 
 #include <exceptions/exceptions.h>
 
+#if defined(__sun) && defined(DS)
+# undef DS
+#endif
+
 namespace isc {
 namespace util {
 class InputBuffer;




More information about the bind10-changes mailing list