diff --git a/t1utils-1.26.tar.bz2 b/t1utils-1.26.tar.bz2 deleted file mode 100644 index 25f647d..0000000 --- a/t1utils-1.26.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:23655507cea2815a485d3758a6d3d0bd0dd55027f8d8edc6c312f80963e179e2 -size 66765 diff --git a/t1utils-1.36.tar.bz2 b/t1utils-1.36.tar.bz2 new file mode 100644 index 0000000..4e39ae1 --- /dev/null +++ b/t1utils-1.36.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0cc26280337141f5fc38db012d4c444f205bb2dd8a987cdf64030727a4e92175 +size 137961 diff --git a/t1utils-getline.patch b/t1utils-getline.patch deleted file mode 100644 index b43f301..0000000 --- a/t1utils-getline.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- t1asm.c -+++ t1asm.c -@@ -275,7 +275,7 @@ - the newline is put into line[]. When terminated by '{', the '{' is not put - into line[], and the flag start_charstring is set to 1. */ - --static void getline() -+static void my_getline() - { - int c; - char *p = line; -@@ -716,7 +716,7 @@ - without /Subrs sections and provided a patch. */ - - while (!feof(ifp) && !ferror(ifp)) { -- getline(); -+ my_getline(); - - if (!ever_active) { - if (strncmp(line, "currentfile eexec", 17) == 0) { -@@ -788,7 +788,7 @@ - - /* There may be additional code. */ - while (!feof(ifp) && !ferror(ifp)) { -- getline(); -+ my_getline(); - eexec_string(line); - } - diff --git a/t1utils.changes b/t1utils.changes index 4395772..7cab6cc 100644 --- a/t1utils.changes +++ b/t1utils.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sun Sep 26 18:48:43 UTC 2010 - mrdocs@opensuse.org + +-version bump to 1.36 +-Add '--enable-multiplatform' +-(For details please read the NEWS file) +-t1disasm: Avoid memory corruption bug (strings passed to eexec_line are + not null terminated). Reported by Werner Lemberg. +- Several minor cleanups +- drop patch now upstream + ------------------------------------------------------------------- Fri Dec 18 13:49:43 CET 2009 - jengelh@medozas.de diff --git a/t1utils.spec b/t1utils.spec index 0110431..249d9ee 100644 --- a/t1utils.spec +++ b/t1utils.spec @@ -1,5 +1,5 @@ # -# spec file for package t1utils (Version 1.26) +# spec file for package t1utils (Version 1.36) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -22,15 +22,15 @@ Name: t1utils License: PERMISSIVE-OSI-COMPLIANT Group: Productivity/Publishing/PS AutoReqProv: on -Version: 1.26 -Release: 391 +Version: 1.36 +Release: 1 Source0: ftp://ftp.tex.ac.uk/tex-archive/fonts/utilities/t1utils/t1utils-%{version}.tar.bz2 -Patch: t1utils-getline.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -Summary: a collection of simple type-1 font manipulation programs +Summary: A collection of simple type-1 font manipulation programs +Url: http://www.lcdf.org/type/#t1utils %description -t1utils is a collection of simple type-1 font manipulation programs. +The t1utils are a collection of simple type-1 font manipulation programs. Together, they allow you to convert between PFA (ASCII) and PFB (binary) formats, disassemble PFA or PFB files into human-readable form, and reassemble them into PFA or PFB format. Additionally, you can @@ -46,7 +46,6 @@ Authors: %prep %setup -q -%patch %build rm -f config.cache @@ -60,11 +59,11 @@ export CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; -make DESTDIR=$RPM_BUILD_ROOT install + +make DESTDIR=%buildroot install %clean -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; +rm -rf %buildroot %files %defattr(-, root, root)