Something like this (install at least build-essential and fakeroot packages first): apt-get source x11-common cd xorg-7.2 patch -p1 -i /path/to/thefix.diff (or edit the debian/x11-common.config.in by hand) dpkg-buildpackage -rfakeroot -uc -us -b
- install the .deb with dpkg -i x11-common-XYZ.deb - test with dpkg-reconfigure x11-common (try inputing various strings, illegal numbers) -- x11-common have an important debconf bug https://launchpad.net/bugs/68267 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs