glibc-2.15-4-arm
authorElentir <elentir@frugalware.org>
Tue, 22 May 2012 19:29:40 +0000 (21:29 +0200)
committerElentir <elentir@frugalware.org>
Tue, 22 May 2012 19:31:13 +0000 (21:31 +0200)
* update glibc-ports url
* add patch to fix build on arm

source/base/glibc/FrugalBuild
source/base/glibc/glibc-ports-2.15-arm-dep-libmemusage.patch [new file with mode: 0644]

index c347f0b..32d7763 100644 (file)
@@ -38,8 +38,10 @@ sha1sums=('33861d75dfc6e9d176f33c356929da792055146c' \
           '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()
diff --git a/source/base/glibc/glibc-ports-2.15-arm-dep-libmemusage.patch b/source/base/glibc/glibc-ports-2.15-arm-dep-libmemusage.patch
new file mode 100644 (file)
index 0000000..1dc169d
--- /dev/null
@@ -0,0 +1,12 @@
+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