aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/gettext/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/main/gettext/APKBUILD b/main/gettext/APKBUILD
index 048b3e941e..2b9d59fce2 100644
--- a/main/gettext/APKBUILD
+++ b/main/gettext/APKBUILD
@@ -22,6 +22,12 @@ prepare() {
msg "Applying $i..."
patch -p1 < $i || return 1
done
+ # fix eglibc-2.16+ build issue
+ sed -i -e '/gets is a/d' \
+ gettext-tools/gnulib-lib/stdio.in.h \
+ gettext-tools/libgettextpo/stdio.in.h \
+ gettext-runtime/gnulib-lib/stdio.in.h \
+ || return 1
}
build() {
@@ -46,8 +52,8 @@ package() {
libintl() {
replaces="gettext"
mkdir -p "$subpkgdir"/usr/lib
-
- mv "$pkgdir"/usr/lib/libintl.so.* "$subpkgdir"/usr/lib
+ [ "$ALPINE_LIBC" != "eglibc" ] && mv "$pkgdir"/usr/lib/libintl.so.* \
+ "$subpkgdir"/usr/lib || return 1
}
md5sums="0c86e5af70c195ab8bd651d17d783928 gettext-0.18.2.tar.gz"