[arch-commits] Commit in hyphen/trunk (PKGBUILD hyphen-2.8.7-include-stdio-h.patch)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Thu Jul 3 19:00:40 UTC 2014


    Date: Thursday, July 3, 2014 @ 21:00:39
  Author: bpiotrowski
Revision: 216423

upgpkg: hyphen 2.8.7-2

include stdio.h in hyphen.h as it exposes function wanting FILE* as an argument

Added:
  hyphen/trunk/hyphen-2.8.7-include-stdio-h.patch
Modified:
  hyphen/trunk/PKGBUILD

------------------------------------+
 PKGBUILD                           |   13 ++++++++++---
 hyphen-2.8.7-include-stdio-h.patch |   12 ++++++++++++
 2 files changed, 22 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-03 18:35:18 UTC (rev 216422)
+++ PKGBUILD	2014-07-03 19:00:39 UTC (rev 216423)
@@ -4,14 +4,21 @@
 pkgbase=hyphen
 pkgname=('hyphen' 'hyphen-en')
 pkgver=2.8.7
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url="http://hunspell.sf.net"
 license=('GPL2' 'LGPL2.1' 'MPL')
 makedepends=('glibc' 'perl')
-source=(http://downloads.sourceforge.net/hunspell/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('ca565779e89ca299475e7eb993612b722c09e9e0')
+source=(http://downloads.sourceforge.net/hunspell/${pkgname}-${pkgver}.tar.gz
+        hyphen-2.8.7-include-stdio-h.patch)
+sha1sums=('ca565779e89ca299475e7eb993612b722c09e9e0'
+          '28865675bab044dbbd417e7435481049984d9391')
 
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -p1 -i "$srcdir/hyphen-2.8.7-include-stdio-h.patch"
+}
+
 build() {
   cd "$srcdir/$pkgname-$pkgver"
   ./configure --prefix=/usr --disable-static

Added: hyphen-2.8.7-include-stdio-h.patch
===================================================================
--- hyphen-2.8.7-include-stdio-h.patch	                        (rev 0)
+++ hyphen-2.8.7-include-stdio-h.patch	2014-07-03 19:00:39 UTC (rev 216423)
@@ -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;




More information about the arch-commits mailing list