rpms/dvipdfm/F-9 dvipdfm-0.13.2d-pdfobj-fix.patch, NONE, 1.1 dvipdfm.spec, 1.1, 1.2

Jonathan G. Underwood (jgu) fedora-extras-commits at redhat.com
Sat Jun 28 22:50:53 UTC 2008


Author: jgu

Update of /cvs/extras/rpms/dvipdfm/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7408

Modified Files:
	dvipdfm.spec 
Added Files:
	dvipdfm-0.13.2d-pdfobj-fix.patch 
Log Message:
* Sat Jun 28 2008 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 0.13.2d-39
- Add dvipdfm-0.13.2d-pdfobj-fix.patch to fix BZ 453283 and 228078


dvipdfm-0.13.2d-pdfobj-fix.patch:

--- NEW FILE dvipdfm-0.13.2d-pdfobj-fix.patch ---
diff -up dvipdfm/pdfobj.c.pdfobj-fix dvipdfm/pdfobj.c
--- dvipdfm/pdfobj.c.pdfobj-fix	2001-06-28 20:55:26.000000000 +0100
+++ dvipdfm/pdfobj.c	2008-06-28 23:36:16.000000000 +0100
@@ -620,7 +620,7 @@ void pdf_set_string (pdf_obj *object, un
 int pdf_check_name(const char *name)
 {
   static char *valid_chars =
-    "!\"$&'*+,-.0123456789:;=?@ABCDEFGHIJKLMNOPQRSTUVWXYZ\\^_`abcdefghijklmnopqrstuvwxyz|~";
+    "!\"$&'*#+,-.0123456789:;=?@ABCDEFGHIJKLMNOPQRSTUVWXYZ\\^_`abcdefghijklmnopqrstuvwxyz|~";
   if (strspn (name, valid_chars) == strlen (name))
     return 1;
   else


Index: dvipdfm.spec
===================================================================
RCS file: /cvs/extras/rpms/dvipdfm/F-9/dvipdfm.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dvipdfm.spec	11 May 2008 00:36:32 -0000	1.1
+++ dvipdfm.spec	28 Jun 2008 22:50:10 -0000	1.2
@@ -4,7 +4,7 @@
 
 Name:           dvipdfm
 Version:        0.13.2d
-Release:        38%{?dist}
+Release:        39%{?dist}
 Summary:        A DVI to PDF translator
 
 Group:          Applications/Publishing
@@ -25,6 +25,12 @@
 # The following patch contains miscellaneous fixes taken from the TeXLive 2007 sources
 Patch2:         dvipdfm-0.13.2d-texlive2007.patch
 
+# This patch fixes a bug seen when handling dvi files with included postscript
+# images.
+# https://bugzilla.redhat.com/show_bug.cgi?id=453283
+# https://bugzilla.redhat.com/show_bug.cgi?id=228078
+Patch3:		dvipdfm-0.13.2d-pdfobj-fix.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  zlib-devel kpathsea-devel 
 BuildRequires:  tex(tex)
@@ -46,6 +52,7 @@
 %patch0 -p3 -b .security
 %patch1 -p1 -b .dvipdft-security
 %patch2 -p1 -b .texlive2007
+%patch3 -p1 -b .pdfobj-fix
 
 # Add extra man pages to Makefile.in to ensure they're installed
 sed -i -e 's/manpages=dvipdfm.1/manpages=dvipdfm.1 dvipdft.1 ebb.1/' Makefile.in
@@ -93,6 +100,9 @@
 %{_mandir}/man1/ebb.1*
 
 %changelog
+* Sat Jun 28 2008 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 0.13.2d-39
+- Add dvipdfm-0.13.2d-pdfobj-fix.patch to fix BZ 453283 and 228078
+
 * Sun Apr 27 2008 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 0.13.2d-38
 - Untabify spec file
 - Ensure dvipdft is not executeable in SRPM




More information about the fedora-extras-commits mailing list