commit f218200919f7858f02094d22c67454084c4030f5
Author: Jan Rękorajski <[email protected]>
Date:   Thu Jan 1 18:30:09 2015 +0000

    - yyleng must be size_t with new flex

 flex.patch      | 11 +++++++++++
 sgml-tools.spec |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/sgml-tools.spec b/sgml-tools.spec
index ce0691b..089ed96 100644
--- a/sgml-tools.spec
+++ b/sgml-tools.spec
@@ -23,6 +23,7 @@ Patch5:               %{name}-datadir.patch
 Patch6:                %{name}-sgml-path.patch
 Patch7:                %{name}-posix.patch
 Patch8:                format-security.patch
+Patch9:                flex.patch
 URL:           http://www.sgmltools.org/
 BuildRequires: autoconf
 BuildRequires: flex
@@ -107,6 +108,7 @@ sgmls - parser sprawdzający poprawność SGML.
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
 
 %build
 cd sgmls-1.1
diff --git a/flex.patch b/flex.patch
new file mode 100644
index 0000000..5479812
--- /dev/null
+++ b/flex.patch
@@ -0,0 +1,11 @@
+--- sgml-tools-1.0.9/rtf-fix/rtf2rtf.l~        2015-01-01 18:25:34.000000000 
+0000
++++ sgml-tools-1.0.9/rtf-fix/rtf2rtf.l 2015-01-01 18:29:15.784146165 +0000
+@@ -72,7 +72,7 @@
+ int skipnewline = 0;
+ 
+ extern char *yytext;
+-extern int yyleng;
++extern size_t yyleng;
+ 
+ #define CHAPTER 1
+ #define SECTION 2
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sgml-tools.git/commitdiff/f218200919f7858f02094d22c67454084c4030f5

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to