fix hyphen.h
This commit is contained in:
parent
c9c9a7dec7
commit
c4eea863a0
25
0001-missing-include-for-FILE.patch
Normal file
25
0001-missing-include-for-FILE.patch
Normal 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
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
Name: hyphen
|
Name: hyphen
|
||||||
Summary: A text hyphenation library
|
Summary: A text hyphenation library
|
||||||
Version: 2.8.7
|
Version: 2.8.7
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
|
Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://hunspell.sf.net
|
URL: http://hunspell.sf.net
|
||||||
@ -12,6 +12,8 @@ BuildRequires: perl, patch, autoconf, automake, libtool
|
|||||||
BuildRequires: valgrind
|
BuildRequires: valgrind
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Patch0: 0001-missing-include-for-FILE.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Hyphen is a library for high quality hyphenation and justification.
|
Hyphen is a library for high quality hyphenation and justification.
|
||||||
|
|
||||||
@ -34,6 +36,7 @@ English hyphenation rules.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .missing-include-for-FILE.patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
@ -84,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_bindir}/substrings.pl
|
%{_bindir}/substrings.pl
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jun 27 2014 Caolán McNamara <caolanm@redhat.com> - 2.8.7-1
|
||||||
- latest version
|
- latest version
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user