cross-*-gnu*: apply glibc-2.18-xattr-compat-hack.patch

This commit is contained in:
Christian Neukirchen 2014-08-25 13:35:38 +02:00
parent dd2d145a8b
commit 4a6213c1e3
10 changed files with 30 additions and 10 deletions

View file

@ -0,0 +1 @@
../../glibc/patches/glibc-2.18-xattr-compat-hack.patch

View file

@ -11,7 +11,7 @@ _archflags="-march=armv5te -msoft-float -mfloat-abi=soft"
_CROSS_SYSROOT="/usr/${_triplet}" _CROSS_SYSROOT="/usr/${_triplet}"
pkgname=cross-${_triplet} pkgname=cross-${_triplet}
version=0.15 version=0.16
revision=1 revision=1
short_desc="GNU Cross toolchain for the ${_triplet} LE target (binutils/gcc/glibc)" short_desc="GNU Cross toolchain for the ${_triplet} LE target (binutils/gcc/glibc)"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
@ -41,7 +41,7 @@ _apply_patch() {
local pname="$(basename $1)" local pname="$(basename $1)"
if [ ! -f ".${pname}_done" ]; then if [ ! -f ".${pname}_done" ]; then
patch -Np1 -i ${1} patch -Np0 -i ${1}
touch .${pname}_done touch .${pname}_done
fi fi
} }
@ -107,6 +107,9 @@ _gcc_bootstrap() {
_glibc_headers() { _glibc_headers() {
[ -f ${wrksrc}/.glibc_headers_done ] && return 0 [ -f ${wrksrc}/.glibc_headers_done ] && return 0
cd ${wrksrc}/glibc-${_glibc_version}
_apply_patch ${FILESDIR}/glibc-2.18-xattr-compat-hack.patch
cd ${wrksrc} cd ${wrksrc}
msg_normal "Building cross glibc headers\n" msg_normal "Building cross glibc headers\n"

View file

@ -0,0 +1 @@
../../glibc/patches/glibc-2.18-xattr-compat-hack.patch

View file

@ -11,7 +11,7 @@ _archflags="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
_CROSS_SYSROOT="/usr/${_triplet}" _CROSS_SYSROOT="/usr/${_triplet}"
pkgname=cross-${_triplet} pkgname=cross-${_triplet}
version=0.17 version=0.18
revision=1 revision=1
short_desc="GNU Cross toolchain for the ${_triplet} LE target (binutils/gcc/glibc)" short_desc="GNU Cross toolchain for the ${_triplet} LE target (binutils/gcc/glibc)"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
@ -41,7 +41,7 @@ _apply_patch() {
local pname="$(basename $1)" local pname="$(basename $1)"
if [ ! -f ".${pname}_done" ]; then if [ ! -f ".${pname}_done" ]; then
patch -Np1 -i ${1} patch -Np0 -i ${1}
touch .${pname}_done touch .${pname}_done
fi fi
} }
@ -108,6 +108,9 @@ _gcc_bootstrap() {
_glibc_headers() { _glibc_headers() {
[ -f ${wrksrc}/.glibc_headers_done ] && return 0 [ -f ${wrksrc}/.glibc_headers_done ] && return 0
cd ${wrksrc}/glibc-${_glibc_version}
_apply_patch ${FILESDIR}/glibc-2.18-xattr-compat-hack.patch
cd ${wrksrc} cd ${wrksrc}
msg_normal "Building cross glibc headers\n" msg_normal "Building cross glibc headers\n"

View file

@ -0,0 +1 @@
../../glibc/patches/glibc-2.18-xattr-compat-hack.patch

View file

@ -10,7 +10,7 @@ _archflags="-march=i686 -mtune=generic"
_CROSS_SYSROOT="/usr/${_triplet}" _CROSS_SYSROOT="/usr/${_triplet}"
pkgname=cross-${_triplet} pkgname=cross-${_triplet}
version=0.15 version=0.16
revision=1 revision=1
short_desc="GNU Cross toolchain for the ${_triplet} target (binutils/gcc/glibc)" short_desc="GNU Cross toolchain for the ${_triplet} target (binutils/gcc/glibc)"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
@ -40,7 +40,7 @@ _apply_patch() {
local pname="$(basename $1)" local pname="$(basename $1)"
if [ ! -f ".${pname}_done" ]; then if [ ! -f ".${pname}_done" ]; then
patch -Np1 -i ${1} patch -Np0 -i ${1}
touch .${pname}_done touch .${pname}_done
fi fi
} }
@ -108,6 +108,9 @@ _linux_headers() {
_glibc_headers() { _glibc_headers() {
[ -f ${wrksrc}/.glibc_headers_done ] && return 0 [ -f ${wrksrc}/.glibc_headers_done ] && return 0
cd ${wrksrc}/glibc-${_glibc_version}
_apply_patch ${FILESDIR}/glibc-2.18-xattr-compat-hack.patch
cd ${wrksrc} cd ${wrksrc}
msg_normal "Building cross glibc headers\n" msg_normal "Building cross glibc headers\n"

View file

@ -0,0 +1 @@
../../glibc/patches/glibc-2.18-xattr-compat-hack.patch

View file

@ -11,7 +11,7 @@ _archflags="-mtune=mips32r2 -mabi=32 -msoft-float"
_CROSS_SYSROOT="/usr/${_triplet}" _CROSS_SYSROOT="/usr/${_triplet}"
pkgname=cross-${_triplet} pkgname=cross-${_triplet}
version=0.15 version=0.16
revision=1 revision=1
short_desc="GNU Cross toolchain for the ${_triplet} BE target (binutils/gcc/glibc)" short_desc="GNU Cross toolchain for the ${_triplet} BE target (binutils/gcc/glibc)"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
@ -40,7 +40,7 @@ _apply_patch() {
local pname="$(basename $1)" local pname="$(basename $1)"
if [ ! -f ".${pname}_done" ]; then if [ ! -f ".${pname}_done" ]; then
patch -Np1 -i ${1} patch -Np0 -i ${1}
touch .${pname}_done touch .${pname}_done
fi fi
} }
@ -106,6 +106,9 @@ _gcc_bootstrap() {
_glibc_headers() { _glibc_headers() {
[ -f ${wrksrc}/.glibc_headers_done ] && return 0 [ -f ${wrksrc}/.glibc_headers_done ] && return 0
cd ${wrksrc}/glibc-${_glibc_version}
_apply_patch ${FILESDIR}/glibc-2.18-xattr-compat-hack.patch
cd ${wrksrc} cd ${wrksrc}
msg_normal "Building cross glibc headers\n" msg_normal "Building cross glibc headers\n"

View file

@ -0,0 +1 @@
../../glibc/patches/glibc-2.18-xattr-compat-hack.patch

View file

@ -11,7 +11,7 @@ _archflags="-mtune=mips32r2 -mabi=32 -msoft-float"
_CROSS_SYSROOT="/usr/${_triplet}" _CROSS_SYSROOT="/usr/${_triplet}"
pkgname=cross-${_triplet} pkgname=cross-${_triplet}
version=0.15 version=0.16
revision=1 revision=1
short_desc="GNU Cross toolchain for the ${_triplet} LE target (binutils/gcc/glibc)" short_desc="GNU Cross toolchain for the ${_triplet} LE target (binutils/gcc/glibc)"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
@ -40,7 +40,7 @@ _apply_patch() {
local pname="$(basename $1)" local pname="$(basename $1)"
if [ ! -f ".${pname}_done" ]; then if [ ! -f ".${pname}_done" ]; then
patch -Np1 -i ${1} patch -Np0 -i ${1}
touch .${pname}_done touch .${pname}_done
fi fi
} }
@ -106,6 +106,9 @@ _gcc_bootstrap() {
_glibc_headers() { _glibc_headers() {
[ -f ${wrksrc}/.glibc_headers_done ] && return 0 [ -f ${wrksrc}/.glibc_headers_done ] && return 0
cd ${wrksrc}/glibc-${_glibc_version}
_apply_patch ${FILESDIR}/glibc-2.18-xattr-compat-hack.patch
cd ${wrksrc} cd ${wrksrc}
msg_normal "Building cross glibc headers\n" msg_normal "Building cross glibc headers\n"