$NetBSD: patch-aa,v 1.9 2007/01/24 15:58:04 tron Exp $ --- includes/gnutls/gnutlsxx.h.orig 2006-08-07 13:40:23.000000000 +0100 +++ includes/gnutls/gnutlsxx.h 2007-01-24 11:29:43.000000000 +0000 @@ -233,7 +233,14 @@ { public: credentials(gnutls_credentials_type_t t); +#if defined(__APPLE__) || defined(__MACOS__) + credentials( credentials& c) { + type = c.type; + set_ptr( c.ptr()); + } +#else credentials( credentials& c); +#endif virtual ~credentials() { } gnutls_credentials_type_t get_type() const; protected: