pkgsrc-Bugs archive

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

Re: pkg/42102 (pkgsrc fails bootstraping on openbsd amd64)



The following reply was made to PR pkg/42102; it has been noted by GNATS.

From: SM <sm%resistor.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/42102 (pkgsrc fails bootstraping on openbsd amd64)
Date: Fri, 15 Jan 2010 08:04:20 -0800

 The following fix works:
 
 --- files/db/db/db.c.orig       Tue Oct 28 14:01:06 2008
 +++ files/db/db/db.c    Fri Jan 15 10:40:49 2010
 @@ -45,7 +45,7 @@
   #include <nbcompat/db.h>
   static int __dberr(void);
 
 -#ifdef __weak_alias
 +#if defined(__NetBSD__) && defined(__weak_alias)
   __weak_alias(dbopen,_dbopen)
   #endif
 
 
 --- files/db/mpool/mpool.c.orig Tue Oct 28 11:06:26 2008
 +++ files/db/mpool/mpool.c      Fri Jan 15 10:42:58 2010
 @@ -53,7 +53,7 @@
   #define        EFTYPE          EINVAL
   #endif
 
 -#ifdef __weak_alias
 +#if defined(__NetBSD__) && defined(__weak_alias)
   __weak_alias(mpool_close,_mpool_close)
   __weak_alias(mpool_filter,_mpool_filter)
   __weak_alias(mpool_get,_mpool_get)
 


Home | Main Index | Thread Index | Old Index