diff options
author | obache <obache> | 2010-01-24 12:29:48 +0000 |
---|---|---|
committer | obache <obache> | 2010-01-24 12:29:48 +0000 |
commit | 739f29b3e9dd2419be219d17c9e64e9fc2eba532 (patch) | |
tree | b1636495c8672bb8eab1558a61303829e4d0cb4b /pkgtools | |
parent | abfe75259241027754f5a9f29d924d8e642a6099 (diff) | |
download | pkgsrc-739f29b3e9dd2419be219d17c9e64e9fc2eba532.tar.gz |
Kill __weak_alias, it break build on OpenBSD as reported in PR#42102.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/libnbcompat/files/db/db/db.c | 6 | ||||
-rw-r--r-- | pkgtools/libnbcompat/files/db/mpool/mpool.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/pkgtools/libnbcompat/files/db/db/db.c b/pkgtools/libnbcompat/files/db/db/db.c index 8eaf24cd066..7a83a2cd45f 100644 --- a/pkgtools/libnbcompat/files/db/db/db.c +++ b/pkgtools/libnbcompat/files/db/db/db.c @@ -1,4 +1,4 @@ -/* $NetBSD: db.c,v 1.2 2008/10/28 18:01:06 joerg Exp $ */ +/* $NetBSD: db.c,v 1.3 2010/01/24 12:29:48 obache Exp $ */ /* NetBSD: db.c,v 1.16 2008/09/11 12:58:00 joerg Exp */ /*- @@ -33,7 +33,7 @@ #include <nbcompat.h> #include <nbcompat/cdefs.h> -__RCSID("$NetBSD: db.c,v 1.2 2008/10/28 18:01:06 joerg Exp $"); +__RCSID("$NetBSD: db.c,v 1.3 2010/01/24 12:29:48 obache Exp $"); #include <sys/types.h> @@ -45,9 +45,11 @@ __RCSID("$NetBSD: db.c,v 1.2 2008/10/28 18:01:06 joerg Exp $"); #include <nbcompat/db.h> static int __dberr(void); +#if 0 #ifdef __weak_alias __weak_alias(dbopen,_dbopen) #endif +#endif DB * dbopen(const char *fname, int flags, mode_t mode, DBTYPE type, diff --git a/pkgtools/libnbcompat/files/db/mpool/mpool.c b/pkgtools/libnbcompat/files/db/mpool/mpool.c index 290e0d988c1..4154ae053a1 100644 --- a/pkgtools/libnbcompat/files/db/mpool/mpool.c +++ b/pkgtools/libnbcompat/files/db/mpool/mpool.c @@ -1,4 +1,4 @@ -/* $NetBSD: mpool.c,v 1.3 2008/10/28 15:06:26 joerg Exp $ */ +/* $NetBSD: mpool.c,v 1.4 2010/01/24 12:29:48 obache Exp $ */ /* NetBSD: mpool.c,v 1.18 2008/09/11 12:58:00 joerg Exp */ /*- @@ -33,7 +33,7 @@ #include <nbcompat.h> #include <nbcompat/cdefs.h> -__RCSID("$NetBSD: mpool.c,v 1.3 2008/10/28 15:06:26 joerg Exp $"); +__RCSID("$NetBSD: mpool.c,v 1.4 2010/01/24 12:29:48 obache Exp $"); #include <nbcompat/queue.h> #include <sys/stat.h> @@ -53,6 +53,7 @@ __RCSID("$NetBSD: mpool.c,v 1.3 2008/10/28 15:06:26 joerg Exp $"); #define EFTYPE EINVAL #endif +#if 0 #ifdef __weak_alias __weak_alias(mpool_close,_mpool_close) __weak_alias(mpool_filter,_mpool_filter) @@ -62,6 +63,7 @@ __weak_alias(mpool_open,_mpool_open) __weak_alias(mpool_put,_mpool_put) __weak_alias(mpool_sync,_mpool_sync) #endif +#endif static BKT *mpool_bkt(MPOOL *); static BKT *mpool_look(MPOOL *, pgno_t); |