- 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
|
Summary: Font configuration and customization library
|
||||||
Name: fontconfig
|
Name: fontconfig
|
||||||
Version: 2.8.0
|
Version: 2.8.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: http://fontconfig.org/release/fontconfig-%{version}.tar.gz
|
Source: http://fontconfig.org/release/fontconfig-%{version}.tar.gz
|
||||||
@ -11,6 +11,8 @@ URL: http://fontconfig.org
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
Source1: 25-no-bitmap-fedora.conf
|
Source1: 25-no-bitmap-fedora.conf
|
||||||
|
|
||||||
|
Patch0: fontconfig-2.8.0-sleep-less.patch
|
||||||
|
|
||||||
BuildRequires: gawk
|
BuildRequires: gawk
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
BuildRequires: freetype-devel >= %{freetype_version}
|
BuildRequires: freetype-devel >= %{freetype_version}
|
||||||
@ -44,6 +46,7 @@ will use fontconfig.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .sleep-less
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -128,6 +131,10 @@ fi
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Dec 3 2009 Behdad Esfahbod <besfahbo@redhat.com> - 2.8.0-1
|
||||||
- Update to 2.8.0
|
- Update to 2.8.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user