- Update to new upstream release 1.8.0

OBS-URL: https://build.opensuse.org/package/show/Archiving/lz4?expand=0&rev=31
This commit is contained in:
2017-08-25 14:19:22 +00:00
committed by Git OBS Bridge
parent bc07f88d2e
commit ac939cb9f0
6 changed files with 69 additions and 30 deletions

21
lz-export.diff Normal file
View File

@@ -0,0 +1,21 @@
[ 9s] bench.o: In function `BMK_benchMem':
[ 9s] /home/abuild/rpmbuild/BUILD/lz4-1.8.0/programs/bench.c:221: undefined reference to `LZ4_XXH64'
---
lib/xxhash.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: lz4-1.8.0/lib/xxhash.h
===================================================================
--- lz4-1.8.0.orig/lib/xxhash.h
+++ lz4-1.8.0/lib/xxhash.h
@@ -105,7 +105,7 @@ typedef enum { XXH_OK=0, XXH_ERROR } XXH
# define XXH_PUBLIC_API static /* this version may generate warnings for unused static functions; disable the relevant warning */
# endif
#else
-# define XXH_PUBLIC_API /* do nothing */
+# define XXH_PUBLIC_API __attribute__((visibility("default"))) /* do nothing */
#endif /* XXH_PRIVATE_API */
/*!XXH_NAMESPACE, aka Namespace Emulation :