Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 111790 Details for
Bug 168988
dev-perl/XML-SAX: protect ParserDetails.ini
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to XML-SAX-0.15.ebuild moving ParserDetails.ini setting to postinst
168988.patch (text/plain), 702 bytes, created by
Martin von Gagern
on 2007-03-02 11:32:25 UTC
(
hide
)
Description:
Patch to XML-SAX-0.15.ebuild moving ParserDetails.ini setting to postinst
Filename:
MIME Type:
Creator:
Martin von Gagern
Created:
2007-03-02 11:32:25 UTC
Size:
702 bytes
patch
obsolete
>--- /usr/portage/dev-perl/XML-SAX/XML-SAX-0.15.ebuild 2007-02-17 16:33:25.000000000 +0100 >+++ /usr/local/portage/dev-perl/XML-SAX/XML-SAX-0.15.ebuild 2007-03-02 11:52:09.000000000 +0100 >@@ -25,8 +25,18 @@ > eval $(perl '-V:installvendorlib') > unpack ${A} > cd "${S}" >+ >+ # never write ParserDetails.ini in install; do that in postinst > sed -i \ >- -e "s,\(-MXML::SAX\),-I${D}/${installvendorlib} \1," \ >+ -e 's/if (\$write_ini_ok)/if (0 \&\& $write_ini_ok)/' \ > Makefile.PL || die >+ > epatch "${FILESDIR}"/encodings.patch > } >+ >+pkg_postinst() { >+ perl-module_pkg_postinst >+ perl -MXML::SAX \ >+ -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" \ >+ || die "error adding parser" >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 168988
: 111790