[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/33: gnu: fontconfig: Build fix for the Hurd.
From: |
guix-commits |
Subject: |
10/33: gnu: fontconfig: Build fix for the Hurd. |
Date: |
Tue, 10 Mar 2020 03:58:45 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd
in repository guix.
commit b958d65fa9b5a8db2e490412e18a34261985b4b2
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Sun Mar 8 20:07:24 2020 -0400
gnu: fontconfig: Build fix for the Hurd.
* gnu/packages/patches/fontconfig-hurd-path-max.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/fontutils.scm (fontconfig): Use it.
---
gnu/local.mk | 1 +
gnu/packages/fontutils.scm | 1 +
gnu/packages/patches/fontconfig-hurd-path-max.patch | 13 +++++++++++++
3 files changed, 15 insertions(+)
diff --git a/gnu/local.mk b/gnu/local.mk
index 9466211..645005b 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -869,6 +869,7 @@ dist_patch_DATA =
\
%D%/packages/patches/flann-cmake-3.11.patch \
%D%/packages/patches/flex-2.6.1-hurd-path-max.patch \
%D%/packages/patches/flint-ldconfig.patch \
+ %D%/packages/patches/fontconfig-hurd-path-max.patch \
%D%/packages/patches/foomatic-filters-CVE-2015-8327.patch \
%D%/packages/patches/foomatic-filters-CVE-2015-8560.patch \
%D%/packages/patches/freeimage-unbundle.patch \
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 1d81938..4efa60b 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -302,6 +302,7 @@ fonts to/from the WOFF2 format.")
(uri (string-append
"https://www.freedesktop.org/software/fontconfig/release/fontconfig-"
version ".tar.bz2"))
+ (patches (search-patches "fontconfig-hurd-path-max.patch"))
(sha256 (base32
"0hb700a68kk0ip51wdlnjjc682kvlrmb6q920mzajykdk0mdsmgn"))))
(build-system gnu-build-system)
diff --git a/gnu/packages/patches/fontconfig-hurd-path-max.patch
b/gnu/packages/patches/fontconfig-hurd-path-max.patch
new file mode 100644
index 0000000..aa6ee08
--- /dev/null
+++ b/gnu/packages/patches/fontconfig-hurd-path-max.patch
@@ -0,0 +1,13 @@
+Index: fontconfig-2.13.1/src/fccfg.c
+===================================================================
+--- fontconfig-2.13.1.orig/src/fccfg.c
++++ fontconfig-2.13.1/src/fccfg.c
+@@ -2231,7 +2231,7 @@ FcConfigRealFilename (FcConfig *config,
+
+ if (n)
+ {
+- FcChar8 buf[PATH_MAX];
++ FcChar8 buf[FC_PATH_MAX];
+ ssize_t len;
+
+ if (sysroot)
- 08/33: gnu: make: Revert to 4.1 for the Hurd., (continued)
- 08/33: gnu: make: Revert to 4.1 for the Hurd., guix-commits, 2020/03/10
- 01/33: gnu: flex-2.6.1: Build fix for the Hurd., guix-commits, 2020/03/10
- 11/33: gnu: glibc: Add and update patches for the Hurd., guix-commits, 2020/03/10
- 02/33: gnu: grub: Build fix for the Hurd., guix-commits, 2020/03/10
- 13/33: gnu: cross-libc: Build fix for the Hurd., guix-commits, 2020/03/10
- 17/33: gnu: pciutils: Build fix for the Hurd., guix-commits, 2020/03/10
- 25/33: gnu: commencement: hurd-headers-boot0: Build from tarball., guix-commits, 2020/03/10
- 27/33: gnu: commencement: glibc-intermediate: Build fixes for the Hurd., guix-commits, 2020/03/10
- 09/33: gnu: less: Build fix for the Hurd., guix-commits, 2020/03/10
- 18/33: gnu: shepherd: Build fix for the Hurd., guix-commits, 2020/03/10
- 10/33: gnu: fontconfig: Build fix for the Hurd.,
guix-commits <=
- 19/33: gnu: inetutils: Support for the Hurd., guix-commits, 2020/03/10
- 31/33: gnu: commencement: glibc-final: Allow gnumach-headers references., guix-commits, 2020/03/10
- 21/33: gnu: shadow: Build fix for the Hurd., guix-commits, 2020/03/10
- 12/33: gnu: glibc: Add signal SA_SIGINFO support for the Hurd., guix-commits, 2020/03/10
- 16/33: gnu: pciutils: Remove kmod dependency for the Hurd., guix-commits, 2020/03/10
- 14/33: gnu: shadow: Add linux-pam dependency for the Hurd., guix-commits, 2020/03/10
- 26/33: gnu: commencement: hurd-minimal-boot0: Build from tarball., guix-commits, 2020/03/10
- 28/33: gnu: commencement: Update hurd-source to latest git., guix-commits, 2020/03/10
- 29/33: gnu: commencement: gnumach-headers-boot0: Update to 1.8-116-g28b53508., guix-commits, 2020/03/10
- 23/33: gnu: commencement: gcc-boot0: Build fix for the Hurd., guix-commits, 2020/03/10