Accepting request 49894 from M17N

Copy from M17N/t1utils based on submit request 49894 from user coolo

OBS-URL: https://build.opensuse.org/request/show/49894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/t1utils?expand=0&rev=9
This commit is contained in:
OBS User autobuild 2010-10-06 21:01:45 +00:00 committed by Git OBS Bridge
parent dfe961b1ee
commit 7c676815a4
5 changed files with 23 additions and 42 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:23655507cea2815a485d3758a6d3d0bd0dd55027f8d8edc6c312f80963e179e2
size 66765

3
t1utils-1.36.tar.bz2 Normal file
View File

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

View File

@ -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);
}

View File

@ -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 Fri Dec 18 13:49:43 CET 2009 - jengelh@medozas.de

View File

@ -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. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -22,15 +22,15 @@ Name: t1utils
License: PERMISSIVE-OSI-COMPLIANT License: PERMISSIVE-OSI-COMPLIANT
Group: Productivity/Publishing/PS Group: Productivity/Publishing/PS
AutoReqProv: on AutoReqProv: on
Version: 1.26 Version: 1.36
Release: 391 Release: 1
Source0: ftp://ftp.tex.ac.uk/tex-archive/fonts/utilities/t1utils/t1utils-%{version}.tar.bz2 Source0: ftp://ftp.tex.ac.uk/tex-archive/fonts/utilities/t1utils/t1utils-%{version}.tar.bz2
Patch: t1utils-getline.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build 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 %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 Together, they allow you to convert between PFA (ASCII) and PFB
(binary) formats, disassemble PFA or PFB files into human-readable (binary) formats, disassemble PFA or PFB files into human-readable
form, and reassemble them into PFA or PFB format. Additionally, you can form, and reassemble them into PFA or PFB format. Additionally, you can
@ -46,7 +46,6 @@ Authors:
%prep %prep
%setup -q %setup -q
%patch
%build %build
rm -f config.cache rm -f config.cache
@ -60,11 +59,11 @@ export CFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=%buildroot install
%clean %clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; rm -rf %buildroot
%files %files
%defattr(-, root, root) %defattr(-, root, root)