diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-31 03:04:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-31 03:04:34 +0000 |
commit | 7785404bd292918a4afd4780ccfc36d6626a49ca (patch) | |
tree | f20efc4a5e07261ddffa4c95f429a7facf18cd05 /net-libs/libsmi/files | |
parent | 34956175e774668656885552a9c94abab557e41c (diff) |
gentoo auto-resync : 31:10:2022 - 03:04:34
Diffstat (limited to 'net-libs/libsmi/files')
-rw-r--r-- | net-libs/libsmi/files/libsmi-0.5.0-fix-macro-clang16.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net-libs/libsmi/files/libsmi-0.5.0-fix-macro-clang16.patch b/net-libs/libsmi/files/libsmi-0.5.0-fix-macro-clang16.patch new file mode 100644 index 000000000000..0ffe6dd92606 --- /dev/null +++ b/net-libs/libsmi/files/libsmi-0.5.0-fix-macro-clang16.patch @@ -0,0 +1,16 @@ +stdio needed for sscanf(), stdlib is included by smi.h but let's include it +anyway for exit(). +--- a/libsmi.m4 ++++ b/libsmi.m4 +@@ -12,7 +12,10 @@ AC_DEFUN([AM_PATH_LIBSMI], + AC_MSG_CHECKING([whether to enable libsmi]) + AC_TRY_RUN([ /* libsmi available check */ + #include <smi.h> +-main() ++#include <stdlib.h> ++#include <stdio.h> ++#include <string.h> ++int main(void) + { + int current, revision, age, n; + const int required = 2; |