bacula/0002-Fix-bug-2293-bad-big-endian-detection-in-lz4.c.patch
2017-07-11 09:16:04 +02:00

27 lines
841 B
Diff

From 2e3e5dd3d1e7408b7e58f67a618e6579e5b7d302 Mon Sep 17 00:00:00 2001
From: Kern Sibbald <kern@sibbald.com>
Date: Mon, 10 Jul 2017 19:10:34 +0200
Subject: [PATCH 2/4] Fix bug #2293 bad big endian detection in lz4.c
---
bacula/src/lib/lz4.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bacula/src/lib/lz4.c b/bacula/src/lib/lz4.c
index e04c1345c..2ffb24452 100644
--- a/bacula/src/lib/lz4.c
+++ b/bacula/src/lib/lz4.c
@@ -67,7 +67,8 @@ Note : this source file requires "lz4_encoder.h"
|| defined(__powerpc__) || defined(__ppc__) || defined(__PPC__) \
|| defined(__hpux) || defined(__hppa) \
|| defined(_MIPSEB) || defined(__s390__)
-#error "BIG Endian detected but not set"
+// KES -- the following is not a correct assumption
+//#error "BIG Endian detected but not set"
#endif
#endif
--
2.13.0