fix hyphen.h

This commit is contained in:
David Tardon 2014-07-03 11:54:03 +02:00
parent c9c9a7dec7
commit c4eea863a0
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From d1e42f5a7166fc98595772ffdd3cfc75fcfa574d Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Thu, 3 Jul 2014 11:51:53 +0200
Subject: [PATCH] missing include for FILE
---
hyphen.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hyphen.h b/hyphen.h
index 9aa057e..b3b8fae 100644
--- a/hyphen.h
+++ b/hyphen.h
@@ -51,6 +51,8 @@
#ifndef __HYPHEN_H__
#define __HYPHEN_H__
+#include <stdio.h>
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
--
1.9.3

View File

@ -1,7 +1,7 @@
Name: hyphen
Summary: A text hyphenation library
Version: 2.8.7
Release: 1%{?dist}
Release: 2%{?dist}
Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
Group: System Environment/Libraries
URL: http://hunspell.sf.net
@ -12,6 +12,8 @@ BuildRequires: perl, patch, autoconf, automake, libtool
BuildRequires: valgrind
%endif
Patch0: 0001-missing-include-for-FILE.patch
%description
Hyphen is a library for high quality hyphenation and justification.
@ -34,6 +36,7 @@ English hyphenation rules.
%prep
%setup -q
%patch0 -p1 -b .missing-include-for-FILE.patch
%build
%configure --disable-static
@ -84,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/substrings.pl
%changelog
* Thu Jul 03 2014 David Tardon <dtardon@redhat.com> - 2.8.7-2
- fix hyphen.h
* Fri Jun 27 2014 Caolán McNamara <caolanm@redhat.com> - 2.8.7-1
- latest version