SHA256
1
0
forked from pool/transfig

Accepting request 882560 from Publishing

- Update to fig2dev version 3.2.8 Patchlevel 8a (Mar 2021)
  o Allow closed splines with three points.
  o Fix build under Darwin.
- Correct hunk offsets of the patch
  o transfig-3.2.8.dif

OBS-URL: https://build.opensuse.org/request/show/882560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/transfig?expand=0&rev=47
This commit is contained in:
Richard Brown 2021-04-10 13:25:55 +00:00 committed by Git OBS Bridge
commit 68586e206f
5 changed files with 18 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:931258ae43950d0931ddcea13ce6554d2cd7fc3c93585aebf74e393bb14fe27d
size 518984

3
fig2dev-3.2.8a.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6336ac492d0f71dfb7a1dd8f4d78eae17aa57a34f743d4e5ba9814991c2da7ae
size 520000

View File

@ -9,15 +9,15 @@
--- configure --- configure
+++ configure 2021-02-12 08:54:37.958704809 +0000 +++ configure 2021-02-12 08:54:37.958704809 +0000
@@ -4015,7 +4015,7 @@ main () @@ -2341,7 +2341,7 @@ ac_c_conftest_c99_main='
int dynamic_array[ni.number]; int dynamic_array[ni.number];
dynamic_array[0] = argv[0][0];
dynamic_array[ni.number - 1] = 543; dynamic_array[ni.number - 1] = 543;
- -
+ free(ia); + free(ia);
// work around unused variable warnings // work around unused variable warnings
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
|| dynamic_array[ni.number - 1] != 543); || dynamic_array[ni.number - 1] != 543);
--- fig2dev/dev/genps.c --- fig2dev/dev/genps.c
+++ fig2dev/dev/genps.c 2021-02-12 09:13:56.896176342 +0000 +++ fig2dev/dev/genps.c 2021-02-12 09:13:56.896176342 +0000
@@ -56,6 +56,7 @@ @@ -56,6 +56,7 @@

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Apr 1 11:58:30 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Update to fig2dev version 3.2.8 Patchlevel 8a (Mar 2021)
o Allow closed splines with three points.
o Fix build under Darwin.
- Correct hunk offsets of the patch
o transfig-3.2.8.dif
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 12 09:50:30 UTC 2021 - Dr. Werner Fink <werner@suse.de> Fri Feb 12 09:50:30 UTC 2021 - Dr. Werner Fink <werner@suse.de>

View File

@ -45,7 +45,7 @@ Requires: ghostscript-fonts-std
Requires: ghostscript-library Requires: ghostscript-library
Requires: netpbm Requires: netpbm
Requires: texlive-epstopdf Requires: texlive-epstopdf
Version: 3.2.8 Version: 3.2.8a
Release: 0 Release: 0
Summary: Graphic Converter Summary: Graphic Converter
#Source: http://sourceforge.net/projects/mcj/files/fig2dev-%{version}.tar.xz/download#/fig2dev-%{version}.tar.xz #Source: http://sourceforge.net/projects/mcj/files/fig2dev-%{version}.tar.xz/download#/fig2dev-%{version}.tar.xz
@ -165,7 +165,7 @@ install -m 0644 [CLNR]* %{buildroot}%{_defaultdocdir}/%{name}
pushd fig2mpdf/doc pushd fig2mpdf/doc
make make
mkdir %{buildroot}%{_defaultdocdir}/%{name}/fig2mpdf mkdir %{buildroot}%{_defaultdocdir}/%{name}/fig2mpdf
rm -f overlay-sample-?.pdf rm -f overlay-sample-?.pdf
rm -f *.aux *.log *.nav *.out *.snm *.toc rm -f *.aux *.log *.nav *.out *.snm *.toc
install -m 0644 * %{buildroot}%{_defaultdocdir}/%{name}/fig2mpdf/ install -m 0644 * %{buildroot}%{_defaultdocdir}/%{name}/fig2mpdf/
popd popd