Don't fail if we can't create or remove $(pkgcachedir) i.e.
/var/cache/fontconfig. (reported by Quanah Gibson-Mount).
reviewed by: plam
+2006-04-06 Diego Pettenò <flameeyes@gentoo.org>
+ reviewed by: plam
+ * src/fcdefault.c:
+ * src/fcpat.c:
+ * src/fcxml.c:
+
+ Reduce amount of dirty rss by const'ing some data structures.
+
+2006-04-06 Patrick Lam <plam@mit.edu>
+ * fc-cache/Makefile.am:
+
+ Don't fail if we can't create or remove
+ $(pkgcachedir) i.e. /var/cache/fontconfig.
+ (reported by Quanah Gibson-Mount).
+
2006-04-06 Kjartan Maraas <kmaraas@gnome.org>
reviewed by: plam
* fc-case/fc-case.c:
AM_CPPFLAGS = -DPKGCACHEDIR='"${pkgcachedir}"'
install-data-local:
- $(mkinstalldirs) "$(DESTDIR)$(pkgcachedir)"
+ -$(mkinstalldirs) "$(DESTDIR)$(pkgcachedir)"
uninstall-local:
- $(RM) -rf "$(DESTDIR)$(pkgcachedir)"
+ -$(RM) -rf "$(DESTDIR)$(pkgcachedir)"
INCLUDES=-I${top_srcdir} $(FREETYPE_CFLAGS)
#include "fcint.h"
#include <locale.h>
-static struct {
+static const struct {
const char *field;
FcBool value;
} FcBoolDefaults[] = {
static int FcValueListFrozenCount[FcTypeLangSet + 1];
static int FcValueListFrozenBytes[FcTypeLangSet + 1];
-static char FcValueListFrozenName[][8] = {
+static const char FcValueListFrozenName[][8] = {
"Void",
"Integer",
"Double",
FcElementUnknown
} FcElement;
-static struct {
+static const struct {
const char name[16];
FcElement element;
} fcElementMap[] = {