From 001d43de8f48845b4fbcf3d255c41d50fccc6abc Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:36:22 +0100 Subject: [PATCH] patch to fix problem reported by libreoffice 4.3 configure [release 2.8.7-2mamba;Mon Jul 28 2014] --- libhyphen-2.8.7-include-stdio.patch | 12 ++++++++++++ libhyphen.spec | 8 ++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 libhyphen-2.8.7-include-stdio.patch diff --git a/libhyphen-2.8.7-include-stdio.patch b/libhyphen-2.8.7-include-stdio.patch new file mode 100644 index 0000000..a1ada71 --- /dev/null +++ b/libhyphen-2.8.7-include-stdio.patch @@ -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 ++ + typedef struct _HyphenDict HyphenDict; + typedef struct _HyphenState HyphenState; + typedef struct _HyphenTrans HyphenTrans; diff --git a/libhyphen.spec b/libhyphen.spec index dedfee9..4f296ca 100644 --- a/libhyphen.spec +++ b/libhyphen.spec @@ -1,6 +1,6 @@ Name: libhyphen Version: 2.8.7 -Release: 1mamba +Release: 2mamba Summary: A text hyphenation library Group: System/Libraries Vendor: openmamba @@ -8,6 +8,7 @@ Distribution: openmamba Packager: Automatic Build System URL: http://hunspell.sf.net Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz +Patch0: libhyphen-2.8.7-include-stdio.patch License: LGPL, MPL 1.1 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -51,8 +52,8 @@ English hyphenation rules. %prep - %setup -q -n hyphen-%{version} +%patch0 -p1 %build %configure @@ -98,6 +99,9 @@ popd %{_datadir}/hyphen/hyph_en_*.dic %changelog +* Mon Jul 28 2014 Silvan Calarco 2.8.7-2mamba +- patch to fix problem reported by libreoffice 4.3 configure + * Sat Jun 28 2014 Automatic Build System 2.8.7-1mamba - automatic version update by autodist