jauhien     14/07/31 14:29:09

  Added:                rust-0.12.0-no-ldconfig.patch
  Log:
  add live version, thanks to Heather Cynede for patch
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0xB2EFA1D4)

Revision  Changes    Path
1.1                  dev-lang/rust/files/rust-0.12.0-no-ldconfig.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust/files/rust-0.12.0-no-ldconfig.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust/files/rust-0.12.0-no-ldconfig.patch?rev=1.1&content-type=text/plain

Index: rust-0.12.0-no-ldconfig.patch
===================================================================
Remove ldconfig(1) execution to prevent the installation script from accessing
outside of a sandbox.

Author: Heather Cynede

diff --git a/src/etc/install.sh b/src/etc/install.sh
index c949743..7c3daa5 100644
--- a/src/etc/install.sh
+++ b/src/etc/install.sh
@@ -466,17 +466,6 @@ while read p; do
 # The manifest lists all files to install
 done < "${CFG_SRC_DIR}/${CFG_LIBDIR_RELATIVE}/rustlib/manifest.in"

-# Run ldconfig to make dynamic libraries available to the linker
-if [ "$CFG_OSTYPE" = "Linux" ]
-    then
-    ldconfig
-    if [ $? -ne 0 ]
-    then
-        warn "failed to run ldconfig."
-        warn "this may happen when not installing as root and may be fine"
-    fi
-fi
-
 # Sanity check: can we run the installed binaries?
 #
 # As with the verification above, make sure the right 
LD_LIBRARY_PATH-equivalent




Reply via email to