upgraded tarball to version 3.2.7a
This commit is contained in:
parent
6506aa3bdf
commit
5803d74de4
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ transfig.3.2.5c.tar.gz
|
||||
/transfig.3.2.5d.tar.gz
|
||||
/fig2dev-3.2.6.tar.xz
|
||||
/fig2dev-3.2.6a.tar.xz
|
||||
/fig2dev-3.2.7a.tar.xz
|
||||
|
@ -1,38 +0,0 @@
|
||||
diff -up fig2dev-3.2.6a/fig2dev/read.c.orig fig2dev-3.2.6a/fig2dev/read.c
|
||||
--- fig2dev-3.2.6a/fig2dev/read.c.orig 2017-01-07 23:01:19.000000000 +0100
|
||||
+++ fig2dev-3.2.6a/fig2dev/read.c 2017-11-21 15:17:31.195643198 +0100
|
||||
@@ -1329,8 +1329,14 @@ read_textobject(FILE *fp)
|
||||
| PSFONT_TEXT;
|
||||
|
||||
/* keep the font number reasonable */
|
||||
- if (t->font > MAXFONT(t))
|
||||
+ if (t->font > MAXFONT(t)) {
|
||||
t->font = MAXFONT(t);
|
||||
+ } else if (t->font < 0 ) {
|
||||
+ if (psfont_text(t) && t->font < -1)
|
||||
+ t->font = -1;
|
||||
+ else
|
||||
+ t->font = 0;
|
||||
+ }
|
||||
fix_and_note_color(&t->color);
|
||||
t->comments = attach_comments(); /* attach any comments */
|
||||
return t;
|
||||
diff -up fig2dev-3.2.6a/fig2dev/read1_3.c.orig fig2dev-3.2.6a/fig2dev/read1_3.c
|
||||
--- fig2dev-3.2.6a/fig2dev/read1_3.c.orig 2016-08-19 21:34:38.000000000 +0200
|
||||
+++ fig2dev-3.2.6a/fig2dev/read1_3.c 2017-11-21 15:17:31.196643206 +0100
|
||||
@@ -470,6 +470,15 @@ read_textobject(FILE *fp)
|
||||
free((char*) t);
|
||||
return(NULL);
|
||||
}
|
||||
+ /* keep the font number within valid range */
|
||||
+ if (t->font > MAXFONT(t)) {
|
||||
+ t->font = MAXFONT(t);
|
||||
+ } else if (t->font < 0 ) {
|
||||
+ if (psfont_text(t) && t->font < -1)
|
||||
+ t->font = -1;
|
||||
+ else
|
||||
+ t->font = 0;
|
||||
+ }
|
||||
(void)strcpy(t->cstring, buf);
|
||||
if (t->size == 0) t->size = 18;
|
||||
return(t);
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (fig2dev-3.2.6a.tar.xz) = 082c4d75c66187dc2bd7f3a50b6e117f03f495030fa89d6f70270e15b8f00647a94365e10797c5b1889b4ed1400d3fa6f4a3821e744c79b4483403a930e7d77f
|
||||
SHA512 (fig2dev-3.2.7a.tar.xz) = 63c7316cf40a276e7c602ab8e20d8b26f582f201597327f83d1957839a80cdd0666cc6a886a7eb7f615090d740c89bb3d2858c49d33df36e31ed7c1beabf6a43
|
||||
|
@ -1,12 +1,11 @@
|
||||
Name: transfig
|
||||
Version: 3.2.6a
|
||||
Release: 6%{?dist}
|
||||
Version: 3.2.7a
|
||||
Release: 1%{?dist}
|
||||
Epoch: 1
|
||||
Summary: Utility for converting FIG files (made by xfig) to other formats
|
||||
License: MIT
|
||||
URL: https://sourceforge.net/projects/mcj/
|
||||
Source0: http://downloads.sourceforge.net/mcj/fig2dev-%{version}.tar.xz
|
||||
Patch1: fig2dev-3.2.6a-CVE-2017-16899.patch
|
||||
|
||||
Requires: ghostscript
|
||||
Requires: bc
|
||||
@ -43,12 +42,14 @@ make %{?_smp_mflags}
|
||||
%{_bindir}/fig2dev
|
||||
%{_bindir}/fig2ps2tex
|
||||
%{_bindir}/pic2tpic
|
||||
%{_datadir}/fig2dev/bitmaps/*.bmp
|
||||
%{_datadir}/fig2dev/i18n/*.ps
|
||||
%{_datadir}/fig2dev/rgb.txt
|
||||
%{_mandir}/man1/*.1.gz
|
||||
|
||||
%changelog
|
||||
* Thu Jun 06 2019 Ondrej Dubaj <odubaj@redhat.com> - 1:3.2.7a-1
|
||||
- Updated to version 3.2.7a
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.2.6a-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user