$OpenBSD: patch-libs_config_test_boost_no_inline_memb_init_ipp,v 1.1 2017/05/24 08:30:20 espie Exp $

Index: libs/config/test/boost_no_inline_memb_init.ipp
--- libs/config/test/boost_no_inline_memb_init.ipp.orig
+++ libs/config/test/boost_no_inline_memb_init.ipp
@@ -44,7 +44,7 @@ struct is_int<int>
    static const bool value = true;
 };
 
-#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)))
+#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) || defined(__clang__)
 #  define BOOST_UNUSED_ATTRIBUTE __attribute__((unused))
 #else
 #  define BOOST_UNUSED_ATTRIBUTE
