x48 broken with X.org 7.4

Esa Karkkainen ejk at iki.fi
Sun Apr 5 17:56:40 UTC 2009


On Wed, Feb 18, 2009 at 12:47:10PM -0700, Warren Block wrote:
> That's about what it looks like here on a Radeon.  My guess would be the 
> emulator is using an outdated assumption in drawing the calculator's 
> display bitmap.

I had some spare time and I fiddled with this port.

I found out that when I disabled XShm extension, the x48 "display"
corruption disappeared, as you can see from this screenshot:

http://koti.welho.com/ekarkkai/x48_snap_4.jpg

If you want to try this in your system, you can do it following these
copy&paste instructions:

# pkg_delete x48-0.4.3_1
# cd ports/emulators/x48
# make patch
# cd work/x48-0.4.3
# sed -i .orig -e 's|^#define HAVE_XSHM$|/* & */|' config.h
# cd ../..
# make all
# make install
# make clean

I'll probably submit a PR today.

-- 
"In the beginning the Universe was created. This has made a lot of
people very angry and been widely regarded as a bad move."
        -- Douglas Adams 1952 - 2001


More information about the freebsd-x11 mailing list