mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 15:51:51 -04:00
Enable DBM API. [1] Reorder license information of db5/Makefile to fix portlint warning. [1] Bump PORTREVISON. [1] Add command creating symbolic link such as ${PREFIX}/lib/libdb-6.so to post-install target of db6/Makefile. [1] Instead of USE_GCC, patch src/dbinc/db.in to not expose the store() macro under C++. Mark db6 broken on MIPS64 for now, we do not have a workable MUTEX implementation. Unbreak build on AARCH64, where the db6 autoconfiguration chooses the wrong MUTEX. PR: 230191 Submitted by: Yasuhiro Kimura
15 lines
672 B
Text
15 lines
672 B
Text
--- src/dbinc/db.in.orig 2013-09-09 15:35:08 UTC
|
|
+++ src/dbinc/db.in
|
|
@@ -2778,11 +2778,11 @@ typedef struct {
|
|
#define dbmclose __db_dbm_close@DB_VERSION_UNIQUE_NAME@
|
|
#if !defined(__cplusplus)
|
|
#define delete(a) __db_dbm_delete@DB_VERSION_UNIQUE_NAME@(a)
|
|
+#define store(a, b) __db_dbm_store@DB_VERSION_UNIQUE_NAME@(a, b)
|
|
#endif
|
|
#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)
|
|
-#define store(a, b) __db_dbm_store@DB_VERSION_UNIQUE_NAME@(a, b)
|
|
|
|
/*******************************************************
|
|
* Hsearch historic interface.
|