* The xterm.h includes have been adjusted so that AltGr works with Xorg.
  Patch: xorg-altgr-fix.diff
  Provided-by: Jerome Marant <mlang@debian.org>
  Applied-by: Jerome Marant <jerome@debian.org>
  Date: Sun,  7 Aug 2005 19:08:21 +0200
  Status: appears to be incorporated upstream

  Xutil.h is now included after after keysym.h in xterm.h to work
  around a bug in Xorg which caused AltGr to be recognised
  incorrectly.

diff -urNad --exclude=CVS --exclude=.svn ./src/xterm.h /tmp/dpep-work.K20gf1/emacs21-21.4a/src/xterm.h
--- ./src/xterm.h	2002-02-22 11:41:44.000000000 +0100
+++ /tmp/dpep-work.K20gf1/emacs21-21.4a/src/xterm.h	2005-08-07 19:06:04.000000000 +0200
@@ -21,8 +21,8 @@
 
 #include <X11/Xlib.h>
 #include <X11/cursorfont.h>
-#include <X11/Xutil.h>
 #include <X11/keysym.h>
+#include <X11/Xutil.h>
 #include <X11/Xatom.h>
 #include <X11/Xresource.h>
 
