I have a patch which allows you to preserve a symbolic link when Pine rewrites a file. For example, if your .pinerc file is a symbolic link to another file, when Pine rewrites the .pinerc file, the symbolic link is lost. This patch will preserve that symbolic link. Eduardo Chappa already has this patch: http://www.math.washington.edu/~chappa/pine/info/rename-symlink.html Dunno why he doesn't include it in chappa-all.patch.gz? If you save this patch in the files directory, then the ebuild can use epatch to patch the affected file as follows. --- pine-4.61.ebuild.orig 2004-07-28 11:18:32.258662027 -0400 +++ pine-4.61.ebuild 2004-07-28 11:18:33.849497506 -0400 @@ -70,6 +70,8 @@ #epatch "${FILESDIR}/pine-4.33-whitespace.patch" # Bug #23336 - makes pine transparent in terms that support it. epatch "${FILESDIR}/transparency.patch" + # preserve symbolic links when writing files + epatch "${FILESDIR}/${P}-preserve-symlink.patch" if use debug ; then sed -e "s:-g -DDEBUG -DDEBUGJOURNAL:${CFLAGS} -g -DDEBUG -DDEBUGJOURNAL:" \
Created attachment 36333 [details, diff] preserve symlinks when writing files
Perhaps you have already forgotten about this, but our bugzilla hasn't. :) The patch is included in pine-4.64-r5, which was just committed to CVS. Allow some time for updated chappa-all patchset to distribute on distfiles mirrors.