rpms/xterm/devel xterm-242-xbell.patch, NONE, 1.1 xterm.spec, 1.72, 1.73

Miroslav Lichvar mlichvar at fedoraproject.org
Mon Mar 2 12:52:50 UTC 2009


Author: mlichvar

Update of /cvs/pkgs/rpms/xterm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2543

Modified Files:
	xterm.spec 
Added Files:
	xterm-242-xbell.patch 
Log Message:
- fix bell (#487829)


xterm-242-xbell.patch:

--- NEW FILE xterm-242-xbell.patch ---
# patch by Thomas E. Dickey <dickey at invisible-island.net>
# created  Sat Feb 28 16:00:38 UTC 2009
# ------------------------------------------------------------------------------
# misc.c         |   16 +++++++---------
# version.h      |    4 ++--
# xterm.log.html |   10 +++++++++-
# 3 files changed, 18 insertions(+), 12 deletions(-)
# ------------------------------------------------------------------------------
Index: misc.c
--- xterm-242+/misc.c	2009-02-13 23:39:29.000000000 +0000
+++ xterm-242a/misc.c	2009-02-28 15:37:30.000000000 +0000
@@ -1,4 +1,4 @@
-/* $XTermId: misc.c,v 1.405 2009/02/13 23:39:29 tom Exp $ */
+/* $XTermId: misc.c,v 1.406 2009/02/28 15:37:30 tom Exp $ */
 
 /*
  *
@@ -821,16 +821,14 @@
 void
 xtermBell(XtermWidget xw, int which, int percent)
 {
-    if (percent > 0) {
-	TScreen *screen = TScreenOf(xw);
+    TScreen *screen = TScreenOf(xw);
 #if defined(HAVE_XKB_BELL_EXT)
-	Atom tony = AtomBell(xw, which);
-	if (tony != None) {
-	    XkbBell(screen->display, VShellWindow, percent, tony);
-	} else
+    Atom tony = AtomBell(xw, which);
+    if (tony != None) {
+	XkbBell(screen->display, VShellWindow, percent, tony);
+    } else
 #endif
-	    XBell(screen->display, percent);
-    }
+	XBell(screen->display, percent);
 }
 
 void


Index: xterm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xterm/devel/xterm.spec,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- xterm.spec	26 Feb 2009 12:09:49 -0000	1.72
+++ xterm.spec	2 Mar 2009 12:52:20 -0000	1.73
@@ -1,7 +1,7 @@
 Summary: Terminal emulator for the X Window System
 Name: xterm
 Version: 242
-Release: 2%{?dist}
+Release: 3%{?dist}
 URL: http://dickey.his.com/xterm
 License: MIT
 Group: User Interface/X
@@ -16,6 +16,7 @@
 Patch1: xterm-242-resources.patch
 Patch2: xterm-222-can-2003-0063.patch
 Patch3: xterm-226-man-page_paths.patch
+Patch4: xterm-242-xbell.patch
 
 %bcond_with trace
 
@@ -32,6 +33,7 @@
 %patch1 -p1 -b .resources
 %patch2 -p1 -b .can-2003-0063
 %patch3 -p1 -b .man-page_paths
+%patch4 -p1 -b .xbell
 
 %build
 %configure \
@@ -82,6 +84,9 @@
 %{x11_app_defaults_dir}/XTerm-color
 
 %changelog
+* Mon Mar 02 2009 Miroslav Lichvar <mlichvar at redhat.com> 242-3
+- fix bell (#487829)
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 242-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list