File 0002-Fix-compilation-on-unknown-archs.patch of Package blosc

From 97227c72cb6108b58bfa704b43324e82d1b86f47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Thu, 7 May 2015 13:24:45 -0400
Subject: [PATCH] Fix compilation on "unknown" archs

---
 blosc/shuffle.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/blosc/shuffle.c b/blosc/shuffle.c
index 0fd97b7cbf..9d02389f35 100644
--- a/blosc/shuffle.c
+++ b/blosc/shuffle.c
@@ -217,6 +217,10 @@ static blosc_cpu_features blosc_get_cpu_features(void) {
   #warning Hardware-acceleration detection not implemented for the target architecture. Only the generic shuffle/unshuffle routines will be available.
   #endif
 
+static blosc_cpu_features blosc_get_cpu_features(void) {
+  return BLOSC_HAVE_NOTHING;
+}
+
 #endif
 
 static shuffle_implementation_t
-- 
2.1.0

openSUSE Build Service is sponsored by