extend the existing ifdef that decides whether or not to use tr1 path/namespace
so that this has a chance with clang/libc++ arch remove unneeded quotes from BROKEN lines in Makefile that make my eyes bleed with syntax highlighting
This commit is contained in:
parent
63ba77727a
commit
5af47e06ec
@ -1,7 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2017/04/10 11:45:24 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2017/04/16 20:27:48 sthen Exp $
|
||||
|
||||
BROKEN-hppa= undefined reference to `__sync_fetch_and_add_8'
|
||||
BROKEN-powerpc= undefined reference to `__sync_fetch_and_add_8'
|
||||
BROKEN-hppa= undefined reference to __sync_fetch_and_add_8
|
||||
BROKEN-powerpc= undefined reference to __sync_fetch_and_add_8
|
||||
|
||||
# requires C++ tr1 headers
|
||||
NOT_FOR_ARCHS= ${GCC3_ARCHS}
|
||||
|
12
databases/kyotocabinet/patches/patch-kccommon_h
Normal file
12
databases/kyotocabinet/patches/patch-kccommon_h
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-kccommon_h,v 1.1 2017/04/16 20:27:48 sthen Exp $
|
||||
--- kccommon.h.orig Sun Apr 16 21:20:37 2017
|
||||
+++ kccommon.h Sun Apr 16 21:20:22 2017
|
||||
@@ -82,7 +82,7 @@ using ::modfl;
|
||||
using ::snprintf;
|
||||
}
|
||||
|
||||
-#if __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__) || defined(_MSC_VER)
|
||||
+#if __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__) || defined(_MSC_VER) || defined(__clang__)
|
||||
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
Loading…
Reference in New Issue
Block a user