rpms/xdvik/devel xdvik-22.84.13-bad_bar.patch, NONE, 1.1 xdvik.spec, 1.5, 1.6

Jonathan G. Underwood (jgu) fedora-extras-commits at redhat.com
Mon Jan 21 00:04:12 UTC 2008


Author: jgu

Update of /cvs/extras/rpms/xdvik/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29049

Modified Files:
	xdvik.spec 
Added Files:
	xdvik-22.84.13-bad_bar.patch 
Log Message:
* Mon Jan  21 2008 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 22.84.13-9
- Add patch to fix segfault on double full screen toggle BZ 429429 (Michal Jaegermann)


xdvik-22.84.13-bad_bar.patch:

--- NEW FILE xdvik-22.84.13-bad_bar.patch ---
--- xdvik-22.84.13/texk/xdvik/events.c~	2008-01-20 16:15:02.000000000 -0700
+++ xdvik-22.84.13/texk/xdvik/events.c	2008-01-20 16:18:05.000000000 -0700
@@ -2599,7 +2599,7 @@ Act_fullscreen(Widget w, XEvent *event,
 	XtVaGetValues(globals.widgets.clip_widget, XtNy, &get_y, NULL);
 	curr_y = -(get_y - window_y);
 	if (curr_y - orig_y > 0)
-	    XtCallCallbacks(globals.widgets.x_bar, XtNscrollProc, (XtPointer)(curr_y - orig_y));
+	    XtCallCallbacks(globals.widgets.y_bar, XtNscrollProc, (XtPointer)(curr_y - orig_y));
 #endif /* MOTIF */
     }
     handle_x_scroll(NULL, NULL, NULL, NULL);


Index: xdvik.spec
===================================================================
RCS file: /cvs/extras/rpms/xdvik/devel/xdvik.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- xdvik.spec	19 Jan 2008 14:10:51 -0000	1.5
+++ xdvik.spec	21 Jan 2008 00:03:30 -0000	1.6
@@ -5,7 +5,7 @@
 Summary:        An X viewer for DVI files
 Name:           xdvik
 Version:        22.84.13
-Release:        8%{?dist}
+Release:        9%{?dist}
 Url:            http://xdvi.sourceforge.net/
 # encodings.c is GPLv2+ and LGPL and MIT
 # read-mapfile.c tfmload.c are from dvips
@@ -45,6 +45,7 @@
 Patch5:         xdvik-22.84.13-xdgopen.patch
 Patch6:         xdvik-22.84.13-tempfix.patch
 Patch7:		xdvik-22.84.13-manpage.patch
+Patch8:		xdvik-22.84.13-bad_bar.patch
 
 %if %{with japanese}
 # Japanese patch for xdvi from http://sourceforge.jp/projects/xdvi/
@@ -83,6 +84,9 @@
 %patch6 -p1 -b .tempfix
 %patch7 -p0
 
+# Fix for a double Ctrl-L segfault (BZ #429429)
+%patch8 -p1
+
 # Allow Xaw3d enabled build of xdvi
 sed -i 's|/Xaw/|/Xaw3d/|' texk/xdvik/gui/*.[ch] texk/xdvik/*.[ch]
 
@@ -258,6 +262,9 @@
 %endif
 
 %changelog
+* Mon Jan  21 2008 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 22.84.13-9
+- Add patch to fix segfault on double full screen toggle BZ 429429 (Michal Jaegermann)
+
 * Sat Jan  19 2008 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 22.84.13-8
 - Add patch to fix spelling errors in manpage, derived from patch by A. Costa
   (BZ 429396)




More information about the fedora-extras-commits mailing list