hunspell: portability patch from Alpine.
This commit is contained in:
parent
99f32e9298
commit
3fed36f5e0
|
@ -0,0 +1,22 @@
|
|||
--- src/tools/munch.c
|
||||
+++ src/tools/munch.c
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <limits.h>
|
||||
-#if defined(__linux__) && !defined(__ANDROID__)
|
||||
+#if defined(__GLIBC__)
|
||||
#include <error.h>
|
||||
#include <errno.h>
|
||||
#include <sys/mman.h>
|
||||
--- src/tools/unmunch.c
|
||||
+++ src/tools/unmunch.c
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
-#if defined(__linux__) && !defined(__ANDROID__)
|
||||
+#if defined(__GLIBC__)
|
||||
#include <error.h>
|
||||
#include <errno.h>
|
||||
#include <sys/mman.h>
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'hunspell'
|
||||
pkgname=hunspell
|
||||
version=1.3.3
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-ui"
|
||||
hostmakedepends="pkg-config bison"
|
||||
|
@ -19,7 +19,6 @@ libhunspell_package() {
|
|||
vmove "usr/lib/*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
hunspell-devel_package() {
|
||||
depends="libstdc++-devel ncurses-devel lib${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in New Issue