Merge branch 'collectd-4.10' into collectd-5.0 collectd-5.0
authorFlorian Forster <octo@collectd.org>
Sat, 17 Nov 2012 11:41:00 +0000 (12:41 +0100)
committerFlorian Forster <octo@collectd.org>
Sat, 17 Nov 2012 11:41:00 +0000 (12:41 +0100)
src/network.c

index 1f8fe0a..3f0c6fa 100644 (file)
  */
 #  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 */