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/files/rzip-2.1-configure-clang16.patch | |
| parent | 8695c99fe33a6b0fabe942ce630fc5d7c71d8b32 (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/files/rzip-2.1-configure-clang16.patch')
| -rw-r--r-- | app-arch/rzip/files/rzip-2.1-configure-clang16.patch | 13 |
1 files changed, 13 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)]) |
