patch to fix problem reported by libreoffice 4.3 configure [release 2.8.7-2mamba;Mon Jul 28 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 04:36:22 +01:00
parent 1474754035
commit 001d43de8f
2 changed files with 18 additions and 2 deletions

View File

@ -0,0 +1,12 @@
diff -rupN a/hyphen.h b/hyphen.h
--- a/hyphen.h 2013-03-18 11:49:03.000000000 +0100
+++ b/hyphen.h 2014-07-03 20:44:33.209910415 +0200
@@ -55,6 +55,8 @@
extern "C" {
#endif /* __cplusplus */
+#include <stdio.h>
+
typedef struct _HyphenDict HyphenDict;
typedef struct _HyphenState HyphenState;
typedef struct _HyphenTrans HyphenTrans;

View File

@ -1,6 +1,6 @@
Name: libhyphen Name: libhyphen
Version: 2.8.7 Version: 2.8.7
Release: 1mamba Release: 2mamba
Summary: A text hyphenation library Summary: A text hyphenation library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -8,6 +8,7 @@ Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it> Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://hunspell.sf.net URL: http://hunspell.sf.net
Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
Patch0: libhyphen-2.8.7-include-stdio.patch
License: LGPL, MPL 1.1 License: LGPL, MPL 1.1
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -51,8 +52,8 @@ English hyphenation rules.
%prep %prep
%setup -q -n hyphen-%{version} %setup -q -n hyphen-%{version}
%patch0 -p1
%build %build
%configure %configure
@ -98,6 +99,9 @@ popd
%{_datadir}/hyphen/hyph_en_*.dic %{_datadir}/hyphen/hyph_en_*.dic
%changelog %changelog
* Mon Jul 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.7-2mamba
- patch to fix problem reported by libreoffice 4.3 configure
* Sat Jun 28 2014 Automatic Build System <autodist@mambasoft.it> 2.8.7-1mamba * Sat Jun 28 2014 Automatic Build System <autodist@mambasoft.it> 2.8.7-1mamba
- automatic version update by autodist - automatic version update by autodist