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)
Something like this (install at least build-essential and fakeroot packages first): thefix. diff (or edit the debian/ x11-common. config. in by hand)
apt-get source x11-common
cd xorg-7.2
patch -p1 -i /path/to/
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)