diff options
author | Sam James <sam@gentoo.org> | 2022-11-22 23:25:22 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-11-22 23:29:57 +0000 |
commit | 01a65258b5d7c0480e0b737d2c7dea9d53ec01b3 (patch) | |
tree | ee419f6c342cefed6542fcf80e5622fbbdafb7ab /app-arch/rzip | |
parent | net-fs/samba: fix miscompile w/ clang 16 (diff) | |
download | gentoo-01a65258b5d7c0480e0b737d2c7dea9d53ec01b3.tar.gz gentoo-01a65258b5d7c0480e0b737d2c7dea9d53ec01b3.tar.bz2 gentoo-01a65258b5d7c0480e0b737d2c7dea9d53ec01b3.zip |
app-arch/rzip: fix configure w/ clang 16
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch/rzip')
-rw-r--r-- | app-arch/rzip/files/rzip-2.1-configure-clang16.patch | 13 | ||||
-rw-r--r-- | app-arch/rzip/rzip-2.1-r5.ebuild (renamed from app-arch/rzip/rzip-2.1-r4.ebuild) | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/app-arch/rzip/files/rzip-2.1-configure-clang16.patch b/app-arch/rzip/files/rzip-2.1-configure-clang16.patch new file mode 100644 index 000000000000..b2749ed45785 --- /dev/null +++ b/app-arch/rzip/files/rzip-2.1-configure-clang16.patch @@ -0,0 +1,13 @@ +See also: https://bugzilla.redhat.com/show_bug.cgi?id=2144458 + +--- a/configure.in ++++ b/configure.in +@@ -36,7 +36,7 @@ AC_CACHE_CHECK([for large file support],rzip_cv_HAVE_LARGE_FILES,[ + AC_TRY_RUN([ + #include <stdio.h> + #include <sys/types.h> +-main() { return (sizeof(off_t) == 4); }], ++int main(void) { return (sizeof(off_t) == 4); }], + rzip_cv_HAVE_LARGE_FILES=yes, + rzip_cv_HAVE_LARGE_FILES=no, + rzip_cv_HAVE_LARGE_FILES=cross)]) diff --git a/app-arch/rzip/rzip-2.1-r4.ebuild b/app-arch/rzip/rzip-2.1-r5.ebuild index 02cf14d9e94b..cf8b6d722684 100644 --- a/app-arch/rzip/rzip-2.1-r4.ebuild +++ b/app-arch/rzip/rzip-2.1-r5.ebuild @@ -19,6 +19,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${PN}-2.1-darwin.patch "${FILESDIR}"/${PN}-2.1-CVE-2017-8364.patch + "${FILESDIR}"/${PN}-2.1-configure-clang16.patch ) src_prepare() { |