diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2004-02-29 19:12:41 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2004-02-29 19:12:41 +0000 |
commit | d7fb697ecf17a97b7909ce989b03985772f8c0b2 (patch) | |
tree | 6e1b2c781fb31f37f9c25ac2727f37b809318331 /sys-libs/ncurses/files | |
parent | Version bump (Manifest recommit) (diff) | |
download | gentoo-2-d7fb697ecf17a97b7909ce989b03985772f8c0b2.tar.gz gentoo-2-d7fb697ecf17a97b7909ce989b03985772f8c0b2.tar.bz2 gentoo-2-d7fb697ecf17a97b7909ce989b03985772f8c0b2.zip |
Sed replaces all 'share' in patch with 'lib', which causes sandbox errors with
a PORTAGE_TMPDIR with 'share' in it, bug #42336.
Patch by gna <gnagent2@yahoo.com.au>.
Diffstat (limited to 'sys-libs/ncurses/files')
-rw-r--r-- | sys-libs/ncurses/files/ncurses-5.3-share-sed.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-libs/ncurses/files/ncurses-5.3-share-sed.patch b/sys-libs/ncurses/files/ncurses-5.3-share-sed.patch new file mode 100644 index 000000000000..f069ac6c895e --- /dev/null +++ b/sys-libs/ncurses/files/ncurses-5.3-share-sed.patch @@ -0,0 +1,13 @@ +diff -urN ncurses-5.3/misc/run_tic.in ncurses-5.3.share/misc/run_tic.in +--- ncurses-5.3/misc/run_tic.in 2001-10-14 08:44:33.000000000 +0800 ++++ ncurses-5.3.share/misc/run_tic.in 2004-02-21 15:46:09.000000000 +0800 +@@ -81,7 +81,8 @@ + umask 022 + + # Construct the name of the old (obsolete) pathname, e.g., /usr/lib/terminfo. +-TICDIR=`echo $TERMINFO | sed -e 's@/share/@/lib/@'` ++# make sure only last share directory in the $TERMINFO path is changed to lib ++TICDIR=`echo $TERMINFO | sed -e 's@/share/terminfo$@/lib/terminfo@'` + + # Remove the old terminfo stuff; we don't care if it existed before, and it + # would generate a lot of confusing error messages if we tried to overwrite it. |