1 diff -ur libXft-2.3.2.orig/src/xftdpy.c libXft-2.3.2/src/xftdpy.c
2 --- libXft-2.3.2.orig/src/xftdpy.c 2014-06-06 00:05:07.000000000 -0600
3 +++ libXft-2.3.2/src/xftdpy.c 2017-10-17 08:55:30.227746279 -0600
9 +static pthread_mutex_t info_mutex = PTHREAD_MUTEX_INITIALIZER;
10 +static inline void info_lock() { pthread_mutex_lock(&info_mutex); }
11 +static inline void info_unlock() { pthread_mutex_unlock(&info_mutex); }
13 _X_HIDDEN XftDisplayInfo *_XftDisplayInfo;
18 * Unhook from the global list
21 for (prev = &_XftDisplayInfo; (info = *prev); prev = &(*prev)->next)
22 if (info->display == dpy)
31 int event_base, error_base;
34 for (prev = &_XftDisplayInfo; (info = *prev); prev = &(*prev)->next)
36 if (info->display == dpy)
38 info->next = _XftDisplayInfo;
39 _XftDisplayInfo = info;
47 if (!createIfNecessary)
55 info->next = _XftDisplayInfo;
56 _XftDisplayInfo = info;
59 info->glyph_memory = 0;
60 info->max_glyph_memory = XftDefaultGetInteger (dpy,
61 Only in libXft-2.3.2: tags