I know it sounds evil, but what about executing this command in postinst?

greetings,      
Erik


Romain Beauxis schrieb:
Le Saturday 03 November 2007 10:49:21 Erik Andresen, vous avez écrit :
With the new 8.42.3 I see a corruption in the lower right corner with my
Radeon 9800 (r300).
This is an upstream issue, a fix is available at

http://www.rage3d.com/board/showpost.php?p=1335043887&postcount=6

Right now I can not connect to rage3d.com, so here it comes:

#!/bin/bash

DRIVER=/usr/lib/xorg/modules/drivers/fglrx_drv.so
TMPDRV=/tmp/fglrx_drv.so
cp $DRIVER $TMPDRV
for x in $(objdump -d $DRIVER|awk '/call/&&/Logo/{print
"\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6}'); do sed -i
"s/$x/\x90\x90\x90\x90\x90/g" $TMPDRV
done

cp --remove-destination $TMPDRV $DRIVER

This fixed the issue for me.

Thanks, but I fear we cannot apply such modification since license doesn't allow to distribute modified binaries..


Romain


--
Whenever you find that you are on the side of the majority, it is time
to reform.
-- Mark Twain


Reply via email to