- fontconfig-2.8.0-sleep-less.patch: Make a stupid sleep() in fc-cache
slightly less stupid.
This commit is contained in:
parent
8fb14536e1
commit
ffa596bd20
12
fontconfig-2.8.0-sleep-less.patch
Normal file
12
fontconfig-2.8.0-sleep-less.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up fontconfig-2.8.0/fc-cache/fc-cache.c.jx fontconfig-2.8.0/fc-cache/fc-cache.c
|
||||
--- fontconfig-2.8.0/fc-cache/fc-cache.c.jx 2009-11-16 12:24:52.000000000 -0500
|
||||
+++ fontconfig-2.8.0/fc-cache/fc-cache.c 2010-06-24 15:10:04.000000000 -0400
|
||||
@@ -461,7 +461,7 @@ main (int argc, char **argv)
|
||||
*/
|
||||
FcConfigDestroy (config);
|
||||
FcFini ();
|
||||
- sleep (2);
|
||||
+ sleep (1);
|
||||
if (verbose)
|
||||
printf ("%s: %s\n", argv[0], ret ? "failed" : "succeeded");
|
||||
return ret;
|
@ -3,7 +3,7 @@
|
||||
Summary: Font configuration and customization library
|
||||
Name: fontconfig
|
||||
Version: 2.8.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: MIT
|
||||
Group: System Environment/Libraries
|
||||
Source: http://fontconfig.org/release/fontconfig-%{version}.tar.gz
|
||||
@ -11,6 +11,8 @@ URL: http://fontconfig.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
Source1: 25-no-bitmap-fedora.conf
|
||||
|
||||
Patch0: fontconfig-2.8.0-sleep-less.patch
|
||||
|
||||
BuildRequires: gawk
|
||||
BuildRequires: expat-devel
|
||||
BuildRequires: freetype-devel >= %{freetype_version}
|
||||
@ -44,6 +46,7 @@ will use fontconfig.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .sleep-less
|
||||
|
||||
%build
|
||||
|
||||
@ -128,6 +131,10 @@ fi
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Thu Jun 24 2010 Adam Jackson <ajax@redhat.com> 2.8.0-2
|
||||
- fontconfig-2.8.0-sleep-less.patch: Make a stupid sleep() in fc-cache
|
||||
slightly less stupid.
|
||||
|
||||
* Thu Dec 3 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.8.0-1
|
||||
- Update to 2.8.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user