Blame SOURCES/linuxdoc-tools-0.9.68-flex.patch

8412d5
--- linuxdoc-tools-0.9.68/rtf-fix/rtf2rtf.l	2008-05-28 18:16:36.000000000 +0200
8412d5
+++ linuxdoc-tools-0.9.68/rtf-fix/rtf2rtf.l-patched	2013-02-19 11:10:25.367016000 +0100
8412d5
@@ -72,7 +72,14 @@
8412d5
 int skipnewline = 0;
8412d5
 
8412d5
 extern char *yytext;
8412d5
+
8412d5
+#if   YY_FLEX_MAJOR_VERSION > 2 \
8412d5
+ ||  (YY_FLEX_MAJOR_VERSION == 2 && YY_FLEX_MINOR_VERSION > 5) \
8412d5
+ ||  (YY_FLEX_MAJOR_VERSION == 2 && YY_FLEX_MINOR_VERSION == 5 && YY_FLEX_SUBMINOR_VERSION > 35)
8412d5
+extern yy_size_t yyleng;
8412d5
+#else
8412d5
 extern int yyleng;
8412d5
+#endif
8412d5
 
8412d5
 #define CHAPTER 1
8412d5
 #define SECTION 2