summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2017-01-08 18:45:59 +0100
committerUlrich Müller <ulm@gentoo.org>2017-01-08 18:45:59 +0100
commit2a3bea69c7abcaf29a587df887d7d78e43cb8cc4 (patch)
treea486535188bfec05b30d97c2be0d8f2c20fffe36 /dev-lang/c-intercal/files
parentdev-lang/c-intercal: Remove old. (diff)
downloadgentoo-2a3bea69c7abcaf29a587df887d7d78e43cb8cc4.tar.gz
gentoo-2a3bea69c7abcaf29a587df887d7d78e43cb8cc4.tar.bz2
gentoo-2a3bea69c7abcaf29a587df887d7d78e43cb8cc4.zip
dev-lang/c-intercal: Workaround for flex-2.6.3.
Also add missing build-time dependencies on sys-devel/flex and virtual/yacc. Bug: 604848 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-lang/c-intercal/files')
-rw-r--r--dev-lang/c-intercal/files/c-intercal-30.0-yywrap.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-lang/c-intercal/files/c-intercal-30.0-yywrap.patch b/dev-lang/c-intercal/files/c-intercal-30.0-yywrap.patch
new file mode 100644
index 000000000000..9d46a91beceb
--- /dev/null
+++ b/dev-lang/c-intercal/files/c-intercal-30.0-yywrap.patch
@@ -0,0 +1,17 @@
+https://bugs.gentoo.org/604848
+
+--- intercal-0.30-orig/src/lexer.l
++++ intercal-0.30/src/lexer.l
+@@ -38,12 +38,10 @@
+ /*#undef wchar_t*/
+ /*#define wchar_t unsigned char*/
+
+-#ifndef yywrap
+ static int yywrap(void)
+ {
+ return 1;
+ }
+-#endif /* yywrap */
+
+ int iyylineno = 1;
+