{chroot-,}glibc: add patch from arch to fix strstr problem (Issue #163)

This commit is contained in:
davehome 2013-09-18 12:38:10 -06:00
parent f16e3d7b63
commit a407cfac9c
3 changed files with 14 additions and 2 deletions

View file

@ -3,7 +3,7 @@ pkgname=chroot-glibc
_majorver=2.18
version=${_majorver}
wrksrc="glibc-${version}"
revision=1
revision=2
short_desc="The GNU C library - for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/libc"

View file

@ -0,0 +1,12 @@
--- sysdeps/x86_64/multiarch/strstr.c
+++ sysdeps/x86_64/multiarch/strstr.c
@@ -86,7 +86,7 @@
/* Simple replacement of movdqu to address 4KB boundary cross issue.
If EOS occurs within less than 16B before 4KB boundary, we don't
cross to next page. */
-static __m128i
+static inline __m128i
__m128i_strloadu (const unsigned char * p, __m128i zero)
{
if (__builtin_expect ((int) ((size_t) p & 0xfff) > 0xff0, 0))

View file

@ -1,7 +1,7 @@
# Template file for 'glibc'
pkgname=glibc
version=2.18
revision=2
revision=3
short_desc="The GNU C library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/libc"