freebsd-ports/games/cataclysm-dda/files/patch-src-sdltiles.cpp
Mathieu Arnold 3af78e7414 Update to 0.C.
PR:		207988
Submitted by:	tkato432 yahoo com
Sponsored by:	Absolight
2016-03-15 15:28:56 +00:00

12 lines
464 B
C++

--- src/sdltiles.cpp.orig 2015-03-09 05:25:34 UTC
+++ src/sdltiles.cpp
@@ -1214,7 +1214,7 @@ static void save_font_list()
wordexp("~/Library/Fonts", &exp, 0);
font_folder_list(fout, exp.we_wordv[0]);
wordfree(&exp);*/
-#elif (defined linux || defined __linux)
+#elif (defined linux || defined __linux || defined __FreeBSD__)
font_folder_list(fout, "/usr/share/fonts");
font_folder_list(fout, "/usr/local/share/fonts");
wordexp_t exp;