diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-18 05:18:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-18 05:18:37 +0100 |
commit | 95a97c3f0b0d048aaf9e183702a1d06b30415b35 (patch) | |
tree | 7f438978df863816967d0e1d3d8ee7ab5e3f12ce /app-text/expander/files | |
parent | a0d1bdbd841fa761e38f468e1009cd058af305fd (diff) |
gentoo auto-resync : 18:09:2022 - 05:18:37
Diffstat (limited to 'app-text/expander/files')
-rw-r--r-- | app-text/expander/files/expander-2.05-clang15.patch | 60 | ||||
-rw-r--r-- | app-text/expander/files/expander-2.05-gentoo.patch (renamed from app-text/expander/files/expander-2.0.5-gentoo.patch) | 0 |
2 files changed, 60 insertions, 0 deletions
diff --git a/app-text/expander/files/expander-2.05-clang15.patch b/app-text/expander/files/expander-2.05-clang15.patch new file mode 100644 index 000000000000..a7ae9bed3ddf --- /dev/null +++ b/app-text/expander/files/expander-2.05-clang15.patch @@ -0,0 +1,60 @@ +https://bugs.gentoo.org/870898 +--- a/src/align_columns.c ++++ b/src/align_columns.c +@@ -28,6 +28,7 @@ + #include <string.h> + #include <stdlib.h> + #include <ctype.h> ++#include <unistd.h> + + /*============================================================================*/ + /* SYMBOL DEFINITIONS */ +--- a/src/align_comments.c ++++ b/src/align_comments.c +@@ -28,6 +28,7 @@ + #include <string.h> + #include <stdlib.h> + #include <ctype.h> ++#include <unistd.h> + + /*===========================================================================*/ + /* SYMBOL DEFINITIONS */ +--- a/src/boxcomment.c ++++ b/src/boxcomment.c +@@ -59,6 +59,7 @@ + #include <stdio.h> + #include <string.h> + #include <stdlib.h> ++#include <unistd.h> + + /*============================================================================*/ + /* SYMBOL DEFINITIONS */ +--- a/src/expander.c ++++ b/src/expander.c +@@ -114,6 +114,7 @@ + #include <string.h> + #include <time.h> + #include <ctype.h> ++#include <unistd.h> + + /*==========================================================================*/ + /* MACRO DEFINITIONS */ +@@ -1264,7 +1265,7 @@ bool_t locate_definition( + bool_t ignore_definition = FALSE; + int i; + char line[ MAXBUF ]; +- static level = 0; ++ static int level = 0; + + /*--------------------- + * Recursion protection. +--- a/src/where_is.c ++++ b/src/where_is.c +@@ -54,6 +54,7 @@ + #include <stdlib.h> + #include <sys/types.h> + #include <sys/stat.h> ++#include <unistd.h> + + typedef int bool_t; + diff --git a/app-text/expander/files/expander-2.0.5-gentoo.patch b/app-text/expander/files/expander-2.05-gentoo.patch index 460a8164cee5..460a8164cee5 100644 --- a/app-text/expander/files/expander-2.0.5-gentoo.patch +++ b/app-text/expander/files/expander-2.05-gentoo.patch |