summaryrefslogtreecommitdiff
path: root/sys-apps/file/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-20 01:01:31 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-20 01:01:31 +0000
commit5d0c0ffd63620a4db788484bd36ab92b76e7891b (patch)
treeb4204d122504a5c2d3bfdb2cc9f3a5dcf5fe07b2 /sys-apps/file/files
parent60945053af0588a6219a4a6867aace9e7b47faeb (diff)
gentoo auto-resync : 20:11:2022 - 01:01:31
Diffstat (limited to 'sys-apps/file/files')
-rw-r--r--sys-apps/file/files/file-5.43-configure-clang16.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys-apps/file/files/file-5.43-configure-clang16.patch b/sys-apps/file/files/file-5.43-configure-clang16.patch
new file mode 100644
index 000000000000..15fd5b1c4a05
--- /dev/null
+++ b/sys-apps/file/files/file-5.43-configure-clang16.patch
@@ -0,0 +1,20 @@
+https://github.com/file/file/commit/4502517cc7316569d5902ab65c97b3b8e46f8a25
+https://github.com/file/file/commit/8c845b7bbad085678695d3e70467b8eec3dfa7af
+--- a/configure
++++ b/configure
+@@ -14037,13 +14037,14 @@ else $as_nop
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+ #include <time.h>
++#include <stdlib.h>
+ int
+ main (void)
+ {
+ #if !HAVE_DECL_DAYLIGHT
+ extern int daylight;
+ #endif
+-atoi(daylight);
++daylight = atoi("1");
+ ;
+ return 0;
+ }