This commit is contained in:
parent
fb4379dadc
commit
c238f44721
29
t1utils-getline.patch
Normal file
29
t1utils-getline.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
--- 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);
|
||||||
|
}
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 8 00:23:40 CEST 2009 - ro@suse.de
|
||||||
|
|
||||||
|
- rename getline to my_getline to avoid collision with function
|
||||||
|
from glibc
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 25 21:42:00 CET 2006 - mls@suse.de
|
Wed Jan 25 21:42:00 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
49
t1utils.spec
49
t1utils.spec
@ -1,22 +1,31 @@
|
|||||||
#
|
#
|
||||||
# spec file for package t1utils (Version 1.26)
|
# spec file for package t1utils (Version 1.26)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2004 SuSE Linux AG, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
|
||||||
# package are under the same license as the package itself.
|
|
||||||
#
|
#
|
||||||
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# 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/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: t1utils
|
Name: t1utils
|
||||||
License: Other License(s), see package
|
License: Any permissive
|
||||||
Group: Productivity/Publishing/PS
|
Group: Productivity/Publishing/PS
|
||||||
Autoreqprov: on
|
AutoReqProv: on
|
||||||
Version: 1.26
|
Version: 1.26
|
||||||
Release: 224
|
Release: 390
|
||||||
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
|
||||||
|
|
||||||
@ -36,7 +45,8 @@ Authors:
|
|||||||
Eddie Kohler <eddietwo@lcs.mit.edu>
|
Eddie Kohler <eddietwo@lcs.mit.edu>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup0
|
%setup -q
|
||||||
|
%patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
rm -f config.cache
|
rm -f config.cache
|
||||||
@ -72,13 +82,16 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
/usr/share/man/man1/t1ascii.1.gz
|
/usr/share/man/man1/t1ascii.1.gz
|
||||||
/usr/share/man/man1/t1binary.1.gz
|
/usr/share/man/man1/t1binary.1.gz
|
||||||
|
|
||||||
%changelog -n t1utils
|
%changelog
|
||||||
* Wed Jan 25 2006 - mls@suse.de
|
* Mon Jun 08 2009 ro@suse.de
|
||||||
|
- rename getline to my_getline to avoid collision with function
|
||||||
|
from glibc
|
||||||
|
* Wed Jan 25 2006 mls@suse.de
|
||||||
- converted neededforbuild to BuildRequires
|
- converted neededforbuild to BuildRequires
|
||||||
* Thu Mar 25 2004 - kukuk@suse.de
|
* Thu Mar 25 2004 kukuk@suse.de
|
||||||
- Cleanup neededforbuild
|
- Cleanup neededforbuild
|
||||||
- Don't build as root
|
- Don't build as root
|
||||||
* Sun Aug 11 2002 - mfabian@suse.de
|
* Sun Aug 11 2002 mfabian@suse.de
|
||||||
- update to 1.26
|
- update to 1.26
|
||||||
* t1mac: Fix buglet (C++ comment, and temporary file left behind). Reported
|
* t1mac: Fix buglet (C++ comment, and temporary file left behind). Reported
|
||||||
by Vladimir Volovich <vvv@vsu.ru>.
|
by Vladimir Volovich <vvv@vsu.ru>.
|
||||||
@ -86,13 +99,13 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|||||||
Luc Devroye <luc@cs.mcgill.ca>.
|
Luc Devroye <luc@cs.mcgill.ca>.
|
||||||
* Fixed compilation bugs on various platforms reported by Nelson H. F.
|
* Fixed compilation bugs on various platforms reported by Nelson H. F.
|
||||||
Beebe <beebe@math.utah.edu>.
|
Beebe <beebe@math.utah.edu>.
|
||||||
* Tue Nov 13 2001 - mfabian@suse.de
|
* Tue Nov 13 2001 mfabian@suse.de
|
||||||
- update to t1utils-1.23
|
- update to t1utils-1.23
|
||||||
- Fixed Macintosh file bugs
|
- Fixed Macintosh file bugs
|
||||||
- Fixed bug on processing PFA fonts with DOS line endings.
|
- Fixed bug on processing PFA fonts with DOS line endings.
|
||||||
- t1ascii, t1asm, t1unmac: Raised minimum PFA line length to 8.
|
- t1ascii, t1asm, t1unmac: Raised minimum PFA line length to 8.
|
||||||
(For details please read the NEWS file).
|
(For details please read the NEWS file).
|
||||||
* Mon May 07 2001 - mfabian@suse.de
|
* Mon May 07 2001 mfabian@suse.de
|
||||||
- bzip2 sources
|
- bzip2 sources
|
||||||
* Fri Dec 01 2000 - Mike Fabian <mfabian@suse.de>
|
* Fri Dec 01 2000 Mike Fabian <mfabian@suse.de>
|
||||||
- new package: t1utils-1.20
|
- new package: t1utils-1.20
|
||||||
|
Loading…
x
Reference in New Issue
Block a user