rpms/xfig/devel xfig-3.2.5-rh494193.patch, NONE, 1.1 xfig.spec, 1.59, 1.60
Hans de Goede
jwrdegoede at fedoraproject.org
Wed Apr 8 14:47:24 UTC 2009
Author: jwrdegoede
Update of /cvs/extras/rpms/xfig/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21824
Modified Files:
xfig.spec
Added Files:
xfig-3.2.5-rh494193.patch
Log Message:
* Wed Apr 8 2009 Hans de Goede <hdegoede at redhat.com> 3.2.5-19.a
- Fix crash when printing (#494193), thanks to Ian Dall for the patch
xfig-3.2.5-rh494193.patch:
--- NEW FILE xfig-3.2.5-rh494193.patch ---
diff -up xfig.3.2.5a/w_print.c~ xfig.3.2.5a/w_print.c
--- xfig.3.2.5a/w_print.c~ 2009-04-08 16:44:24.000000000 +0200
+++ xfig.3.2.5a/w_print.c 2009-04-08 16:45:35.000000000 +0200
@@ -958,7 +958,7 @@ void create_print_panel(Widget w)
var and put it into the widget */
if (emptyname(printer_val)) {
printer_val=getenv("PRINTER");
- if (strchr(printer_val,'\\')) {
+ if (printer_val && strchr(printer_val,'\\')) {
buf[0]='\0';
len=0;
for (i=0; i<strlen(printer_val); i++) {
Index: xfig.spec
===================================================================
RCS file: /cvs/extras/rpms/xfig/devel/xfig.spec,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- xfig.spec 28 Mar 2009 09:00:01 -0000 1.59
+++ xfig.spec 8 Apr 2009 14:46:54 -0000 1.60
@@ -3,7 +3,7 @@
Summary: An X Window System tool for drawing basic vector graphics
Name: xfig
Version: 3.2.5
-Release: 18.a%{?dist}
+Release: 19.a%{?dist}
License: MIT
Group: Applications/Multimedia
URL: http://www.xfig.org/
@@ -28,6 +28,7 @@
Patch17: xfig-3.2.5-rh490257.patch
Patch18: xfig-3.2.5-rh490259.patch
Patch19: xfig-3.2.5-debian.patch
+Patch20: xfig-3.2.5-rh494193.patch
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
@@ -106,6 +107,7 @@
%patch17 -p1
%patch18 -p1
%patch19 -p1
+%patch20 -p1
rm Doc/html/images/sav1a0.tmp
@@ -194,6 +196,9 @@
%changelog
+* Wed Apr 8 2009 Hans de Goede <hdegoede at redhat.com> 3.2.5-19.a
+- Fix crash when printing (#494193), thanks to Ian Dall for the patch
+
* Fri Mar 27 2009 Hans de Goede <hdegoede at redhat.com> 3.2.5-18.a
- Rebase to new upstream 3.2.5a release, this was made available to me by
the Debian maintainer who is in contact with upstream, which appearantly
More information about the scm-commits
mailing list