summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 05fb05d)
raw | patch | inline | side by side (parent: 05fb05d)
author | Ed Schouten <ed@80386.nl> | |
Sat, 17 Nov 2012 09:44:48 +0000 (10:44 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 17 Nov 2012 11:42:48 +0000 (12:42 +0100) |
As with src/network.c, we need to ensure that we define
GCRYPT_NO_DEPRECATED on FreeBSD to get rid of the compiler warnings
emitted by the header file.
Signed-off-by: Florian Forster <octo@collectd.org>
GCRYPT_NO_DEPRECATED on FreeBSD to get rid of the compiler warnings
emitted by the header file.
Signed-off-by: Florian Forster <octo@collectd.org>
src/libcollectdclient/network_buffer.c | patch | blob | history |
index 5553d82629bc08974cf27c3a72e7fd0cc39a553b..0b34e1f49c25e53ebd060227dcac15982140ef46 100644 (file)
*/
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
# endif
*/
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
# endif
+/* FreeBSD's copy of libgcrypt extends the existing GCRYPT_NO_DEPRECATED
+ * to properly hide all deprecated functionality.
+ * http://svnweb.freebsd.org/ports/head/security/libgcrypt/files/patch-src__gcrypt.h.in
+ */
+# define GCRYPT_NO_DEPRECATED
# include <gcrypt.h>
# if defined __APPLE__
/* Re enable deprecation warnings */
# include <gcrypt.h>
# if defined __APPLE__
/* Re enable deprecation warnings */