- Add sgmltool-flex.patch: yyleng must be size_t with new flex

OBS-URL: https://build.opensuse.org/package/show/Publishing/sgmltool?expand=0&rev=10
This commit is contained in:
Ismail Dönmez 2012-11-19 09:08:29 +00:00 committed by Git OBS Bridge
parent 513dd9bf59
commit a68ab1d716
3 changed files with 20 additions and 0 deletions

13
sgmltool-flex.patch Normal file
View File

@ -0,0 +1,13 @@
Index: sgml-tools-1.0.9/rtf-fix/rtf2rtf.l
===================================================================
--- sgml-tools-1.0.9.orig/rtf-fix/rtf2rtf.l
+++ sgml-tools-1.0.9/rtf-fix/rtf2rtf.l
@@ -72,7 +72,7 @@ int current;
int skipnewline = 0;
extern char *yytext;
-extern int yyleng;
+extern size_t yyleng;
#define CHAPTER 1
#define SECTION 2

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 19 09:06:57 UTC 2012 - idonmez@suse.com
- Add sgmltool-flex.patch: yyleng must be size_t with new flex
-------------------------------------------------------------------
Thu Aug 2 12:42:50 UTC 2012 - jengelh@inai.de

View File

@ -54,6 +54,7 @@ Patch6: cflags-sgml-tools-1.0.9.diff
Patch7: sgml-tools-1.0.9-sgmlpre.diff
Patch8: sgml-tools-1.0.9-strip.diff
Patch9: sgml-tools-1.0.9-latex.diff
Patch10: sgmltool-flex.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -90,6 +91,7 @@ an example).
%patch8
%if 0%{suse_version} > 1220
%patch9
%patch10 -p1
%endif
%build