* update glibc-ports url
* add patch to fix build on arm
'05116b9dd4f2f2e8e0d97ba3af6acbd14652f2ff')
if Fuse GLIBC_PORTS; then
- source=("${source[@]}" "http://ftp.frugalware.org/pub/other/people/elentir/glibc-ports/glibc-ports-$pkgver.tar.bz2")
- sha1sums=("${sha1sums[@]}" '8bc28c62ffd3074dc19c9d90271377f1e66e19c9')
+ source=("${source[@]}" "http://ftp.gnu.org/gnu/libc/glibc-ports-$pkgver.tar.xz" \
+ glibc-ports-2.15-arm-dep-libmemusage.patch)
+ sha1sums=("${sha1sums[@]}" '65c4c239f703cc63a1fa65aa7b32ab13f833d99e' \
+ '89d330891232f831bf8755b319bbe88c8e72b496')
fi
build()
--- /dev/null
+diff -Naur glibc-ports-2.15/sysdeps/arm/Makefile glibc-ports-2.15/sysdeps/arm/Makefile
+--- glibc-ports-2.15/sysdeps/arm/Makefile 2011-12-23 20:34:10.000000000 +0100
++++ glibc-ports-2.15/sysdeps/arm/Makefile 2012-05-21 21:09:07.886428034 +0200
+@@ -7,3 +7,8 @@
+ ifeq ($(subdir),csu)
+ gen-as-const-headers += tlsdesc.sym
+ endif
++
++# to pull in __aeabi_read_tp, needed for tls
++ifeq ($(subdir),malloc)
++$(objpfx)libmemusage.so: $(common-objpfx)libc_nonshared.a
++endif