diff --git a/srcpkgs/hunspell/patches/fix-includes.patch b/srcpkgs/hunspell/patches/fix-includes.patch new file mode 100644 index 00000000000..5f8e98f8277 --- /dev/null +++ b/srcpkgs/hunspell/patches/fix-includes.patch @@ -0,0 +1,22 @@ +--- src/tools/munch.c ++++ src/tools/munch.c +@@ -9,7 +9,7 @@ + #include + #include + #include +-#if defined(__linux__) && !defined(__ANDROID__) ++#if defined(__GLIBC__) + #include + #include + #include +--- src/tools/unmunch.c ++++ src/tools/unmunch.c +@@ -10,7 +10,7 @@ + #include + #include + #include +-#if defined(__linux__) && !defined(__ANDROID__) ++#if defined(__GLIBC__) + #include + #include + #include diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template index 8de11881c6b..2d105840629 100644 --- a/srcpkgs/hunspell/template +++ b/srcpkgs/hunspell/template @@ -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"