gcc-3.3.5 workaround: g++ doesn't understand attributes on enums.

Bump PKGNAME.
ok naddy@ espie@
This commit is contained in:
grange 2009-01-07 17:56:40 +00:00
parent e5e123db33
commit a2ac440ac9
2 changed files with 15 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.14 2008/10/26 10:39:27 landry Exp $
# $OpenBSD: Makefile,v 1.15 2009/01/07 17:56:40 grange Exp $
COMMENT= crypto library based on code used in GnuPG
DISTNAME= libgcrypt-1.4.3
PKGNAME= ${DISTNAME}p0
CATEGORIES= security
SHARED_LIBS= gcrypt 14.0

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_gcrypt_h_in,v 1.1 2009/01/07 17:56:40 grange Exp $
gcc-3.3.5 workaround: g++ doesn't understand attributes on enums.
--- src/gcrypt.h.in.orig Wed Jan 7 20:42:00 2009
+++ src/gcrypt.h.in Wed Jan 7 20:42:37 2009
@@ -175,7 +175,7 @@ gcry_err_code_t gcry_error_from_errno (int err);
enum gcry_thread_option
{
_GCRY_THREAD_OPTION_DUMMY
- } _GCRY_GCC_ATTR_DEPRECATED;
+ };
/* Constants defining the thread model to use. Used with the OPTION