Added .bep and patch for fontconfig-2.10.0, from Justin Stressman.

This commit is contained in:
Scott McCreary
2012-07-23 21:30:53 +00:00
parent 8db2e9bc76
commit 5b8da9b817
2 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff -ur fontconfig-2.10.0/src/fcatomic.c fontconfig-2.10.0-haiku/src/fcatomic.c
--- fontconfig-2.10.0/src/fcatomic.c 2012-06-17 21:49:30.023855104 -0400
+++ fontconfig-2.10.0-haiku/src/fcatomic.c 2012-07-18 19:39:56.629145600 -0400
@@ -132,7 +132,7 @@
return FcFalse;
}
ret = link ((char *) atomic->tmp, (char *) atomic->lck);
- if (ret < 0 && errno == EPERM)
+ if (ret < 0 && (errno == EPERM || errno == B_UNSUPPORTED))
{
/* the filesystem where atomic->lck points to may not supports
* the hard link. so better try to fallback