summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/asa/files/asa-1.1-implicit-int.patch')
-rw-r--r--app-text/asa/files/asa-1.1-implicit-int.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-text/asa/files/asa-1.1-implicit-int.patch b/app-text/asa/files/asa-1.1-implicit-int.patch
new file mode 100644
index 000000000000..2f130912abaa
--- /dev/null
+++ b/app-text/asa/files/asa-1.1-implicit-int.patch
@@ -0,0 +1,15 @@
+Fix build with -Werror=implicit-int
+
+https://bugs.gentoo.org/880999
+
+--- a/asa.c
++++ b/asa.c
+@@ -201,7 +201,7 @@
+ copy_file(FILE *fp)
+ {
+ str line;
+- static first_line = 1;
++ static int first_line = 1;
+
+ while ((line.len=readline(fp, &(line.chr))))
+ {