/[gentoo-x86]/dev-lang/rust/files/rust-0.12.0-no-ldconfig.patch
Gentoo

Contents of /dev-lang/rust/files/rust-0.12.0-no-ldconfig.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Thu Jul 31 14:29:09 2014 UTC (6 years, 4 months ago) by jauhien
Branch: MAIN
File MIME type: text/x-diff
add live version, thanks to Heather Cynede for patch

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB2EFA1D4)

1 Remove ldconfig(1) execution to prevent the installation script from accessing
2 outside of a sandbox.
3
4 Author: Heather Cynede
5
6 diff --git a/src/etc/install.sh b/src/etc/install.sh
7 index c949743..7c3daa5 100644
8 --- a/src/etc/install.sh
9 +++ b/src/etc/install.sh
10 @@ -466,17 +466,6 @@ while read p; do
11 # The manifest lists all files to install
12 done < "${CFG_SRC_DIR}/${CFG_LIBDIR_RELATIVE}/rustlib/manifest.in"
13
14 -# Run ldconfig to make dynamic libraries available to the linker
15 -if [ "$CFG_OSTYPE" = "Linux" ]
16 - then
17 - ldconfig
18 - if [ $? -ne 0 ]
19 - then
20 - warn "failed to run ldconfig."
21 - warn "this may happen when not installing as root and may be fine"
22 - fi
23 -fi
24 -
25 # Sanity check: can we run the installed binaries?
26 #
27 # As with the verification above, make sure the right LD_LIBRARY_PATH-equivalent

  ViewVC Help
Powered by ViewVC 1.1.20