2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-02 22:12:27 +00:00

fakeroot: Added more patches

This commit is contained in:
Dylan Araps 2019-07-20 10:36:09 +03:00
parent 085197e20c
commit d92bac2b6c
6 changed files with 42 additions and 5 deletions

View File

@ -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"

View File

@ -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

View File

@ -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);

View File

@ -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,

View File

@ -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

View File

@ -1 +1 @@
1.23 2
1.23 4