aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxfont/patcache.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-05-13 19:55:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-05-13 19:55:55 +0000
commit0ef417df34ff4a468bbeb8c8d7d51bb13cc78fc1 (patch)
treedfb29ae829f2639cee6d32f77aac7b67016f5293 /main/libxfont/patcache.patch
parenteae9335f236040ea92a5b5ed788e42197abbfc75 (diff)
downloadaports-0ef417df34ff4a468bbeb8c8d7d51bb13cc78fc1.tar.bz2
aports-0ef417df34ff4a468bbeb8c8d7d51bb13cc78fc1.tar.xz
main/libxfont: fix build with fontsproto-2.1.3
Diffstat (limited to 'main/libxfont/patcache.patch')
-rw-r--r--main/libxfont/patcache.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/libxfont/patcache.patch b/main/libxfont/patcache.patch
new file mode 100644
index 0000000000..6555babc4c
--- /dev/null
+++ b/main/libxfont/patcache.patch
@@ -0,0 +1,20 @@
+--- ./src/util/patcache.c.orig
++++ ./src/util/patcache.c
+@@ -128,7 +128,7 @@
+ /* add entry */
+ void
+ CacheFontPattern (FontPatternCachePtr cache,
+- char *pattern,
++ const char *pattern,
+ int patlen,
+ FontPtr pFont)
+ {
+@@ -174,7 +174,7 @@
+ /* find matching entry */
+ FontPtr
+ FindCachedFontPattern (FontPatternCachePtr cache,
+- char *pattern,
++ const char *pattern,
+ int patlen)
+ {
+ int hash;