From d92bac2b6ce7781df0137f5b1f5cea842bc9dea5 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 20 Jul 2019 10:36:09 +0300 Subject: [PATCH] fakeroot: Added more patches --- core/fakeroot/build | 2 ++ core/fakeroot/checksums | 6 ++++-- core/fakeroot/patches/fakeroot-uclibc.patch | 20 ++++++++++++++++++++ core/fakeroot/patches/xstatjunk.patch | 11 +++++++++++ core/fakeroot/sources | 6 ++++-- core/fakeroot/version | 2 +- 6 files changed, 42 insertions(+), 5 deletions(-) create mode 100644 core/fakeroot/patches/fakeroot-uclibc.patch create mode 100644 core/fakeroot/patches/xstatjunk.patch diff --git a/core/fakeroot/build b/core/fakeroot/build index 56c5b64c..8e6899f4 100755 --- a/core/fakeroot/build +++ b/core/fakeroot/build @@ -4,6 +4,8 @@ patch -p1 < silence-dlerror.patch patch -p0 < fakeroot-no64.patch patch -p0 < fakeroot-stdint.patch patch -p0 < busybox_compat_force_abslibpath.patch +patch -p1 < fakeroot-uclibc.patch +patch -p1 < xstatjunk.patch export CONFIG_SHELL=/bin/sh export CFLAGS="-D_STAT_VER=0 $CFLAGS" diff --git a/core/fakeroot/checksums b/core/fakeroot/checksums index 3984afb4..bb9d433b 100644 --- a/core/fakeroot/checksums +++ b/core/fakeroot/checksums @@ -1,5 +1,7 @@ 009cd6696a931562cf1c212bb57ca441a4a2d45cd32c3190a35c7ae98506f4f6 fakeroot_1.23.orig.tar.xz -347f6496c93ed0d91dcb554db92602b50520a16308e3b8bc33822bd69966267b silence-dlerror.patch +d0a6aa8aa462eb4b390d02e177d07df3f2ed5b7961595a22dd38a94043ad8290 busybox_compat_force_abslibpath.patch 4fd7a4c8d05dd71414c3e82887780b76d93f599944260c41d769cb463e660bbf fakeroot-no64.patch 1b0be39e41ce78116de4db7aed1b025a64427d780f666a860ed30ad1512588ad fakeroot-stdint.patch -d0a6aa8aa462eb4b390d02e177d07df3f2ed5b7961595a22dd38a94043ad8290 busybox_compat_force_abslibpath.patch +e325ad9aad310caa71002adea220795f706c621c5794093f16c0f319b3d58977 fakeroot-uclibc.patch +347f6496c93ed0d91dcb554db92602b50520a16308e3b8bc33822bd69966267b silence-dlerror.patch +5694b33fcfc9682f42b4c11ab49a8b5b402128dd9f0cd870eaad659c9b2679cf xstatjunk.patch diff --git a/core/fakeroot/patches/fakeroot-uclibc.patch b/core/fakeroot/patches/fakeroot-uclibc.patch new file mode 100644 index 00000000..63708092 --- /dev/null +++ b/core/fakeroot/patches/fakeroot-uclibc.patch @@ -0,0 +1,20 @@ +--- fakeroot-1.18.2.orig/libfakeroot.c ++++ fakeroot-1.18.2/libfakeroot.c +@@ -1551,7 +1551,7 @@ + #endif /* LIBFAKEROOT_DEBUGGING */ + r=next_fts_read(ftsp); + if(r && r->fts_statp) { /* Should we bother checking fts_info here? */ +-# if defined(STAT64_SUPPORT) && !defined(__APPLE__) ++# if defined(STAT64_SUPPORT) && !defined(__APPLE__) && !defined(__UCLIBC__) + SEND_GET_STAT64(r->fts_statp, _STAT_VER); + # else + SEND_GET_STAT(r->fts_statp, _STAT_VER); +@@ -1574,7 +1574,7 @@ + first=next_fts_children(ftsp, options); + for(r = first; r; r = r->fts_link) { + if(r && r->fts_statp) { /* Should we bother checking fts_info here? */ +-# if defined(STAT64_SUPPORT) && !defined(__APPLE__) ++# if defined(STAT64_SUPPORT) && !defined(__APPLE__) && !defined(__UCLIBC__) + SEND_GET_STAT64(r->fts_statp, _STAT_VER); + # else + SEND_GET_STAT(r->fts_statp, _STAT_VER); diff --git a/core/fakeroot/patches/xstatjunk.patch b/core/fakeroot/patches/xstatjunk.patch new file mode 100644 index 00000000..12f2759b --- /dev/null +++ b/core/fakeroot/patches/xstatjunk.patch @@ -0,0 +1,11 @@ +--- fakeroot-1.18.4.orig/configure.ac 2012-06-02 18:23:41.000000000 +0000 ++++ fakeroot-1.18.4configure.ac 2015-09-24 23:15:56.917470073 +0000 +@@ -301,7 +301,7 @@ + FUNC=`echo $SEARCH|sed -e 's/.*%//'` + PRE=`echo $SEARCH|sed -e 's/%.*//'` + FOUND= +- for WRAPPED in __${PRE}x${FUNC} _${PRE}x${FUNC} __${PRE}${FUNC}13 ${PRE}${FUNC}; do ++ for WRAPPED in ${PRE}${FUNC}; do + AC_CHECK_FUNCS($WRAPPED,FOUND=$WRAPPED) + dnl + dnl to unconditionally define only the _* functions, comment out the 2 lines above, diff --git a/core/fakeroot/sources b/core/fakeroot/sources index ec2938ae..bd26f375 100644 --- a/core/fakeroot/sources +++ b/core/fakeroot/sources @@ -1,5 +1,7 @@ https://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.23.orig.tar.xz -patches/silence-dlerror.patch +patches/busybox_compat_force_abslibpath.patch patches/fakeroot-no64.patch patches/fakeroot-stdint.patch -patches/busybox_compat_force_abslibpath.patch +patches/fakeroot-uclibc.patch +patches/silence-dlerror.patch +patches/xstatjunk.patch diff --git a/core/fakeroot/version b/core/fakeroot/version index c6e2bbb1..9c133595 100644 --- a/core/fakeroot/version +++ b/core/fakeroot/version @@ -1 +1 @@ -1.23 2 +1.23 4