[packages/hyphen] - rel 2; add missing include
arekm
arekm at pld-linux.org
Wed Jul 2 10:26:15 CEST 2014
commit aff0b24e3d4b1ac15e79b6aeb41ba2a9280ae5fa
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Jul 2 10:26:11 2014 +0200
- rel 2; add missing include
hyphen-includes.patch | 11 +++++++++++
hyphen.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/hyphen.spec b/hyphen.spec
index 449323f..1a618fb 100644
--- a/hyphen.spec
+++ b/hyphen.spec
@@ -2,11 +2,12 @@ Summary: Hyphenation library to use converted TeX hyphenation patterns
Summary(pl.UTF-8): Biblioteka przenoszenia słów używająca przekonwertowanych wzorców TeXa
Name: hyphen
Version: 2.8.7
-Release: 1
+Release: 2
License: GPL v2+ or LGPL v2.1+ or MPL 1.1+
Group: Libraries
Source0: http://downloads.sourceforge.net/hunspell/%{name}-%{version}.tar.gz
# Source0-md5: ecaf645cb09bd7b6ad0497b8a91fbd22
+Patch0: %{name}-includes.patch
URL: http://lingucomponent.openoffice.org/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -45,6 +46,7 @@ Statyczna biblioteka hyphen.
%prep
%setup -q
+%patch0 -p1
%build
%configure
diff --git a/hyphen-includes.patch b/hyphen-includes.patch
new file mode 100644
index 0000000..b92232a
--- /dev/null
+++ b/hyphen-includes.patch
@@ -0,0 +1,11 @@
+--- ./hyphen.h.orig 2013-03-18 11:49:03.000000000 +0100
++++ ./hyphen.h 2014-06-30 09:22:00.804214782 +0200
+@@ -55,6 +55,8 @@
+ extern "C" {
+ #endif /* __cplusplus */
+
++#include <stdio.h>
++
+ typedef struct _HyphenDict HyphenDict;
+ typedef struct _HyphenState HyphenState;
+ typedef struct _HyphenTrans HyphenTrans;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hyphen.git/commitdiff/aff0b24e3d4b1ac15e79b6aeb41ba2a9280ae5fa
More information about the pld-cvs-commit
mailing list