diff --git a/xterm.spec b/xterm.spec index fe81b2f..97693bc 100644 --- a/xterm.spec +++ b/xterm.spec @@ -1,7 +1,7 @@ Summary: xterm terminal emulator for the X Window System Name: xterm Version: 207 -Release: 1 +Release: 2 URL: http://dickey.his.com/xterm License: MIT Group: User Interface/X @@ -12,6 +12,7 @@ Patch1: xterm-resources-redhat.patch Patch2: xterm-179-ppc-fix-bug-101472.patch Patch3: xterm-tty-group-name.patch Patch4: xterm-206-appsdir.patch +Patch5: xterm-207-freetype.patch BuildRequires: libXft-devel BuildRequires: freetype-devel BuildRequires: libXrender-devel @@ -44,6 +45,7 @@ programs that can't use the window system directly. %patch1 -p1 -b .resources-redhat %patch3 -p1 -b .tty-group-name %patch4 -p1 -b .appsdir +%patch5 -p1 -b .freetype %build %configure --enable-luit \ @@ -52,6 +54,8 @@ programs that can't use the window system directly. --with-utempter \ --disable-tek4014 \ --enable-narrowproto \ + --with-freetype-cflags='-I/usr/include/freetype2 -I/usr/include/freetype2/config' \ + --with-freetype-libs='-lXft -lX11 -lfreetype -lfontconfig -lXrender' \ --with-app-defaults=%{_sysconfdir}/X11/app-defaults \ %{?_with_256_color:--enable-256-color}; export XTERM_TTY_GROUP_NAME=tty;