pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files/db Kill __weak_alias, it br...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f00b4b7b0f1a
branches:  trunk
changeset: 570048:f00b4b7b0f1a
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Jan 24 12:29:48 2010 +0000

description:
Kill __weak_alias, it break build on OpenBSD as reported in PR#42102.

diffstat:

 pkgtools/libnbcompat/files/db/db/db.c       |  6 ++++--
 pkgtools/libnbcompat/files/db/mpool/mpool.c |  6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (64 lines):

diff -r 031308480b50 -r f00b4b7b0f1a pkgtools/libnbcompat/files/db/db/db.c
--- a/pkgtools/libnbcompat/files/db/db/db.c     Sun Jan 24 08:52:01 2010 +0000
+++ b/pkgtools/libnbcompat/files/db/db/db.c     Sun Jan 24 12:29:48 2010 +0000
@@ -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 @@
 #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 -r 031308480b50 -r f00b4b7b0f1a pkgtools/libnbcompat/files/db/mpool/mpool.c
--- a/pkgtools/libnbcompat/files/db/mpool/mpool.c       Sun Jan 24 08:52:01 2010 +0000
+++ b/pkgtools/libnbcompat/files/db/mpool/mpool.c       Sun Jan 24 12:29:48 2010 +0000
@@ -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 @@
 #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_put,_mpool_put)
 __weak_alias(mpool_sync,_mpool_sync)
 #endif
+#endif
 
 static BKT *mpool_bkt(MPOOL *);
 static BKT *mpool_look(MPOOL *, pgno_t);



Home | Main Index | Thread Index | Old Index