diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-28 02:11:45 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-28 02:11:45 +0000 |
commit | af929819f9adfd95dd0e667ce1fc598c65d63a4c (patch) | |
tree | c715eb1a652fbd07711bcb47e94c7d4168cd09e5 /sys-apps/file/files | |
parent | e44b9cf3e5b67eaf723e4a335faf39c87167abd3 (diff) |
gentoo auto-resync : 28:12:2022 - 02:11:45
Diffstat (limited to 'sys-apps/file/files')
-rw-r--r-- | sys-apps/file/files/file-5.44-limits-solaris.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-apps/file/files/file-5.44-limits-solaris.patch b/sys-apps/file/files/file-5.44-limits-solaris.patch new file mode 100644 index 000000000000..7a04535577b4 --- /dev/null +++ b/sys-apps/file/files/file-5.44-limits-solaris.patch @@ -0,0 +1,19 @@ +softmagic: include limits.h for UINT_MAX usage + +Platforms like Solaris need this to compile. + +Bug: https://bugs.astron.com/view.php?id=413 +Signed-off-by: Fabian Groffen <grobian@gentoo.org> + +--- a/src/softmagic.c ++++ b/src/softmagic.c +@@ -42,6 +42,7 @@ + #include <ctype.h> + #include <stdlib.h> + #include <time.h> ++#include <limits.h> + #include "der.h" + + file_private int match(struct magic_set *, struct magic *, file_regex_t **, size_t, + + |