- 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:
21
lz-export.diff
Normal file
21
lz-export.diff
Normal 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 :
|
Reference in New Issue
Block a user