diff options
author | joerg <joerg@pkgsrc.org> | 2016-08-26 17:23:16 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2016-08-26 17:23:16 +0000 |
commit | 9e5f7010c53b72eb21980684172ec7c05e21e48a (patch) | |
tree | 0b65b0d6d576c89fe1e5f14d31c9ab21aee2e94d /databases/db6/patches | |
parent | 19cf21249802d4ce485c34d3dd02fa531b6707fb (diff) | |
download | pkgsrc-9e5f7010c53b72eb21980684172ec7c05e21e48a.tar.gz |
Defining a store macro and using <atomic> are mutally conflicting. So
avoid the former for C++.
Diffstat (limited to 'databases/db6/patches')
-rw-r--r-- | databases/db6/patches/patch-src_dbinc_db.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/databases/db6/patches/patch-src_dbinc_db.in b/databases/db6/patches/patch-src_dbinc_db.in new file mode 100644 index 00000000000..f7b3b6fd9ed --- /dev/null +++ b/databases/db6/patches/patch-src_dbinc_db.in @@ -0,0 +1,14 @@ +$NetBSD: patch-src_dbinc_db.in,v 1.1 2016/08/26 17:23:16 joerg Exp $ + +--- src/dbinc/db.in.orig 2015-06-18 20:05:04.000000000 +0000 ++++ src/dbinc/db.in +@@ -2888,7 +2888,9 @@ typedef struct { + #define fetch(a) __db_dbm_fetch@DB_VERSION_UNIQUE_NAME@(a) + #define firstkey __db_dbm_firstkey@DB_VERSION_UNIQUE_NAME@ + #define nextkey(a) __db_dbm_nextkey@DB_VERSION_UNIQUE_NAME@(a) ++#if !defined(__cplusplus) + #define store(a, b) __db_dbm_store@DB_VERSION_UNIQUE_NAME@(a, b) ++#endif + + /******************************************************* + * Hsearch historic interface. |