projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df32eaa
)
Fix test-multithread build on FreeBSD (#1217)
author
lantw44
<lantw44@gmail.com>
Wed, 3 Oct 2018 15:22:43 +0000
(23:22 +0800)
committer
Ebrahim Byagowi
<ebrahim@gnu.org>
Wed, 3 Oct 2018 15:22:43 +0000
(18:52 +0330)
Add the default font path used by FreeBSD ports.
test/api/test-multithread.c
patch
|
blob
|
history
diff --git
a/test/api/test-multithread.c
b/test/api/test-multithread.c
index
e1e7eb5
..
508dd39
100644
(file)
--- a/
test/api/test-multithread.c
+++ b/
test/api/test-multithread.c
@@
-37,6
+37,8
@@
static const char *text = "طرحنَما";
static const char *path =
#if defined(__linux__)
"/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf";
+#elif defined(__FreeBSD__)
+ "/usr/local/share/fonts/dejavu/DejaVuSans.ttf";
#elif defined(_WIN32) || defined(_WIN64)
"C:\\Windows\\Fonts\\tahoma.ttf";
#elif __APPLE__