forked from pool/sgmltool
Accepting request 141860 from Publishing
- Add sgmltool-flex.patch: yyleng must be size_t with new flex OBS-URL: https://build.opensuse.org/request/show/141860 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sgmltool?expand=0&rev=16
This commit is contained in:
commit
d636884fa2
13
sgmltool-flex.patch
Normal file
13
sgmltool-flex.patch
Normal 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
|
@ -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
|
Thu Aug 2 12:42:50 UTC 2012 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -54,6 +54,7 @@ Patch6: cflags-sgml-tools-1.0.9.diff
|
|||||||
Patch7: sgml-tools-1.0.9-sgmlpre.diff
|
Patch7: sgml-tools-1.0.9-sgmlpre.diff
|
||||||
Patch8: sgml-tools-1.0.9-strip.diff
|
Patch8: sgml-tools-1.0.9-strip.diff
|
||||||
Patch9: sgml-tools-1.0.9-latex.diff
|
Patch9: sgml-tools-1.0.9-latex.diff
|
||||||
|
Patch10: sgmltool-flex.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -90,6 +91,7 @@ an example).
|
|||||||
%patch8
|
%patch8
|
||||||
%if 0%{suse_version} > 1220
|
%if 0%{suse_version} > 1220
|
||||||
%patch9
|
%patch9
|
||||||
|
%patch10 -p1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user