summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2004-02-29 19:12:41 +0000
committerMartin Schlemmer <azarah@gentoo.org>2004-02-29 19:12:41 +0000
commit59ff0c530030fa787ec66d07881396817dcf8461 (patch)
tree09105dde5c86dc3506097517d3f5d075266fb3c9 /sys-libs/ncurses/files
parentVersion bump (diff)
downloadhistorical-59ff0c530030fa787ec66d07881396817dcf8461.tar.gz
historical-59ff0c530030fa787ec66d07881396817dcf8461.tar.bz2
historical-59ff0c530030fa787ec66d07881396817dcf8461.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.patch13
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.