LingNing Zhang : add ttmkfdir-3.0.9-segfaults.patch to fix bug #164969
This commit is contained in:
parent
8e001a690f
commit
a65f1afccf
13
ttmkfdir-3.0.9-segfaults.patch
Normal file
13
ttmkfdir-3.0.9-segfaults.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- ttmkfdir-3.0.9/directory.cpp.back 2005-10-08 14:25:37.839328408 +0800
|
||||
+++ ttmkfdir-3.0.9/directory.cpp 2005-10-08 14:26:00.021956136 +0800
|
||||
@@ -13,6 +13,10 @@
|
||||
directory::scan (const std::string &dir)
|
||||
{
|
||||
DIR *ttfdir = opendir(dir.c_str ());
|
||||
+ if (!ttfdir) {
|
||||
+ printf("%s is not exist!\n", dir.c_str ());
|
||||
+ exit(-1);
|
||||
+ }
|
||||
|
||||
this->clear ();
|
||||
dirpath = dir;
|
@ -1,7 +1,7 @@
|
||||
Summary: Utility to create fonts.scale files for truetype fonts
|
||||
Name: ttmkfdir
|
||||
Version: 3.0.9
|
||||
Release: 17
|
||||
Release: 18
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Patch: ttmkfdir-3.0.9-cpp.patch
|
||||
Patch1: ttmkfdir-3.0.9-zlib.patch
|
||||
@ -9,6 +9,7 @@ Patch2: ttmkfdir-3.0.9-fix-freetype217.patch
|
||||
Patch3: ttmkfdir-3.0.9-namespace.patch
|
||||
Patch4: ttmkfdir-3.0.9-fix-crash.patch
|
||||
Patch5: ttmkfdir-3.0.9-warnings.patch
|
||||
Patch6: ttmkfdir-3.0.9-segfaults.patch
|
||||
License: GPL
|
||||
Group: Applications/System
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
@ -49,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_bindir}/ttmkfdir
|
||||
|
||||
%changelog
|
||||
* Sat Oct 8 2005 LingNing Zhang <lizhang@redhat.com> -3.0.9-18
|
||||
- add ttmkfdir-3.0.9-segfaults.patch to fix bug #164969
|
||||
|
||||
* Wed Aug 3 2005 Jens Petersen <petersen@redhat.com> - 3.0.9-17
|
||||
- replace ttmkfdir-3.0.9-defautl_enc_size.patch and
|
||||
ttmkfdir-3.0.9-crashplus.patch with ttmkfdir-3.0.9-fix-crash.patch
|
||||
|
Loading…
Reference in New Issue
Block a user