aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/fontconfig-remove-debug-printf.patch
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-12-12 17:59:36 +0100
committerMarius Bakke <mbakke@fastmail.com>2017-12-12 17:59:36 +0100
commit2b174b4ebdccd06d8dd80c634f178f295fb297a8 (patch)
tree833eaee49080af87635f94de8034abd1c5c8098b /gnu/packages/patches/fontconfig-remove-debug-printf.patch
parent5bb20a25078f79429a015c928a5d0c0efabef25e (diff)
downloadguix-2b174b4ebdccd06d8dd80c634f178f295fb297a8.tar.gz
guix-2b174b4ebdccd06d8dd80c634f178f295fb297a8.zip
gnu: fontconfig: Update to 2.12.6.
Gperf is now a hard dependency. * gnu/packages/patches/fontconfig-remove-debug-printf.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/fontutils.scm (fontconfig): Update to 2.12.6. [source]: Add 'fontconfig-remove-debug-printf.patch'. [arguments]: Remove 'regenerate-fcobjshash' phase.
Diffstat (limited to 'gnu/packages/patches/fontconfig-remove-debug-printf.patch')
-rw-r--r--gnu/packages/patches/fontconfig-remove-debug-printf.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/patches/fontconfig-remove-debug-printf.patch b/gnu/packages/patches/fontconfig-remove-debug-printf.patch
new file mode 100644
index 0000000000..04924a45a4
--- /dev/null
+++ b/gnu/packages/patches/fontconfig-remove-debug-printf.patch
@@ -0,0 +1,18 @@
+Fontconfig 2.12.5 and 2.12.6 was released with a stray debugging statement.
+See <https://lists.freedesktop.org/archives/fontconfig/2017-October/006079.html>.
+
+Patch copied from upstream source repository:
+https://cgit.freedesktop.org/fontconfig/commit/?id=b56207a069be2574df455ede0a6ab61f44d5ca2b
+
+diff --git a/fc-query/fc-query.c b/fc-query/fc-query.c
+index 842a8b6..6cd5abd 100644
+--- a/fc-query/fc-query.c
++++ b/fc-query/fc-query.c
+@@ -170,7 +170,6 @@ main (int argc, char **argv)
+ FcPattern *pat;
+
+ id = ((instance_num << 16) + face_num);
+- printf("id %d\n", id);
+ if (FT_New_Face (ftLibrary, argv[i], id, &face))
+ break;
+ num_faces = face->num_faces;