pkgsrc/devel/librdkafka/patches/patch-src_snappy__compat.h
minskim 36940e615f devel/librdkafka: Update to 1.0.1
Notable changes in 1.0:
- Idempotent producer - guaranteed ordering, exactly-once producing.
- Sparse/on-demand connections - connections are no longer maintained
  to all brokers in the cluster.
- KIP-62 - max.poll.interval.ms for high-level consumers.
2019-07-10 01:31:21 +00:00

15 lines
432 B
C

$NetBSD: patch-src_snappy__compat.h,v 1.2 2019/07/10 01:31:21 minskim Exp $
Add NetBSD support.
--- src/snappy_compat.h.orig 2019-05-28 15:56:28.000000000 +0000
+++ src/snappy_compat.h
@@ -3,7 +3,7 @@
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__NetBSD__)
# include <sys/endian.h>
#elif defined(__APPLE_CC_) || (defined(__MACH__) && defined(__APPLE__)) /* MacOS/X support */
# include <machine/endian.h>