[Xcb] Bug#402165: Workarounds for locking assertions in Sun Java 1.5 and 1.6
Thomas Adam
thomas.adam22 at gmail.com
Sat Jun 2 04:31:30 PDT 2007
On 02/06/07, Josh Triplett <josh at freedesktop.org> wrote:
> Matthias Klose wrote:
> > Josh Triplett schrieb:
> >> Would the Debian maintainers of sun-java5-bin and sun-java6-bin please
> >> consider applying these workarounds to the packages, to avoid locking
> >> assertion failures when libx11-6 with Xlib/XCB enters unstable?
> >
> > sorry, we are only allowed to distribute the unmodified package. I know that
> > this is not the best situation.
>
> How about running sed in the postinst?
>
> Barring that, how about shipping an executable script /usr/share/doc/sun-java{5,6}-bin/unbreak-my-java ?
I'd rather you didn't use:
sed -ie '/...../' < ./some_fille
Whilst it's _probably_ going to work, in-place editing is still new
and non-portable. After all, it's only really doing:
sed -e '/...../' < ./some_file > ./temp && mv ./temp ./some_file
-- Thomas Adam
More information about the Xcb
mailing list