Successfully Unbreak Adobe Reader 7.0.8 for the New Linux Emulator
Intron is my alias on the Internet
intron at intron.ac
Wed Jan 3 14:05:28 PST 2007
It's dawning in Beijing now. I'm quite tired. Here, I only summarize
the solution as is. I will write a complete hacking report after a rest.
1. Restore your /sys/compat/linux/linux_file.c to the original revision
1.99 (7.0-CURRENT) if you have applied my yesterday's patch. You have
two convenient ways to do this:
1) Overwrite linux_file.c with linux_file.c.orig backuped by patch(1)
OR
2) Download the revision 1.99 from:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/compat/linux/linux_file.c
2. Apply my new patch for /sys/compat/linux/linux_file.c:
http://ftp.intron.ac/tmp/linux_file.c.2.diff
3. Recompile and reload the module linux.ko.
4. sysctl compat.linux.osrelease=2.6.16
5. Remove ~/.adobe/Acrobat/7.0/UserCache.bin if something troubles you.
My brain is a little foggy now. If I make something wrong, please do not
laugh at me.
Screenshots:
1. FreeBSD Developers' Handbook, Chinese version:
http://ftp.intron.ac/tmp/adobereader-20070104-1.png
2. Unicode 4.1 Code Charts, a page for ancient Chinese characters:
http://ftp.intron.ac/tmp/adobereader-20070104-2.png
3. The English novel Jane Eyre (got from http://www.planetpdf.com/):
http://ftp.intron.ac/tmp/adobereader-20070104-3.png
------------------------------------------------------------------------
From Beijing, China
More information about the freebsd-emulation
mailing list