commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2020-10-03 18:55:00 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new.4249 (New) Package is "transfig" Sat Oct 3 18:55:00 2020 rev:45 rq:838775 version:3.2.7b Changes: --- /work/SRC/openSUSE:Factory/transfig/transfig.changes2020-02-21 16:39:30.925692265 +0100 +++ /work/SRC/openSUSE:Factory/.transfig.new.4249/transfig.changes 2020-10-03 18:55:20.085471141 +0200 @@ -1,0 +2,13 @@ +Wed Sep 30 10:48:31 UTC 2020 - Dr. Werner Fink + +- Add upstream security patches/commits + * 100e27.patch + * 3065eb.patch + * ca48cc.patch + +--- +Tue Sep 29 09:24:16 UTC 2020 - Dr. Werner Fink + +- Do hardening via compile and linker flags + +--- New: 100e27.patch 3065eb.patch ca48cc.patch Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.zLF5Tt/_old 2020-10-03 18:55:20.909472054 +0200 +++ /var/tmp/diff_new_pack.zLF5Tt/_new 2020-10-03 18:55:20.909472054 +0200 @@ -70,6 +70,9 @@ Patch15:4d4e1f.patch Patch16:3165d8.patch Patch17:639c36.patch +Patch18:100e27.patch +Patch19:3065eb.patch +Patch20:ca48cc.patch Patch43:fig2dev-3.2.6-fig2mpdf.patch Patch44:fig2dev-3.2.6-fig2mpdf-doc.patch Patch45:fig2dev-3.2.6a-RGBFILE.patch @@ -127,14 +130,59 @@ %patch15 -p0 -b .sec12 %patch16 -p0 -b .sec13 %patch17 -p0 -b .sec14 +%patch18 -p0 -b .sec15 +%patch19 -p0 -b .sec16 +%patch20 -p0 -b .sec17 %patch43 -p2 -b .mpdf %patch44 -p1 -b .mpdfdoc %patch45 -p1 -b .p45 %build ulimit -v unlimited || : + # + # Used for detection of hardening options of gcc and linker + # + cflags () + { + local flag=$1; shift + local var=$1; shift + test -n "${flag}" -a -n "${var}" || return + case "${!var}" in + *${flag}*) return + esac + case "$flag" in + -Wl,*) + set -o noclobber + echo 'int main () { return 0; }' > ldtest.c + if ${CC:-gcc} -Werror $flag -o /dev/null -xc ldtest.c > /dev/null 2>&1 ; then + eval $var=\${$var:+\$$var\ }$flag + fi + set +o noclobber + rm -f ldtest.c + ;; + *) + if ${CC:-gcc} -Werror $flag -S -o /dev/null -xc /dev/null > /dev/null 2>&1 ; then + eval $var=\${$var:+\$$var\ }$flag + fi + if ${CXX:-g++} -Werror $flag -S -o /dev/null -xc++ /dev/null > /dev/null 2>&1 ; then + eval $var=\${$var:+\$$var\ }$flag + fi + esac + } + CC=gcc CFLAGS="%{optflags} -fno-strict-aliasing -w -D_GNU_SOURCE -std=gnu99 $(getconf LFS_CFLAGS)" +cflags -D_FORTIFY_SOURCE=2 CFLAGS +cflags -fstack-protector CFLAGS +cflags -fstack-protector-strong CFLAGS +cflags -fstack-protector-all CFLAGS +cflags -Wformat CFLAGS +cflags -Wformat-security CFLAGS +cflags -Werror=format-security CFLAGS +cflags -fPIE CFLAGS +cflags -pie LDFLAGS +cflags -Wl,-z,relro LDFLAGS +cflags -Wl,-z,nowLDFLAGS export CC CFLAGS LDFLAGS chmod 755 configure %configure \ ++ 100e27.patch ++ >From 100e2789f8106f9cc0f7e4319c4ee7bda076c3ac Mon Sep 17 00:00:00 2001 From: Thomas Loimer Date: Sun, 16 Feb 2020 13:25:03 +0100 Subject: [PATCH] Modify commit [3165d8]: Use tangent, not secant Use the tangent, not a secant, for short arrows on arcs. --- fig2dev/bound.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git fig2dev/bound.c fig2dev/bound.c index d305ab9..ea97461 100644 --- fig2dev/bound.c +++ fig2dev/bound.c @@ -1102,12 +1102,10 @@ compute_arcarrow_angle(double x1, double y1, double x2, double y2, /* add this to the length */ h += lpt; - /* radius too small for this method, use normal method */ - if (h > 2.0*r) { + /* secant would be too large or too small */ + if (h > 2.0*r || h < 0.01*r) { arc_tangent_int(x1,y1,x2,y2,direction,x,y); return; - } else if (h < thick) { - h = thick; } beta=atan2(dy,dx); -- 2.16.4 ++ 3065eb.patch ++ >From 3065ebc14bb96506429b4ebde3aeb3793c72a66d Mon Sep 17 00:00:00 2001 From: Thomas Loimer Date: Sun, 16 Feb 2020 18:54:01 +0100 Subject: [PATCH] Allow last line of file lacking eol char, #83, #84 If the last line of a fig file does not end with a newline, the code parsing the input could read beyond the allocated buffer. This commit fixes the parsing
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2020-02-21 16:39:29 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new.26092 (New) Package is "transfig" Fri Feb 21 16:39:29 2020 rev:44 rq:775156 version:3.2.7b Changes: --- /work/SRC/openSUSE:Factory/transfig/transfig.changes2020-01-30 09:39:01.913414041 +0100 +++ /work/SRC/openSUSE:Factory/.transfig.new.26092/transfig.changes 2020-02-21 16:39:30.925692265 +0100 @@ -1,0 +2,15 @@ +Tue Feb 11 11:38:01 UTC 2020 - Dr. Werner Fink + +- Add upstream security patches/commits + * 00cded.patch + * 2f8d1a.patch + * 3165d8.patch + * 421afa.patch + * 4d4e1f.patch + * 639c36.patch + * a8.patch + * d6a10d.patch + * d70e4b.patch + * e3cee2.patch + +--- New: 00cded.patch 2f8d1a.patch 3165d8.patch 421afa.patch 4d4e1f.patch 639c36.patch a8.patch d6a10d.patch d70e4b.patch e3cee2.patch Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.gZx22F/_old 2020-02-21 16:39:31.929694271 +0100 +++ /var/tmp/diff_new_pack.gZx22F/_new 2020-02-21 16:39:31.929694271 +0100 @@ -1,7 +1,7 @@ # # spec file for package transfig # -# Copyright (c) 2020 SUSE LLC. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -60,6 +60,16 @@ Patch5: CVE-2019-19746.patch Patch6: c379fe.patch Patch7: CVE-2019-19797.patch +Patch8: 00cded.patch +Patch9: d70e4b.patch +Patch10:d6a10d.patch +Patch11:a8.patch +Patch12:e3cee2.patch +Patch13:421afa.patch +Patch14:2f8d1a.patch +Patch15:4d4e1f.patch +Patch16:3165d8.patch +Patch17:639c36.patch Patch43:fig2dev-3.2.6-fig2mpdf.patch Patch44:fig2dev-3.2.6-fig2mpdf-doc.patch Patch45:fig2dev-3.2.6a-RGBFILE.patch @@ -107,15 +117,25 @@ %patch5 -p0 -b .sec2 %patch6 -p0 -b .sec3 %patch7 -p0 -b .sec4 +%patch8 -p0 -b .sec5 +%patch9 -p0 -b .sec6 +%patch10 -p0 -b .sec7 +%patch11 -p0 -b .sec8 +%patch12 -p0 -b .sec9 +%patch13 -p0 -b .sec10 +%patch14 -p0 -b .sec11 +%patch15 -p0 -b .sec12 +%patch16 -p0 -b .sec13 +%patch17 -p0 -b .sec14 %patch43 -p2 -b .mpdf %patch44 -p1 -b .mpdfdoc %patch45 -p1 -b .p45 %build +ulimit -v unlimited || : CC=gcc -CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -w -D_GNU_SOURCE -std=gnu99" -CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" -export CC CFLAGS +CFLAGS="%{optflags} -fno-strict-aliasing -w -D_GNU_SOURCE -std=gnu99 $(getconf LFS_CFLAGS)" +export CC CFLAGS LDFLAGS chmod 755 configure %configure \ --docdir=%{_defaultdocdir}/%{name} \ ++ 00cded.patch ++ >From 00cdedac7a0b029846dee891769a1e77df83a01b Mon Sep 17 00:00:00 2001 From: Thomas Loimer Date: Sat, 25 Jan 2020 15:04:59 +0100 Subject: [PATCH] Accept -1 as default TeX font, fixes ticket #81 The default for PostScript fonts is -1, for TeX fonts 0. Accepting -1 for TeX fonts lead to out-of-bound read. Now, -1 for TeX fonts is converted to 0. --- fig2dev/dev/genpict2e.c | 9 + fig2dev/dev/gentikz.c | 9 + fig2dev/tests/read.at | 10 ++ 3 files changed, 20 insertions(+), 8 deletions(-) diff --git fig2dev/dev/genpict2e.c fig2dev/dev/genpict2e.c index 6ab442e..dd6fd95 100644 --- fig2dev/dev/genpict2e.c +++ fig2dev/dev/genpict2e.c @@ -2223,11 +2223,12 @@ put_font(F_text *t) } if (psfont_text(t)) - fprintf(tfp, "\\usefont%s", - texpsfonts[t->font <= MAX_PSFONT ? t->font + 1 : 0]); + fprintf(tfp, "\\usefont%s", texpsfonts[t->font <= MAX_PSFONT ? + t->font + 1 : 0]); else - fprintf(tfp, "\\normalfont%s ", - texfonts[t->font <= MAX_FONT ? t->font : MAX_FONT - 1]); + /* Default psfont is -1, default texfont 0, also accept -1. */ + fprintf(tfp, "\\normalfont%s ", texfonts[t->font <= MAX_FONT ? + (t->font >= 0 ? t->font : 0) : MAX_FONT - 1]); } void diff --git fig2dev/dev/gentikz.c fig2dev/dev/gentikz.c index 797ca1c..b374e10 100644 --- fig2dev/dev/gentikz.c +++ fig2dev/dev/gentikz.c @@ -1772,11 +1772,12 @@ put_font(F_text *t) } if (psfont_text(t)) - fprintf(tfp, "\\usefont%s", - texpsfonts[t->font <= MAX_PSFONT ? t->font + 1 : 0]); + fprintf(tfp, "\\usefont%s", texpsfonts[t->font <= MAX_PSFONT ? +
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2020-01-30 09:38:23 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new.26092 (New) Package is "transfig" Thu Jan 30 09:38:23 2020 rev:43 rq:768027 version:3.2.7b Changes: --- /work/SRC/openSUSE:Factory/transfig/transfig.changes2019-12-11 12:01:36.968828915 +0100 +++ /work/SRC/openSUSE:Factory/.transfig.new.26092/transfig.changes 2020-01-30 09:39:01.913414041 +0100 @@ -1,0 +2,13 @@ +Tue Jan 21 13:08:49 UTC 2020 - Dr. Werner Fink + +- Avoid auto(re)config + +--- +Tue Jan 21 12:15:46 UTC 2020 - Dr. Werner Fink + +- Add security patches + * CVE-2019-19746.patch -- bsc#1159130 + * c379fe.patch ... currently without CVE and bugzilla entry + * CVE-2019-19797.patch -- bsc#1159293 + +--- New: CVE-2019-19746.patch CVE-2019-19797.patch c379fe.patch Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.ULIjeu/_old 2020-01-30 09:39:03.697414995 +0100 +++ /var/tmp/diff_new_pack.ULIjeu/_new 2020-01-30 09:39:03.701414998 +0100 @@ -1,7 +1,7 @@ # # spec file for package transfig # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -57,6 +57,9 @@ Patch2: transfig.3.2.5-binderman.dif Patch3: transfig.3.2.5d-mediaboxrealnb.dif Patch4: transfig-fix-afl.patch +Patch5: CVE-2019-19746.patch +Patch6: c379fe.patch +Patch7: CVE-2019-19797.patch Patch43:fig2dev-3.2.6-fig2mpdf.patch Patch44:fig2dev-3.2.6-fig2mpdf-doc.patch Patch45:fig2dev-3.2.6a-RGBFILE.patch @@ -101,6 +104,9 @@ %patch2 -p0 -b .bm %patch3 -p0 -b .mbox %patch4 -p1 -b .afl +%patch5 -p0 -b .sec2 +%patch6 -p0 -b .sec3 +%patch7 -p0 -b .sec4 %patch43 -p2 -b .mpdf %patch44 -p1 -b .mpdfdoc %patch45 -p1 -b .p45 ++ CVE-2019-19746.patch ++ Based on 3065abc7b4f740ed6532322843531317de782a26 Mon Sep 17 00:00:00 2001 From: Thomas Loimer Date: Tue, 10 Dec 2019 13:17:36 +0100 Subject: [PATCH] Reject huge arrow types, ticket #57 An arrow type being large enough would pass the test for a valid type by integer overflow. --- fig2dev/arrow.c | 13 - fig2dev/tests/read.at | 12 2 files changed, 20 insertions(+), 5 deletions(-) --- fig2dev/arrow.c +++ fig2dev/arrow.c 2020-01-21 11:02:33.457498151 + @@ -1,9 +1,10 @@ /* * Fig2dev: Translate Fig code to various Devices - * Copyright (c) 1985 by Supoj Sutantavibul * Copyright (c) 1991 by Micah Beck - * Parts Copyright (c) 1989-2002 by Brian V. Smith - * Parts Copyright (c) 2015-2018 by Thomas Loimer + * Parts Copyright (c) 1985-1988 by Supoj Sutanthavibul + * Parts Copyright (c) 1989-2015 by Brian V. Smith + * Parts Copyright (c) 2015-2019 by Thomas Loimer + * * * Any party obtaining a copy of these files is granted, free of charge, a * full and unrestricted irrevocable, world-wide, paid up, royalty-free, @@ -78,7 +79,9 @@ make_arrow(int type, int style, double t { F_arrow *a; - if (style < 0 || style > 1 || type < 0 || (type + 1) * 2 > NUMARROWS) + if (style < 0 || style > 1 || type < 0 || + /* beware of int overflow */ + type > NUMARROWS || (type + 1) * 2 > NUMARROWS) return NULL; if (NULL == (Arrow_malloc(a))) { put_msg(Err_mem); @@ -90,7 +93,7 @@ make_arrow(int type, int style, double t a->type = type; a->style = style; - a->thickness = thickness*THICK_SCALE; + a->thickness = thickness * THICK_SCALE; a->wid = wid; a->ht = ht; return a; --- fig2dev/tests/read.at +++ fig2dev/tests/read.at 2020-01-21 11:02:33.457498151 + @@ -135,6 +135,18 @@ A single point with a backward arrow - r ]) AT_CLEANUP +AT_SETUP([reject huge arrow-type, ticket #57]) +AT_KEYWORDS(arrow.c arrow) +AT_CHECK([fig2dev -L box < Date: Wed, 11 Dec 2019 21:36:46 +0100 Subject: [PATCH] Convert polygons with too few points to polylines As a side effect, this also fixes ticket #56. --- fig2dev/read.c| 16 fig2dev/tests/read.at | 11 +++ 2 files changed, 27 insertions(+) --- fig2dev/read.c +++ fig2dev/read.c 2020-01-21 11:29:27.367140319 + @@ -793,8 +793,10 @@ read_ellipseobject(void) /* * Sanitize line objects. Return 0 on success, -1 otherwise. * On
commit transfig for openSUSE:Factory
binMT4uNGLGxF.bin Description: Binary data
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2019-11-03 10:51:41 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new.2990 (New) Package is "transfig" Sun Nov 3 10:51:41 2019 rev:41 rq:743820 version:3.2.7b Changes: --- /work/SRC/openSUSE:Factory/transfig/transfig.changes2019-08-19 20:48:59.569077841 +0200 +++ /work/SRC/openSUSE:Factory/.transfig.new.2990/transfig.changes 2019-11-03 10:51:42.718519430 +0100 @@ -1,0 +2,51 @@ +Tue Oct 29 11:07:12 UTC 2019 - Dr. Werner Fink + +- Update to fig2dev version 3.2.7 (Patchlevel 7b (Oct 2019) + o A X color database is not needed, but can be provided. The location of +the database can be given at compile time, default /etc/X11/rgb.txt. + Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#. + Debian bug numbers refer to https://bugs.debian.org/#. + o Do not clip objects with line-thickness 0 having arrows. Ticket #53. + o Do not segfault on circle/half circle arrowheads with a magnification +larger 42. Always draw circle arrowheads with 40 points. Ticket #52. + o Allow circles or ellipses with negative radii. Ticket #49. + o Avoid "dimension too large error" with tikz output by avoiding +coordinate values smaller than -16383. + o Make tests (test1.c) work with -fsanitize=address compiler option. + o Obey join-style of lines in tikz output. + o Pass utf8-strings to svg output, escape some chars (<>&). + o Accept inclined boxes and change them to polygons. Fixes ticket #43. + o Make tests #27 and #33 work on Mac Darwin, failed due to whitespace +formatting differences. From Hanspeter Niederstrasser. Ticket #40. + o Use only latex, neither etex or tex, to test tikz output. Usage of +etex, after hint from Roland Rosenfeld, closed debian bug 920368. + o For tikz output, do not draw arrows on a single point line. + o Omit spurious showpage when including jpg-file. From Rainer Buchty. + o Correct a few memory leaks and corruptions. See commit d1c54f6. + o Change negative color numbers to default color. Fixes ticket #30. + o A spline with one point would cause segfault. Fixed, see ticket #29. + o Allow one char without newline in the last line of an input file. +Fixes ticket #28. + o Harden input, mainly against files in which an incomplete object would +be created and freeing the object would violate memory, i.e, it may +cause segfault. See, e.g., ticket #27. + o Properly initalize line storage when reading fig files version 1.3. +Would segfault when reading incomplete line and trying to free it. +Fixes ticket #26, debian bug 906743. + o Silently ignore the hundred-first and more comment lines. This +fixes ticket #25 and debian bug 906740. + o Use SetFigFont, not SetFigFontNFSS in pictex output. Fixes +https://bugs.launchpad.net/ubuntu/+source/transfig/+bug/1359485 . + o Accept blanks in color names (e.g., fig2dev -L eps -g"Misty Rose"..). + o Correct typos in man-pages, debian 30_man_typo.patch. +- Remove patches now upstream + * fig2dev-3.2.6a-man-typo.patch + * transfig-03ea4578.patch + * transfig-e0c4b024.patch +- Port patches to new version + * transfig-3.2.6.dif + * transfig-fix-afl.patch + * fig2dev-3.2.6-fig2mpdf.patch + * fig2dev-3.2.6a-RGBFILE.patch + +--- Old: fig2dev-3.2.6a-man-typo.patch fig2dev-3.2.7a.tar.xz transfig-03ea4578.patch transfig-e0c4b024.patch New: fig2dev-3.2.7b.tar.xz Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.jsMeqD/_old 2019-11-03 10:51:43.754520679 +0100 +++ /var/tmp/diff_new_pack.jsMeqD/_new 2019-11-03 10:51:43.758520684 +0100 @@ -45,7 +45,7 @@ Requires: ghostscript-library Requires: netpbm Requires: texlive-epstopdf -Version:3.2.7a +Version:3.2.7b Release:0 Summary:Graphic Converter #Source: http://sourceforge.net/projects/mcj/files/fig2dev-%{version}.tar.xz/download#/fig2dev-%{version}.tar.xz @@ -56,12 +56,9 @@ Patch2: transfig.3.2.5-binderman.dif Patch3: transfig.3.2.5d-mediaboxrealnb.dif Patch4: transfig-fix-afl.patch -Patch5: transfig-e0c4b024.patch -Patch6: transfig-03ea4578.patch Patch43:fig2dev-3.2.6-fig2mpdf.patch Patch44:fig2dev-3.2.6-fig2mpdf-doc.patch Patch45:fig2dev-3.2.6a-RGBFILE.patch -Patch46:fig2dev-3.2.6a-man-typo.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)} %if
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2019-08-19 20:48:58 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new.22127 (New) Package is "transfig" Mon Aug 19 20:48:58 2019 rev:40 rq:723457 version:3.2.7a Changes: --- /work/SRC/openSUSE:Factory/transfig/transfig.changes2018-09-04 22:48:21.779395140 +0200 +++ /work/SRC/openSUSE:Factory/.transfig.new.22127/transfig.changes 2019-08-19 20:48:59.569077841 +0200 @@ -1,0 +2,6 @@ +Thu Aug 15 07:21:49 UTC 2019 - Dr. Werner Fink + +- Add patch transfig-03ea4578.patch from upstream commit 03ea4578 + to fix bsc#1143650 with CVE-2019-14275 + +--- New: transfig-03ea4578.patch Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.1RUGCi/_old 2019-08-19 20:49:00.709077597 +0200 +++ /var/tmp/diff_new_pack.1RUGCi/_new 2019-08-19 20:49:00.709077597 +0200 @@ -1,7 +1,7 @@ # # spec file for package transfig # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -57,6 +57,7 @@ Patch3: transfig.3.2.5d-mediaboxrealnb.dif Patch4: transfig-fix-afl.patch Patch5: transfig-e0c4b024.patch +Patch6: transfig-03ea4578.patch Patch43:fig2dev-3.2.6-fig2mpdf.patch Patch44:fig2dev-3.2.6-fig2mpdf-doc.patch Patch45:fig2dev-3.2.6a-RGBFILE.patch @@ -102,6 +103,7 @@ %patch3 -p0 -b .mbox %patch4 -p1 -b .afl %patch5 -p0 -b .e0c4b024 +%patch6 -p0 -b .03ea4578 %patch43 -p2 -b .mpdf %patch44 -p1 -b .mpdfdoc %patch45 -p1 -b .p45 ++ transfig-03ea4578.patch ++ commit 03ea4578258d2d9ca1ceb080e469ad261db39ef0 Author: Thomas Loimer Date: Fri Jul 26 23:25:50 2019 +0200 Allow circle arrowheads when mag >= 42, ticket #52 Circle and half-circle arrowheads would be drawn with 40 + mag/4 points by calc_arrow() in bound.c. However, the point arrays passed to calc_arrow() would only contain 50 points. With a magnification >= 42, a buffer overrun would occur. Simply use 40 points, independent of magnification. --- fig2dev/bound.c |6 +++--- fig2dev/read1_3.c | 16 +--- fig2dev/tests/read.at | 27 +-- 3 files changed, 37 insertions(+), 12 deletions(-) --- fig2dev/bound.c +++ fig2dev/bound.c 2019-08-15 07:06:42.609509358 + @@ -905,7 +905,7 @@ calc_arrow(int x1, int y1, int x2, int y /* * CIRCLE and HALF-CIRCLE arrowheads * -* We approximate circles with (40+zoom)/4 points +* We approximate circles with 40 points */ double maxx; double fix_x, fix_y, xs, ys; @@ -936,8 +936,8 @@ calc_arrow(int x1, int y1, int x2, int y dy = my - ys; fix_x = xs + (dx / 2.0); fix_y = ys + (dy / 2.0); - /* choose number of points for circle - 40+mag/4 points */ - *npoints = np = round(mag/4.0) + 40; + /* choose number of points for circle */ + *npoints = np = 40; if (type == 5) { /* full circle */ --- fig2dev/read1_3.c +++ fig2dev/read1_3.c 2019-08-15 07:06:42.609509358 + @@ -3,7 +3,7 @@ * Copyright (c) 1991 by Micah Beck * Parts Copyright (c) 1985-1988 by Supoj Sutanthavibul * Parts Copyright (c) 1989-2012 by Brian V. Smith - * Parts Copyright (c) 2015-2018 by Thomas Loimer + * Parts Copyright (c) 2015-2019 by Thomas Loimer * * Any party obtaining a copy of these files is granted, free of charge, a * full and unrestricted irrevocable, world-wide, paid up, royalty-free, @@ -228,13 +228,14 @@ read_compoundobject(FILE *fp) >secorner.x, >secorner.y); if (n != 4) { put_msg("Incorrect compound object format"); + free(com); return(NULL); } while (fscanf(fp, "%d", ) == 1) { switch (object) { case OBJ_POLYLINE : if ((l = read_lineobject(fp)) == NULL) { - free_line(); + free_compound(); return(NULL);
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2018-09-04 22:48:05 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new (New) Package is "transfig" Tue Sep 4 22:48:05 2018 rev:39 rq:632307 version:3.2.7a Changes: --- /work/SRC/openSUSE:Factory/transfig/transfig.changes2018-05-08 13:38:04.587958196 +0200 +++ /work/SRC/openSUSE:Factory/.transfig.new/transfig.changes 2018-09-04 22:48:21.779395140 +0200 @@ -1,0 +2,6 @@ +Thu Aug 30 09:50:10 UTC 2018 - Dr. Werner Fink + +- Add patch transfig-e0c4b024.patch from upstream commit e0c4b024 + to fix bsc#1106531 with CVE-2018-16140 + +--- New: transfig-e0c4b024.patch Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.vMlYOa/_old 2018-09-04 22:48:22.451397452 +0200 +++ /var/tmp/diff_new_pack.vMlYOa/_new 2018-09-04 22:48:22.455397466 +0200 @@ -56,6 +56,7 @@ Patch2: transfig.3.2.5-binderman.dif Patch3: transfig.3.2.5d-mediaboxrealnb.dif Patch4: transfig-fix-afl.patch +Patch5: transfig-e0c4b024.patch Patch43:fig2dev-3.2.6-fig2mpdf.patch Patch44:fig2dev-3.2.6-fig2mpdf-doc.patch Patch45:fig2dev-3.2.6a-RGBFILE.patch @@ -100,6 +101,7 @@ %patch2 -p0 -b .bm %patch3 -p0 -b .mbox %patch4 -p1 -b .afl +%patch5 -p0 -b .e0c4b024 %patch43 -p2 -b .mpdf %patch44 -p1 -b .mpdfdoc %patch45 -p1 -b .p45 ++ transfig-e0c4b024.patch ++ Based on e0c4b02429116b15ad1568c2c425f06b95b95830 Mon Sep 17 00:00:00 2001 From: Thomas Loimer Date: Sat, 25 Aug 2018 20:46:45 +0200 Subject: [PATCH] Harden input in read.c, fixes tickets #27 and #28 Also fixes issues similar to those described in https://sourceforge.net/p/mcj/tickets/27 and https://sourceforge.net/p/mcj/tickets/28. --- fig2dev/dev/readpcx.c |2 - fig2dev/read.c| 48 +- fig2dev/tests/Makefile.am |3 ++ fig2dev/tests/read.at | 44 ++ 4 files changed, 82 insertions(+), 15 deletions(-) --- fig2dev/read.c +++ fig2dev/read.c 2018-08-30 09:47:35.317361612 + @@ -188,12 +188,24 @@ read_objects(FILE *fp, F_compound *obj) int object, coord_sys, len; memset((char*)obj, '\0', COMOBJ_SIZE); + (void) fgets(buf, BUFSIZ, fp); /* get the version line */ + if (strncmp(buf, "#FIG ", 5)) { + put_msg("Incorrect format string in first line of input file."); + return -1; + } + + /* remove newline and any carriage return (from a PC, perhaps) */ len = strlen(buf); - if (len > 0) - buf[len-1] = '\0'; /* remove newline */ - if (len > 1 && buf[len-2] == '\r') - buf[len-2] = '\0'; /* and any CR (from a PC perhaps) */ + if (buf[len-1] == '\n') { + if (buf[len-2] == '\r') + buf[len-2] = '\0'; + else + buf[len-1] = '\0'; + } else {/* fgets() only stops at newline and end-of-file */ + put_msg("File is truncated at first line."); + return -1; + } /* v2_flag is for version 2 or higher */ v2_flag = (!strncmp(buf, "#FIG 2", 6) || !strncmp(buf, "#FIG 3", 6)); @@ -886,6 +898,8 @@ read_lineobject(FILE *fp) l->next = NULL; l->join_style = 0; l->cap_style = 0;/* butt line cap */ + l->pic = NULL; + l->comments = NULL; sscanf(buf,"%*d%d",>type); /* get the line type */ @@ -968,12 +982,18 @@ read_lineobject(FILE *fp) charfile[BUFSIZ], *c; size_t len; - Pic_malloc(l->pic); - l->pic->transp = -1; - if (l->pic == NULL) { + if ((Pic_malloc(l->pic)) == NULL) { free(l); return NULL; } + l->pic->transp = -1; + l->pic->bitmap = NULL; +#ifdef HAVE_X11_XPM_H + /* initialize l->pic->xpmimage by (ab)using a + public libxpm-function */ + XpmCreateXpmImageFromBuffer("", >pic->xpmimage, NULL); +#endif + /* %[^\n]: really, read until first '\0' in buf */ if (get_line(fp) < 0 || sscanf(buf, "%d %[^\n]", >pic->flipped, file) != 2) { @@ -1000,8 +1020,7 @@ read_lineobject(FILE *fp) l->pic->file = malloc(len = strlen(file) + 1); memcpy(l->pic->file, file, len); } - } else - l->pic =
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2018-05-08 13:37:55 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new (New) Package is "transfig" Tue May 8 13:37:55 2018 rev:38 rq:605087 version:3.2.7a Changes: --- /work/SRC/openSUSE:Factory/transfig/transfig.changes2018-03-04 12:51:30.177998186 +0100 +++ /work/SRC/openSUSE:Factory/.transfig.new/transfig.changes 2018-05-08 13:38:04.587958196 +0200 @@ -1,0 +2,56 @@ +Mon May 7 10:28:07 UTC 2018 - wer...@suse.de + +- Update to fig2dev version 3.2.7a (Patchlevel 7a (April 2018)) + o Language previous option current option + + cgm -b dummy-a + epic -A scale-d scale + eepic-A scale-d scale + eepicemu -A scale-d scale + gbx -i on|off -v + ibmgl-m mag,xoff,yoff-m mag -x xoff -y yoff + mp -I file -d file + ps -S dummy-o + o Print language-specific help text by using fig2dev -L lang -h. + o Add option -M, multipage, for MetaPost output language. + o Add option -P, pagemode, and -z to choose a pagesize for pdf output. + o Add option -W (scaling of figures not possible) for tikz. + o Add option -b, border width, for LaTeX output language. + o Add option -f for pstex_t and pdftex_t output language. + o Add uk_UA and ru_RU encodings for PostScript output. Ticket #12. + o Fix regression whereupon flipped ellipses were not read. Ticket #23. + o Distribute i18n files ru_RU.CP1251.ps and uk_UA.KOI8-U.ps. + o Make test "survive debian bug #890016" succeed on 32 bit systems. + o Distribute the X bitmaps files within fig2dev, no need to install +these files. The files were needed for Tk and Perl/Tk output. + o Add option -w, wrap (create stand-alone perl file) for Perl/Tk output. + o Update help text: Output help for dxf and textyl output language, +add description of -g option for Tk/Tcl and Perl/Tk output, allow -f +option for pstex_t and pdftex_t output language. + o Sanitize input. Do not segfault on malformed input files. Fixes debian +bugs 881143, 881144, 881396, 890015, 890016, 882021 and also 882022. + o Do not put an %%Orientation: comment into PostScript output. Some +viewers would rotate the resulting file, others not. + o Fix build on NetBSD, which has a _setmode() function different from +_setmode() on Windows. Ticket #17. Also, avoid alloca(). Ticket #16. + o tikz output: Omit the semicolon after \pgftext[..]{...};. + o Define PostScript patterns with larger tiles, may render better. #13 + o Fix build in case libXpm is missing. Ticket #15. + o Use netpbm programs instead of ghostscript, to produce smaller files. + o Correctly embed eps files with binary preview (epsi, typically +found on Microsoft systems). Also, allow to embed ps-files. Fixes +debian bug 248807, ticket #8. + o For compilation, do not depend on PATH_MAX being defined. +- Remove patches now upstream +fig2dev-3.2.6-genps_oldpatterns.patch +fig2dev-3.2.6a-input-sanitizing.patch +fig2dev-3.2.6a-style-overflow.patch +- Modify patches +fig2dev-3.2.6-fig2mpdf-doc.patch +fig2dev-3.2.6-fig2mpdf.patch +fig2dev-3.2.6a-RGBFILE.patch +transfig-3.2.6.dif +transfig-fix-afl.patch +transfig.3.2.5d-mediaboxrealnb.dif + +--- Old: fig2dev-3.2.6-genps_oldpatterns.patch fig2dev-3.2.6a-input-sanitizing.patch fig2dev-3.2.6a-style-overflow.patch fig2dev-3.2.6a.tar.xz New: fig2dev-3.2.7a.tar.xz Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.9aS3AW/_old 2018-05-08 13:38:05.483925858 +0200 +++ /var/tmp/diff_new_pack.9aS3AW/_new 2018-05-08 13:38:05.487925713 +0200 @@ -45,7 +45,7 @@ Requires: ghostscript-library Requires: netpbm Requires: texlive-epstopdf -Version:3.2.6a +Version:3.2.7a Release:0 Summary:Graphic Converter #Source: http://sourceforge.net/projects/mcj/files/fig2dev-%{version}.tar.xz/download#/fig2dev-%{version}.tar.xz @@ -56,13 +56,10 @@ Patch2: transfig.3.2.5-binderman.dif Patch3: transfig.3.2.5d-mediaboxrealnb.dif Patch4: transfig-fix-afl.patch -Patch42:fig2dev-3.2.6-genps_oldpatterns.patch Patch43:fig2dev-3.2.6-fig2mpdf.patch Patch44:fig2dev-3.2.6-fig2mpdf-doc.patch Patch45:
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2018-03-04 12:51:24 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new (New) Package is "transfig" Sun Mar 4 12:51:24 2018 rev:37 rq:582071 version:3.2.6a Changes: --- /work/SRC/openSUSE:Factory/transfig/transfig.changes2017-12-19 10:50:02.429816665 +0100 +++ /work/SRC/openSUSE:Factory/.transfig.new/transfig.changes 2018-03-04 12:51:30.177998186 +0100 @@ -1,0 +2,6 @@ +Fri Mar 2 15:40:14 UTC 2018 - crrodrig...@opensuse.org + +- Change xorg-x11-devel --> pkgconfig(xpm) +- buildrequire default libpng. + +--- Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.SiUT0t/_old 2018-03-04 12:51:31.245959267 +0100 +++ /var/tmp/diff_new_pack.SiUT0t/_new 2018-03-04 12:51:31.249959122 +0100 @@ -1,7 +1,7 @@ # # spec file for package transfig # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,14 +35,8 @@ BuildRequires: tex(times.sty) BuildRequires: tex(xmpmulti.sty) %endif -%if 0%{?suse_version} > 1120 -BuildRequires: libpng12-compat-devel -BuildRequires: libpng12-devel -%else BuildRequires: libpng-devel -%endif -BuildRequires: xorg-x11 -BuildRequires: xorg-x11-devel +BuildRequires: pkgconfig(xpm) # www.xfig.org is dead Url:http://mcj.sourceforge.net/ Provides: fig2dev
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2017-12-19 10:49:59 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new (New) Package is "transfig" Tue Dec 19 10:49:59 2017 rev:36 rq:544416 version:3.2.6a Changes: --- /work/SRC/openSUSE:Factory/transfig/transfig.changes2017-02-07 12:06:30.903752405 +0100 +++ /work/SRC/openSUSE:Factory/.transfig.new/transfig.changes 2017-12-19 10:50:02.429816665 +0100 @@ -1,0 +2,11 @@ +Wed Nov 22 12:25:21 UTC 2017 - wer...@suse.de + +- Added patches + * fig2dev-3.2.6a-RGBFILE.patch to let rgb.txt be located via +environment variable FIG2DEV_RGBFILE + * fig2dev-3.2.6a-man-typo.patch to fix simple typo in manual page + * fig2dev-3.2.6a-input-sanitizing.patch to do some input +sanitizing when reading FIG files (bsc#1069257, CVE-2017-16899) + * fig2dev-3.2.6a-style-overflow.patch + +--- New: fig2dev-3.2.6a-RGBFILE.patch fig2dev-3.2.6a-input-sanitizing.patch fig2dev-3.2.6a-man-typo.patch fig2dev-3.2.6a-style-overflow.patch Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.izhg4e/_old 2017-12-19 10:50:03.493765304 +0100 +++ /var/tmp/diff_new_pack.izhg4e/_new 2017-12-19 10:50:03.493765304 +0100 @@ -54,9 +54,9 @@ Version:3.2.6a Release:0 Summary:Graphic Converter +#Source: http://sourceforge.net/projects/mcj/files/fig2dev-%{version}.tar.xz/download#/fig2dev-%{version}.tar.xz License:MIT Group: Productivity/Graphics/Convertors -#Source: http://sourceforge.net/projects/mcj/files/fig2dev-%{version}.tar.xz/download#/fig2dev-%{version}.tar.xz Source: fig2dev-%{version}.tar.xz Patch0: transfig-3.2.6.dif Patch2: transfig.3.2.5-binderman.dif @@ -65,6 +65,10 @@ Patch42:fig2dev-3.2.6-genps_oldpatterns.patch Patch43:fig2dev-3.2.6-fig2mpdf.patch Patch44:fig2dev-3.2.6-fig2mpdf-doc.patch +Patch45:fig2dev-3.2.6a-RGBFILE.patch +Patch46:fig2dev-3.2.6a-man-typo.patch +Patch47:fig2dev-3.2.6a-input-sanitizing.patch +Patch48:fig2dev-3.2.6a-style-overflow.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)} %if "%_exec_prefix" == "/usr/X11R6" @@ -108,6 +112,10 @@ %patch42 -p2 -b .oldp %patch43 -p2 -b .mpdf %patch44 -p1 -b .mpdfdoc +%patch45 -p1 -b .p45 +%patch46 -p1 -b .p46 +%patch47 -p1 -b .p47 +%patch48 -p1 -b .p48 %build CC=gcc ++ fig2dev-3.2.6a-RGBFILE.patch ++ From: Roland RosenfeldSubject: rgb.txt can not be located via FIG2DEV_RGBFILE environment variable. This allows to run the test suite without the package being installed before. --- a/fig2dev/colors.c +++ b/fig2dev/colors.c @@ -27,6 +27,7 @@ #include "pi.h" #include "fig2dev.h" +#include struct color_db { char*name; @@ -108,10 +109,15 @@ read_colordb(void) char s[100], s1[100], *c1, *c2; unsigned short r,g,b; struct color_db*col; +char *rgbfile; -fp = fopen(RGB_FILE, "r"); +rgbfile = getenv("FIG2DEV_RGBFILE"); +if (rgbfile == NULL) { + rgbfile = RGB_FILE; +} +fp = fopen(rgbfile, "r"); if (fp == NULL) { - fprintf(stderr,"Couldn't open the RGB database file '%s'\n", RGB_FILE); + fprintf(stderr,"Couldn't open the RGB database file '%s'\n", rgbfile); return -1; } if ((Xcolors = (struct color_db*) malloc(maxcolors*sizeof(struct color_db))) ++ fig2dev-3.2.6a-input-sanitizing.patch ++ Description: Some input sanitizing when reading FIG files. Bug-Debian: https://bugs.debian.org/881143 Bug-Debian: https://bugs.debian.org/881144 Author: Thomas Loimer --- a/fig2dev/read.c +++ b/fig2dev/read.c @@ -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(>color); t->comments = attach_comments();/* attach any comments */ return t; --- a/fig2dev/read1_3.c +++ b/fig2dev/read1_3.c @@ -470,6 +470,15 @@ read_textobject(FILE *fp) free((char*) t);
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2017-02-07 12:06:29 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new (New) Package is "transfig" Changes: --- /work/SRC/openSUSE:Factory/transfig/transfig.changes2015-04-22 01:15:40.0 +0200 +++ /work/SRC/openSUSE:Factory/.transfig.new/transfig.changes 2017-02-07 12:06:30.903752405 +0100 @@ -1,0 +2,96 @@ +Mon Feb 6 11:23:24 UTC 2017 - wer...@suse.de + +- Fix now failing download source service, that is don't do this + +--- +Thu Feb 2 13:44:43 UTC 2017 - wer...@suse.de + +- Update to fig2dev version 3.2.6a (Patchlevel 6a (January 2017)) + NEW FEATURES: +o Distribute transfig.pdf. No need to build it from the TeX sources. +o Enable reproducible build for svg output. +o Set the creator to fig2dev, not to the path by which fig2dev is + invoked. + BUGS FIXED: +Ticket numbers refer to https://sourceforge.net/p/mcj/tickets/#. +o The svg output now produces correct patterns and pie-wege arcs. + Property names instead of style attributes are used. Hollow arrow + heads are really hollow, not filled with white. In the PostScript + output, this might also clip a bit of the filling underneath an arrow. +o tikz output: Re-use \dimen \XFigu if it is already defined. Ticket #3. +o tikz output: A pattern in an object with line width zero and the + stroke color equal to the fill color would produce a white fill. + The tikz output now does not try to be smart and puts a pattern, even + if the result is equal to a solid fill. Ticket #1. +o pict2e output: Standalone tex-files always include color.sty. #2. +o pict2e output: A pattern with stroke color equal to fill color is + rendered as a solid fill. +o Compiles when gnu iconv and standard iconv are present. + +--- +Fri Sep 23 12:04:22 UTC 2016 - wer...@suse.de + +- Update to fig2dev version 3.2.6 (the successor of transfig) + o Add compile switch --enable-versioning and script update-version_m4, +to create version string from source control system + o tikz output: Support -G (grid) option. Make \XFigwidth and \XFigheight +only scale coordinates, not line widths; Do not set unnecessarily +\color{black} on text. + From Roland Rosenfeld+ o Correct comment string in man page fig2ps2tex.1 + o Distribute autotest file lookup_X_color.at - only useful for hacko + From Brian V. Smith: + o Changed object defs from O_ to OBJ_ because O_TEXT conflicts +with system typedef (debian 37_OBJ_typedef.patch) + o Remove unused charset variables cs and ca from genibmgl.c +(debian 38_unusedcharset.patch) + o Build with make CFLAGS="-Werror -Wpedantic -Wformat -Wformat-security' + o On lines with Round or Projecting cap style and arrowheads, the line +endpoint stuck out beyond the arrowhead (this was fixed in +xfig 3.2.5c, but not here until now; debian 41_arrowhead.patch) + o Changed .ce (center lines) to .RS (right-justify) in fig2ps2tex man +page file because of issues when generating HTML (From Eric Raymond) +(debian 36_manpage_ce2RS.patch) + o Quotes added to output file name for several formats in case there +are blanks in the name (debian 39_gs_quote.patch) + o For PDF output, changed -dColorImageFilter from /FlateEncode to +/DCTEncode for lossy compression (smaller pdf files) +(debian 40_ColorImageFilter.patch) + o Update help for PDF options (debian 42_PDF_help.patch) + From Roland Rosenfeld. Bug numers refer to https://bugs.debian.org/#. + o Remove bashisms in fig2ps2tex script. Reported from +Chris Lamb . Fixes debian bug 480615. + o Include sys/stat.h in genps.c. Reported from Steven Chamberlain + . Debian bug 654767. (28_fix_chmod...patch) + o Distribute the man page transig.1. (34_transfig.1.patch) + o Do not report user information in ps files. Debian bug 316382 +(04_displaywho.patch) + o Set locale to C. Debian bug 45378 (05_locale_patch). + o Support pdftex in transfig (20_transfig_pdftex.patch). Reported by +Jindrich Makovicka . + o Fix some typos (22_typos.patch, 35_manpage_typos.patch). + o Honor environment variable SOURCE_DATE_EPOCH, for reproducible +builds. Debian bug 819911. From Alexis Bienvenüe . +(33_honour_SOURCE_DATE_EPOCH.patch). + o Enable fonts >= 42 pt, needs \usepackage{type1cm}. Bug 343139, +(09_maxfontsize.patch). + o New pict2e and tikz output language, for use with TeX/LaTeX. + o Compile with ./configure; make; make
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2015-04-22 01:15:39 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new (New) Package is transfig Changes: --- /work/SRC/openSUSE:Factory/transfig/transfig.changes2013-12-11 16:24:21.0 +0100 +++ /work/SRC/openSUSE:Factory/.transfig.new/transfig.changes 2015-04-22 01:15:40.0 +0200 @@ -1,0 +2,6 @@ +Thu Apr 16 12:26:49 UTC 2015 - meiss...@suse.com + +- transfig-fix-afl.patch: fixed crashes due to uninitialized memory, + found by afl. + +--- New: transfig-fix-afl.patch Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.wNDSi8/_old 2015-04-22 01:15:41.0 +0200 +++ /var/tmp/diff_new_pack.wNDSi8/_new 2015-04-22 01:15:41.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package transfig # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -52,6 +52,7 @@ Patch0: transfig.3.2.5d.dif Patch2: transfig.3.2.5-binderman.dif Patch3: transfig.3.2.5d-mediaboxrealnb.dif +Patch4: transfig-fix-afl.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %{expand: %%global _exec_prefix %(type -p pkg-config /dev/null pkg-config --variable prefix x11 || echo /usr/X11R6)} %if %_exec_prefix == /usr/X11R6 @@ -92,6 +93,7 @@ %patch0 -p0 -b .0 %patch2 -p0 -b .bm %patch3 -p0 -b .mbox +%patch4 -p1 xmkmf -a -D_DATA='%{_data}' %build ++ transfig-fix-afl.patch ++ Index: transfig.3.2.5e/fig2dev/read1_3.c === --- transfig.3.2.5e.orig/fig2dev/read1_3.c +++ transfig.3.2.5e/fig2dev/read1_3.c @@ -336,6 +336,7 @@ FILE*fp; l-back_arrow = NULL; l-next = NULL; l-points = Point_malloc(p); + l-points-next = NULL; n = fscanf(fp, %d %d %d %lf %d %d %d %d %d %d, t, l-style, l-thickness, l-style_val, f, b, h, w, p-x, p-y); @@ -395,6 +396,7 @@ FILE*fp; s-controls = NULL; s-next = NULL; s-points = Point_malloc(p); + s-points-next = NULL; n = fscanf(fp, %d %d %d %lf %d %d %d %d %d %d, t, s-style, s-thickness, s-style_val, f, b, Index: transfig.3.2.5e/fig2dev/alloc.h === --- transfig.3.2.5e.orig/fig2dev/alloc.h +++ transfig.3.2.5e/fig2dev/alloc.h @@ -13,15 +13,15 @@ * notice remain intact. */ -#defineLine_malloc(z) z = (F_line*)malloc(LINOBJ_SIZE) -#definePic_malloc(z) z = (F_pic*)malloc(PIC_SIZE) -#defineSpline_malloc(z)z = (F_spline*)malloc(SPLOBJ_SIZE) -#defineEllipse_malloc(z) z = (F_ellipse*)malloc(ELLOBJ_SIZE) -#defineArc_malloc(z) z = (F_arc*)malloc(ARCOBJ_SIZE) -#defineCompound_malloc(z) z = (F_compound*)malloc(COMOBJ_SIZE) -#defineText_malloc(z) z = (F_text*)malloc(TEXOBJ_SIZE) -#definePoint_malloc(z) z = (F_point*)malloc(POINT_SIZE) -#defineControl_malloc(z) z = (F_control*)malloc(CONTROL_SIZE) -#defineArrow_malloc(z) z = (F_arrow*)malloc(ARROW_SIZE) +#defineLine_malloc(z) z = (F_line*)calloc(LINOBJ_SIZE,1) +#definePic_malloc(z) z = (F_pic*)calloc(PIC_SIZE,1) +#defineSpline_malloc(z)z = (F_spline*)calloc(SPLOBJ_SIZE,1) +#defineEllipse_malloc(z) z = (F_ellipse*)calloc(ELLOBJ_SIZE,1) +#defineArc_malloc(z) z = (F_arc*)calloc(ARCOBJ_SIZE,1) +#defineCompound_malloc(z) z = (F_compound*)calloc(COMOBJ_SIZE,1) +#defineText_malloc(z) z = (F_text*)calloc(TEXOBJ_SIZE,1) +#definePoint_malloc(z) z = (F_point*)calloc(POINT_SIZE,1) +#defineControl_malloc(z) z = (F_control*)calloc(CONTROL_SIZE,1) +#defineArrow_malloc(z) z = (F_arrow*)calloc(ARROW_SIZE,1) extern charErr_mem[];
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2013-12-11 16:24:20 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new (New) Package is transfig Changes: --- /work/SRC/openSUSE:Factory/transfig/transfig.changes2013-04-09 10:27:56.0 +0200 +++ /work/SRC/openSUSE:Factory/.transfig.new/transfig.changes 2013-12-11 16:24:21.0 +0100 @@ -1,0 +2,16 @@ +Tue Dec 10 14:50:19 UTC 2013 - wer...@suse.de + +- Update to transfig version 3.2.5e + * HTML map output was limited to 100 links. +Fix by Jan van Dijk + * Updated for compatibility to PNG 1.5 +From Matthias Scheler + * Was adding showpage command when producing bitmap formats from intermediate EPS. +This produced illegal PNG and JPEG files with extra, blank image. + * Maximum width of included image in PS/EPS output increased from 8192 to 16384 + * Precision of some PIC objects increased from %.2f to %.3f + * Double close of output file when ghostscript fails. Original bug report from +https://bugzilla.redhat.com/728825 +- Change out patch sets to fit 3.2.5e + +--- Old: transfig.3.2.5d.tar.gz New: transfig.3.2.5e.tar.gz Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.aGModg/_old 2013-12-11 16:24:22.0 +0100 +++ /var/tmp/diff_new_pack.aGModg/_new 2013-12-11 16:24:22.0 +0100 @@ -42,13 +42,13 @@ Requires: ghostscript-fonts-std Requires: ghostscript-library Requires: netpbm -Version:3.2.5d +Version:3.2.5e Release:0 Summary:Graphic Converter License:MIT Group: Productivity/Graphics/Convertors Source: http://sourceforge.net/projects/mcj/files/mcj-source/transfig.%{version}.tar.gz -Source1:transfig.%{version}-patches.tar.bz2 +Source1:transfig.3.2.5d-patches.tar.bz2 Patch0: transfig.3.2.5d.dif Patch2: transfig.3.2.5-binderman.dif Patch3: transfig.3.2.5d-mediaboxrealnb.dif ++ transfig.3.2.5d-patches.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches/23_MAXWIDTH.patch new/patches/23_MAXWIDTH.patch --- old/patches/23_MAXWIDTH.patch 2011-12-28 17:14:38.0 +0100 +++ new/patches/23_MAXWIDTH.patch 1970-01-01 01:00:00.0 +0100 @@ -1,16 +0,0 @@ -Author: Roland Rosenfeld rol...@debian.org -Description: Increasese MAXWIDTH of embedded images from 8K to 16K - (Closes: #610466) -Bug-Debian: http://bugs.debian.org/610466 - a/fig2dev/dev/psencode.c -+++ b/fig2dev/dev/psencode.c -@@ -18,7 +18,7 @@ - - #include fig2dev.h - --#define MAXWIDTH 8192 -+#define MAXWIDTH 16384 - - #define put_string nc=strlen(s); for(i=0;inc;i++) (putc((s[i]),tfp)); Nbyte += nc - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches/24_PIC_precision.patch new/patches/24_PIC_precision.patch --- old/patches/24_PIC_precision.patch 2011-12-28 17:14:38.0 +0100 +++ new/patches/24_PIC_precision.patch 1970-01-01 01:00:00.0 +0100 @@ -1,41 +0,0 @@ -Author: Roger Leigh rle...@debian.org -Description: Change the precision of PIC floating point output from %.2f to - %.3f. (Closes: #611948) -Bug-Debian: http://bugs.debian.org/611948 - a/fig2dev/dev/genpic.c -+++ b/fig2dev/dev/genpic.c -@@ -229,9 +229,9 @@ - - /* Should have a #define somewhere for the # of fill patterns */ - if (l-fill_style != UNFILLED) -- fprintf(tfp, fill %.2f, ((double) l-fill_style ) / (double) BLACK_FILL); -+ fprintf(tfp, fill %.3f, ((double) l-fill_style ) / (double) BLACK_FILL); - --fprintf(tfp, with .sw at (%.2f,%.2f) , -+fprintf(tfp, with .sw at (%.3f,%.3f) , - minx / ppi, convy(maxy / ppi)); - - width = (maxx - minx) / ppi; -@@ -239,10 +239,10 @@ - height = convy(maxy / ppi) - convy(miny / ppi); - if (height 0.0) height = -height; - --fprintf(tfp, width %.2f height %.2f, width, height); -+fprintf(tfp, width %.3f height %.3f, width, height); - - if (OptArcBox l-type == T_ARC_BOX) -- fprintf(tfp, rad %.2f, l-radius/ppi); -+ fprintf(tfp, rad %.3f, l-radius/ppi); - - AddThickness(); - -@@ -411,7 +411,7 @@ - 2 * e-radiuses.x/ppi, 2 * e-radiuses.y/ppi); - - if ( OptEllipseFill e-fill_style != UNFILLED) --fprintf(tfp, fill %.2f, (double)e-fill_style / (double) BLACK_FILL); -+fprintf(tfp, fill %.3f, (double)e-fill_style / (double) BLACK_FILL); - - AddThickness(); - diff -urN
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2013-04-09 10:27:54 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new (New) Package is transfig, Maintainer is wer...@suse.com Changes: --- /work/SRC/openSUSE:Factory/transfig/transfig.changes2013-02-11 14:55:15.0 +0100 +++ /work/SRC/openSUSE:Factory/.transfig.new/transfig.changes 2013-04-09 10:27:56.0 +0200 @@ -1,0 +2,5 @@ +Fri Apr 5 10:16:53 UTC 2013 - idon...@suse.com + +- Add Source URL, see https://en.opensuse.org/SourceUrls + +--- @@ -4 +9 @@ -- User original patches from Debian +- Use original patches from Debian Old: transfig.3.2.5d.tar.bz2 New: transfig.3.2.5d.tar.gz Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.WbUgYm/_old 2013-04-09 10:27:57.0 +0200 +++ /var/tmp/diff_new_pack.WbUgYm/_new 2013-04-09 10:27:57.0 +0200 @@ -47,7 +47,7 @@ Summary:Graphic Converter License:MIT Group: Productivity/Graphics/Convertors -Source: transfig.%{version}.tar.bz2 +Source: http://sourceforge.net/projects/mcj/files/mcj-source/transfig.%{version}.tar.gz Source1:transfig.%{version}-patches.tar.bz2 Patch0: transfig.3.2.5d.dif Patch2: transfig.3.2.5-binderman.dif -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2013-02-11 14:55:14 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new (New) Package is transfig, Maintainer is wer...@suse.com Changes: --- /work/SRC/openSUSE:Factory/transfig/transfig.changes2012-10-24 10:24:09.0 +0200 +++ /work/SRC/openSUSE:Factory/.transfig.new/transfig.changes 2013-02-11 14:55:15.0 +0100 @@ -1,0 +2,11 @@ +Fri Feb 8 11:14:39 UTC 2013 - wer...@suse.de + +- User original patches from Debian + +--- +Thu Feb 7 16:34:21 UTC 2013 - wer...@suse.de + +- Add xfig.3.2.5b-mediaboxrealnb.dif to fix regarding pdf import, + reported by Loic Le Guyader compare with Debian bug #530898 + +--- New: transfig.3.2.5d-mediaboxrealnb.dif transfig.3.2.5d-patches.tar.bz2 Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.VV15nm/_old 2013-02-11 14:55:17.0 +0100 +++ /var/tmp/diff_new_pack.VV15nm/_new 2013-02-11 14:55:17.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package transfig # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,14 +29,14 @@ BuildRequires: texlive-times BuildRequires: tex(times.sty) %endif -BuildRequires: xorg-x11 -BuildRequires: xorg-x11-devel %if 0%{?suse_version} 1120 BuildRequires: libpng12-compat-devel BuildRequires: libpng12-devel %else BuildRequires: libpng-devel %endif +BuildRequires: xorg-x11 +BuildRequires: xorg-x11-devel Url:http://www.xfig.org/ Provides: transfig.3.2.3d Requires: ghostscript-fonts-std @@ -48,8 +48,10 @@ License:MIT Group: Productivity/Graphics/Convertors Source: transfig.%{version}.tar.bz2 +Source1:transfig.%{version}-patches.tar.bz2 Patch0: transfig.3.2.5d.dif Patch2: transfig.3.2.5-binderman.dif +Patch3: transfig.3.2.5d-mediaboxrealnb.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %{expand: %%global _exec_prefix %(type -p pkg-config /dev/null pkg-config --variable prefix x11 || echo /usr/X11R6)} %if %_exec_prefix == /usr/X11R6 @@ -85,8 +87,11 @@ %prep %setup -q -n transfig.%{version} -%patch0 -b .0 -%patch2 -b .bm +find -type f | xargs -r chmod a-x,go-w +tar Oxfj %{S:1} | patch -p1 -s +%patch0 -p0 -b .0 +%patch2 -p0 -b .bm +%patch3 -p0 -b .mbox xmkmf -a -D_DATA='%{_data}' %build ++ transfig.3.2.5d-mediaboxrealnb.dif ++ --- fig2dev/dev/readeps.c +++ fig2dev/dev/readeps.c 2013-02-08 11:21:58.593945615 + @@ -77,16 +77,22 @@ read_eps_pdf(file, filetype, pic, llx, l while (fgets(buf, 512, file) != NULL) { /* look for /MediaBox for pdf file */ if (pdf_flag) { + char *s; + for(s=buf; (s=strchr(s,'/')); s++) { if (!strncmp(buf, /MediaBox, 8)) {/* look for the MediaBox spec */ - c = strchr(buf,'[')+1; - if (c sscanf(c,%d %d %d %d,llx,lly,urx,ury) 4) { + c = strchr(s,'['); + if (c sscanf(c+1,%d %d %d %d,llx,lly,urx,ury) 4) { *llx = *lly = 0; urx = paperdef[0].width*72; ury = paperdef[0].height*72; put_msg(Bad MediaBox in imported PDF file %s, assuming %s size, pic-file, metric? A4 : Letter ); } + pic-bit_size.x = (urx-(*llx)); + pic-bit_size.y = (ury-(*lly)); + break; } + } /* look for bounding box for EPS file */ } else if (!nested !strncmp(buf, %%BoundingBox:, 14)) { c=buf+14; ++ transfig.3.2.5d.dif ++ --- /var/tmp/diff_new_pack.VV15nm/_old 2013-02-11 14:55:17.0 +0100 +++ /var/tmp/diff_new_pack.VV15nm/_new 2013-02-11 14:55:17.0 +0100 @@ -177,8 +177,16 @@ if (strstr(str, CompositeRoman)) enable_composite_font = True; fputs(str, tfp); --- fig2dev/dev/genpstex.c -+++ fig2dev/dev/genpstex.c 2008-04-25 14:01:42.0 + -@@ -64,10 +64,13 @@ extern void fig2dev/dev/genpstex.c 2013-02-08 12:45:41.649945157 + +@@ -37,6 +37,7 @@ + * Jose Alberto. + */ + ++#include
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2012-07-24 16:11:51 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new (New) Package is transfig, Maintainer is wer...@suse.com Changes: --- /work/SRC/openSUSE:Factory/transfig/transfig.changes2012-07-12 10:53:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.transfig.new/transfig.changes 2012-07-24 17:22:39.0 +0200 @@ -1,0 +2,5 @@ +Tue Jul 24 09:46:42 UTC 2012 - wer...@suse.de + +- Add missed fonts + +--- Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.Px5X5i/_old 2012-07-24 17:22:43.0 +0200 +++ /var/tmp/diff_new_pack.Px5X5i/_new 2012-07-24 17:22:43.0 +0200 @@ -21,8 +21,11 @@ BuildRequires: netpbm BuildRequires: texlive-latex %if %suse_version 1220 +BuildRequires: texlive-amsfonts +BuildRequires: texlive-cm-super BuildRequires: texlive-courier BuildRequires: texlive-dvips +BuildRequires: texlive-pdftex BuildRequires: texlive-times BuildRequires: tex(times.sty) %endif -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2012-07-12 10:53:47 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new (New) Package is transfig, Maintainer is wer...@suse.com Changes: --- /work/SRC/openSUSE:Factory/transfig/transfig.changes2011-09-23 12:48:59.0 +0200 +++ /work/SRC/openSUSE:Factory/.transfig.new/transfig.changes 2012-07-12 10:53:49.0 +0200 @@ -1,0 +2,5 @@ +Tue Jul 10 10:12:05 UTC 2012 - wer...@suse.de + +- Make it build with latest TeXLive 2012 with new package layout + +--- Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.LiLRXg/_old 2012-07-12 10:53:50.0 +0200 +++ /var/tmp/diff_new_pack.LiLRXg/_new 2012-07-12 10:53:50.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package transfig # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,25 +15,35 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: transfig -BuildRequires: libjpeg-devel netpbm texlive-latex xorg-x11 xorg-x11-devel +BuildRequires: libjpeg-devel +BuildRequires: netpbm +BuildRequires: texlive-latex +%if %suse_version 1220 +BuildRequires: texlive-courier +BuildRequires: texlive-dvips +BuildRequires: texlive-times +BuildRequires: tex(times.sty) +%endif +BuildRequires: xorg-x11 +BuildRequires: xorg-x11-devel %if 0%{?suse_version} 1120 -BuildRequires: libpng12-compat-devel libpng12-devel +BuildRequires: libpng12-compat-devel +BuildRequires: libpng12-devel %else BuildRequires: libpng-devel %endif Url:http://www.xfig.org/ -License:MIT -Group: Productivity/Graphics/Convertors Provides: transfig.3.2.3d -Requires: netpbm ghostscript-library ghostscript-fonts-std -AutoReqProv:on +Requires: ghostscript-fonts-std +Requires: ghostscript-library +Requires: netpbm Version:3.2.5a -Release:12 +Release:0 Summary:Graphic Converter +License:MIT +Group: Productivity/Graphics/Convertors Source: transfig.%{version}.tar.bz2 Patch0: transfig.3.2.5a.dif Patch1: transfig.3.2.5a-cups.dif -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at 2011-12-06 19:09:11 Comparing /work/SRC/openSUSE:Factory/transfig (Old) and /work/SRC/openSUSE:Factory/.transfig.new (New) Package is transfig, Maintainer is wer...@suse.com Changes: Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.nOBlPq/_old 2011-12-06 19:43:37.0 +0100 +++ /var/tmp/diff_new_pack.nOBlPq/_new 2011-12-06 19:43:37.0 +0100 @@ -26,7 +26,7 @@ BuildRequires: libpng-devel %endif Url:http://www.xfig.org/ -License:MIT License (or similar) +License:MIT Group: Productivity/Graphics/Convertors Provides: transfig.3.2.3d Requires: netpbm ghostscript-library ghostscript-fonts-std -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit transfig for openSUSE:Factory
Hello community, here is the log from the commit of package transfig for openSUSE:Factory checked in at Wed Jun 29 09:46:06 CEST 2011. mismatched tag at line 109, column 4, byte 3108: /script /head ===^ at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/XML/Parser.pm line 187 xargs: /work/src/bin/tools/get_bugzilla: exited with status 255; aborting --- transfig/transfig.changes 2010-04-20 17:42:57.0 +0200 +++ /mounts/work_src_done/STABLE/transfig/transfig.changes 2011-06-28 19:22:03.0 +0200 @@ -1,0 +2,5 @@ +Tue Jun 28 19:21:37 CEST 2011 - wer...@suse.de + +- Add URL due bnc#676463 + +--- calling whatdependson for head-i586 Other differences: -- ++ transfig.spec ++ --- /var/tmp/diff_new_pack.P0ZHng/_old 2011-06-29 09:34:17.0 +0200 +++ /var/tmp/diff_new_pack.P0ZHng/_new 2011-06-29 09:34:17.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package transfig (Version 3.2.5a) +# spec file for package transfig # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,13 +25,14 @@ %else BuildRequires: libpng-devel %endif +Url:http://www.xfig.org/ License:MIT License (or similar) Group: Productivity/Graphics/Convertors Provides: transfig.3.2.3d Requires: netpbm ghostscript-library ghostscript-fonts-std AutoReqProv:on Version:3.2.5a -Release:4 +Release:12 Summary:Graphic Converter Source: transfig.%{version}.tar.bz2 Patch0: transfig.3.2.5a.dif @@ -76,6 +77,7 @@ %patch0 %patch1 %patch2 +%patch3 xmkmf -a -D_DATA='%{_data}' %build Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org