--- /dev/null
+diff -up xterm-245/XTerm.ad.resources xterm-245/XTerm.ad
+--- xterm-245/XTerm.ad.resources 2009-02-13 01:14:13.000000000 +0100
++++ xterm-245/XTerm.ad 2009-08-13 12:28:59.000000000 +0200
+@@ -210,3 +210,13 @@
+ !*allowTcapOps: false
+ !*allowTitleOps: false
+ !*allowWindowOps: false
++
++! Red Hat Defaults:
++*allowFontOps: false
++*allowTcapOps: false
++*allowWindowOps: false
++*VT100*eightBitInput: false
++*VT100*metaSendsEscape: true
++*VT100*backarrowKey: false
++*VT100*scrollBar: true
++*VT100*utf8Title: true
--- /dev/null
+diff -up xterm-256/minstall.sh.man-page_paths xterm-256/minstall.sh
+--- xterm-256/minstall.sh.man-page_paths 2010-03-04 00:44:49.000000000 +0100
++++ xterm-256/minstall.sh 2010-03-09 12:11:26.000000000 +0100
+@@ -109,6 +109,10 @@ WTMP_PATH=$WTMP_PATH/$WTMP_NAME
+ X_MANSECT=`man X 2>&1 | tr '\012' '\020' | sed -e 's/^[^0123456789]*\([^) ][^) ]*\).*/\1/'`
+ test -z "$X_MANSECT" && X_MANSECT=$suffix
+
++fontpath=/usr/share/X11/fonts
++xorgcfgdir=/etc/X11
++xorgcfgfil=xorg.conf
++X_MANSECT=7
+ sed -e 's%__vendorversion__%"X Window System"%' \
+ -e s%__apploaddir__%$APPS_DIR% \
+ -e s%__mansuffix__%$MY_MANSECT%g \
+@@ -117,6 +121,9 @@ sed -e 's%__vendorversion__%"X Window Sy
+ -e s%/etc/utmp%$UTMP_PATH%g \
+ -e s%fIwtmp'\\%fI'$WTMP_NAME'\\%g' \
+ -e s%/etc/wtmp%$WTMP_PATH%g \
++ -e s%__fontpath__%$fontpath%g \
++ -e s%__xorgcfgdir__%$xorgcfgdir%g \
++ -e s%__xorgcfgfil__%$xorgcfgfil%g \
+ $OLD_FILE >$NEW_FILE
+
+ echo "$MINSTALL $OLD_FILE $END_FILE"
+diff -up xterm-256/xterm.man.man-page_paths xterm-256/xterm.man
+--- xterm-256/xterm.man.man-page_paths 2010-03-03 23:30:35.000000000 +0100
++++ xterm-256/xterm.man 2010-03-09 12:11:26.000000000 +0100
+@@ -1699,17 +1699,17 @@ Since X11R6, bitmap fonts have been scal
+ The font server claims to provide the bold font that \fIxterm\fP requests,
+ but the result is not always readable.
+ XFree86 provides a feature which can be used to suppress the scaling.
+-In the X server's configuration file (e.g., "/etc/X11/XFree86"), you
++In the X server's configuration file (e.g., __xorgcfgdir__/__xorgcfgfil__), you
+ can add ":unscaled" to the end of the directory specification for the
+ "misc" fonts, which comprise the fixed-pitch fonts that are used by \fIxterm\fP.
+ For example
+ .RS
+- FontPath "/usr/lib/X11/fonts/misc/"
++ FontPath "__fontpath__"
+ .RE
+ .IP
+ would become
+ .RS
+- FontPath "/usr/lib/X11/fonts/misc/:unscaled"
++ FontPath "__fontpath__/misc/:unscaled"
+ .RE
+ .IP
+ Depending on your configuration, the font server may have its own configuration
--- /dev/null
+diff -up xterm-261/xterm.desktop.desk xterm-261/xterm.desktop
+--- xterm-261/xterm.desktop.desk 2010-06-15 12:58:13.000000000 +0200
++++ xterm-261/xterm.desktop 2010-07-02 13:02:56.000000000 +0200
+@@ -32,10 +32,11 @@
+ # -----------------------------------------------------------------------------
+ [Desktop Entry]
+ Name=XTerm
++GenericName=Terminal
+ Comment=standard terminal emulator for the X window system
+ Exec=xterm
+ Terminal=false
+ Type=Application
+ Encoding=UTF-8
+-Icon=xterm-color_48x48
++Icon=gnome-xterm
+ Categories=System;TerminalEmulator;
--- /dev/null
+###############################################################################
+# #
+# IPFire.org - A linux based firewall #
+# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
+# #
+# This program is free software: you can redistribute it and/or modify #
+# it under the terms of the GNU General Public License as published by #
+# the Free Software Foundation, either version 3 of the License, or #
+# (at your option) any later version. #
+# #
+# This program is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
+# GNU General Public License for more details. #
+# #
+# You should have received a copy of the GNU General Public License #
+# along with this program. If not, see <http://www.gnu.org/licenses/>. #
+# #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include $(PKGROOT)/Include
+
+PKG_NAME = xterm
+PKG_VER = 262
+PKG_REL = 0
+
+PKG_MAINTAINER =
+PKG_GROUP = X/Application
+PKG_URL = http://invisible-island.net/xterm/
+PKG_LICENSE = MIT
+PKG_SUMMARY = Terminal emulator for the X Window System.
+
+PKG_BUILD_DEPS+= libXft-devel libXaw-devel libXext-devel libxkbfile-devel \
+ pkg-config
+PKG_DEPS += xorg-x11-server
+
+define PKG_DESCRIPTION
+ The xterm program is a terminal emulator for the X Window System. It \
+ provides DEC VT102 and Tektronix 4014 compatible terminals for \
+ programs that can't use the window system directly.
+endef
+
+PKG_TARBALL = $(THISAPP).tgz
+
+CONFIGURE_OPTIONS += \
+ --mandir=/usr/share/man \
+ --enable-256-color \
+ --enable-exec-xterm \
+ --enable-luit \
+ --enable-warnings \
+ --enable-wide-chars \
+ --with-tty-group=tty \
+ --disable-full-tgetent