Skip to content
Snippets Groups Projects
Commit 0d0f522e authored by Alexandre Strube's avatar Alexandre Strube
Browse files

libs for libtiff

parent 403c2419
No related branches found
No related tags found
No related merge requests found
easyblock = 'ConfigureMake'
name = 'gzip'
version = '1.12'
homepage = 'https://www.gnu.org/software/gzip/'
description = "gzip (GNU zip) is a popular data compression program as a replacement for compress"
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]
patches = ['gzip-1.12_fix-gnulib-strndup-redeclaration.patch']
checksums = [
'5b4fb14d38314e09f2fc8a1c510e7cd540a3ea0e3eb9b0420046b82c3bf41085', # gzip-1.12.tar.gz
# gzip-1.12_fix-gnulib-strndup-redeclaration.patch
'9c67e3e88848f7ff1f19f29d87f286bac1cc8f027f7eea9bcaf53883b95032e4',
]
builddependencies = [('binutils', '2.38')]
sanity_check_paths = {
'files': ["bin/gunzip", "bin/gzip", "bin/uncompress"],
'dirs': [],
}
sanity_check_commands = [True, ('gzip', '--version')]
moduleclass = 'tools'
Patch taken from:
https://lists.gnu.org/archive/html/bug-gnulib/2022-04/msg00080.html
2022-04-30 Bruno Haible <bruno@clisp.org>
----------------------------------------------
diff --git a/lib/string.in.h b/lib/string.in.h
index b6840fa912..33160b2525 100644
--- a/lib/string.in.h
+++ b/lib/string.in.h
@@ -583,7 +583,7 @@ _GL_FUNCDECL_RPL (strndup, char *,
_GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE);
_GL_CXXALIAS_RPL (strndup, char *, (char const *__s, size_t __n));
# else
-# if !@HAVE_DECL_STRNDUP@ || __GNUC__ >= 11
+# if !@HAVE_DECL_STRNDUP@ || (__GNUC__ >= 11 && !defined strndup)
_GL_FUNCDECL_SYS (strndup, char *,
(char const *__s, size_t __n)
_GL_ARG_NONNULL ((1))
@@ -593,7 +593,7 @@ _GL_CXXALIAS_SYS (strndup, char *, (char const *__s, size_t __n));
# endif
_GL_CXXALIASWARN (strndup);
#else
-# if __GNUC__ >= 11
+# if __GNUC__ >= 11 && !defined strndup
/* For -Wmismatched-dealloc: Associate strndup with free or rpl_free. */
_GL_FUNCDECL_SYS (strndup, char *,
(char const *__s, size_t __n)
easyblock = 'ConfigureMake'
name = 'zstd'
version = '1.5.2'
homepage = 'https://facebook.github.io/zstd'
description = """Zstandard is a real-time compression algorithm, providing high compression ratios.
It offers a very wide range of compression/speed trade-off, while being backed by a very fast decoder.
It also offers a special mode for small data, called dictionary compression, and can create dictionaries
from any sample set."""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
github_account = 'facebook'
source_urls = [GITHUB_SOURCE]
sources = ['v%(version)s.tar.gz']
checksums = ['f7de13462f7a82c29ab865820149e778cbfe01087b3a55b5332707abf9db4a6e']
builddependencies = [
('binutils', '2.38'),
]
dependencies = [
('zlib', '1.2.12'),
('gzip', '1.12'),
('XZ', '5.2.5'),
('lz4', '1.9.3'),
]
skipsteps = ['configure']
runtest = 'check'
installopts = "PREFIX=%(installdir)s"
sanity_check_paths = {
'files': ["bin/zstd", "lib/libzstd.%s" % SHLIB_EXT, "include/zstd.h"],
'dirs': ["lib/pkgconfig"]
}
moduleclass = 'lib'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment