openbsd-ports/audio/pianobar/patches/patch-src_libpiano_crypt_h
dcoppa f0928ceec0 Properly initialize libgcrypt
(upstream git commit 96db841a16670b52fa462337c657c6dc6bd2844a)

Work around libgcrypt deprecation warnings. See:
http://lists.gnupg.org/pipermail/gcrypt-devel/2011-July/001830.html
2012-07-06 08:32:13 +00:00

18 lines
598 B
Plaintext

$OpenBSD: patch-src_libpiano_crypt_h,v 1.1 2012/07/06 08:32:13 dcoppa Exp $
Work around libgcrypt deprecation warnings. See:
http://lists.gnupg.org/pipermail/gcrypt-devel/2011-July/001830.html
--- src/libpiano/crypt.h.orig Fri Jul 6 10:09:47 2012
+++ src/libpiano/crypt.h Fri Jul 6 10:10:52 2012
@@ -24,7 +24,9 @@ THE SOFTWARE.
#ifndef _CRYPH_H
#define _CRYPT_H
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include <gcrypt.h>
+#pragma GCC diagnostic warning "-Wdeprecated-declarations"
char *PianoDecryptString (gcry_cipher_hd_t, const char * const,
size_t * const);