* [gentoo-commits] gentoo-x86 commit in app-emulation/dosemu/files: dosemu-1.4.1_pre20091009-flex.patch
@ 2013-06-11 19:40 Sergei Trofimovich (slyfox)
0 siblings, 0 replies; only message in thread
From: Sergei Trofimovich (slyfox) @ 2013-06-11 19:40 UTC (permalink / raw
To: gentoo-commits
slyfox 13/06/11 19:40:45
Added: dosemu-1.4.1_pre20091009-flex.patch
Log:
Fix build failure against modern flex (like 2.5.37). Bug #437074 by Chris Smith and others.
(Portage version: 2.2.0_alpha177_p3/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Revision Changes Path
1.1 app-emulation/dosemu/files/dosemu-1.4.1_pre20091009-flex.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/dosemu/files/dosemu-1.4.1_pre20091009-flex.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/dosemu/files/dosemu-1.4.1_pre20091009-flex.patch?rev=1.1&content-type=text/plain
Index: dosemu-1.4.1_pre20091009-flex.patch
===================================================================
Gentoo-bug: http://bugs.gentoo.org/437074
commit 81232816b90e85488d7f11f96b8fcdc5f4988c93
Author: Stas Sergeev <stsp@users.sourceforge.net>
Date: Sun Oct 14 19:51:09 2012 +0400
remove prototypes for lex-generated functions
diff --git a/src/base/init/lexer.h b/src/base/init/lexer.h
index 65b3ab8..082f08c 100644
--- a/src/base/init/lexer.h
+++ b/src/base/init/lexer.h
@@ -1,4 +1,4 @@
-/*
+/*
* (C) Copyright 1992, ..., 2007 the "DOSEMU-Development-Team".
*
* for details see file COPYING.DOSEMU in the DOSEMU distribution
@@ -6,7 +6,9 @@
/*
* We are intercepting the yylex() function calls from the parser
- */
+ */
+#ifndef LEXER_H
+#define LEXER_H
#define OUR_YY_DECL int yylex (YYSTYPE* yylval)
OUR_YY_DECL;
@@ -27,14 +29,4 @@ extern int include_lines[];
extern int line_count;
extern int last_include;
-extern int yyget_lineno(void);
-extern void yyset_lineno(int line_number);
-extern void yyset_out(FILE * out_str);
-extern void yyset_in(FILE * out_str);
-extern void yyset_debug(int bdebug );
-extern int yyget_debug(void);
-extern int yylex_destroy(void);
-extern FILE* yyget_in(void);
-extern FILE* yyget_out(void);
-extern int yyget_leng(void);
-extern char *yyget_text(void);
+#endif
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-11 19:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-11 19:40 [gentoo-commits] gentoo-x86 commit in app-emulation/dosemu/files: dosemu-1.4.1_pre20091009-flex.patch Sergei Trofimovich (slyfox)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox