18 lines
579 B
Plaintext
18 lines
579 B
Plaintext
$OpenBSD: patch-src_libpiano_crypt_c,v 1.6 2012/12/05 12:20:43 dcoppa Exp $
|
|
|
|
Work around libgcrypt deprecation warnings. See:
|
|
http://lists.gnupg.org/pipermail/gcrypt-devel/2011-July/001830.html
|
|
|
|
--- src/libpiano/crypt.c.orig Fri Sep 7 16:44:39 2012
|
|
+++ src/libpiano/crypt.c Sun Sep 23 12:11:36 2012
|
|
@@ -23,7 +23,9 @@ THE SOFTWARE.
|
|
|
|
#include <string.h>
|
|
#include <assert.h>
|
|
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
#include <gcrypt.h>
|
|
+#pragma GCC diagnostic warning "-Wdeprecated-declarations"
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|