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

fakeroot: Added busybox patch

This commit is contained in:
Dylan Araps 2019-07-16 10:19:18 +03:00
parent c02345b3e5
commit e588a3d6a2
5 changed files with 18 additions and 1 deletions

View File

@ -3,6 +3,7 @@
patch -p1 < silence-dlerror.patch
patch -p0 < fakeroot-no64.patch
patch -p0 < fakeroot-stdint.patch
patch -p0 < busybox_compat_force_abslibpath.patch
export CONFIG_SHELL=/bin/sh
export CFLAGS="-D_STAT_VER=0 $CFLAGS"

View File

@ -2,3 +2,4 @@
347f6496c93ed0d91dcb554db92602b50520a16308e3b8bc33822bd69966267b silence-dlerror.patch
4fd7a4c8d05dd71414c3e82887780b76d93f599944260c41d769cb463e660bbf fakeroot-no64.patch
1b0be39e41ce78116de4db7aed1b025a64427d780f666a860ed30ad1512588ad fakeroot-stdint.patch
d0a6aa8aa462eb4b390d02e177d07df3f2ed5b7961595a22dd38a94043ad8290 busybox_compat_force_abslibpath.patch

View File

@ -0,0 +1,14 @@
- Always force absolute path for LD_PRELOAD.
- Make getopt test work with busybox implementation.
--- scripts/fakeroot.in.orig 2011-12-01 05:00:36.000000000 +0100
+++ scripts/fakeroot.in 2012-02-01 16:04:04.707499043 +0100
@@ -33,7 +33,7 @@ fatal ()
FAKEROOT_PREFIX=@prefix@
FAKEROOT_BINDIR=@bindir@
-USEABSLIBPATH=@LDPRELOADABS@
+USEABSLIBPATH=1
LIB=lib@fakeroot_transformed@@DLSUFFIX@
PATHS=@libdir@:${FAKEROOT_PREFIX}/lib64/libfakeroot:${FAKEROOT_PREFIX}/lib32/libfakeroot
FAKED=${FAKEROOT_BINDIR}/@faked_transformed@

View File

@ -2,3 +2,4 @@ https://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.23.orig.tar.xz
patches/silence-dlerror.patch
patches/fakeroot-no64.patch
patches/fakeroot-stdint.patch
patches/busybox_compat_force_abslibpath.patch

View File

@ -1 +1 @@
1.23 1
1.23 2