[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/58: gnu: commencement: Add patch-mesboot.
From: |
guix-commits |
Subject: |
15/58: gnu: commencement: Add patch-mesboot. |
Date: |
Thu, 6 Feb 2020 17:52:15 -0500 (EST) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 842f33f031450e5f4c9f327b806bb37283e629b7
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Sun Oct 6 14:57:54 2019 +0200
gnu: commencement: Add patch-mesboot.
* gnu/packages/commencement.scm (patch-mesboot): New variable.
---
gnu/packages/commencement.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 9b3d68c..3590923 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1096,6 +1096,42 @@ $MES -e '(mescc)' module/mescc.scm -- \"$@\"
(install-file "diff" bin)
#t))))))))
+(define patch-mesboot
+ ;; The initial patch.
+ (package
+ (inherit patch)
+ (name "patch-mesboot")
+ (version "2.5.9")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnu/patch/patch-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "12nv7jx3gxfp50y11nxzlnmqqrpicjggw6pcsq0wyavkkm3cddgc"))))
+ (supported-systems '("i686-linux" "x86_64-linux"))
+ (inputs '())
+ (propagated-inputs '())
+ (native-inputs (%boot-tcc0-inputs))
+ (arguments
+ `(#:implicit-inputs? #f
+ #:guile ,%bootstrap-guile
+ #:parallel-build? #f
+ #:tests? #f ; check is naive, also checks non-built PROGRAMS
+ #:strip-binaries? #f ; no strip yet
+ #:configure-flags '("AR=tcc -ar" "CC=tcc" "LD-tcc")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'scripted-patch
+ (lambda _
+ ;; avoid another segfault
+ (substitute* "pch.c"
+ (("while [(]p_end >= 0[)]" all)
+ "p_end = -1;\nwhile (0)"))
+ #t))
+ ;; FIXME: no compressing gzip yet
+ (delete 'compress-documentation))))))
+
(define binutils-mesboot0
(package
(inherit binutils)
- 14/58: gnu: commencement: diffutils-mesboot: Use Gash instead of coretutils&co., (continued)
- 14/58: gnu: commencement: diffutils-mesboot: Use Gash instead of coretutils&co., guix-commits, 2020/02/06
- 22/58: gnu: commencement: gcc-mesboot0: Use Gash instead of coretutils&co., guix-commits, 2020/02/06
- 35/58: gnu: commencement: binutils-mesboot: Use Gash instead of coreutils&co., guix-commits, 2020/02/06
- 41/58: gnu: commencement: Add coreutils-mesboot., guix-commits, 2020/02/06
- 53/58: gnu: commencement: gnu-make-mesboot0: Rename from make-mesboot0., guix-commits, 2020/02/06
- 57/58: gnu: commencement: mes-boot: Update to 0.22., guix-commits, 2020/02/06
- 17/58: gnu: commencement: binutils-mesboot0: Use Gash instead of coretutils&co., guix-commits, 2020/02/06
- 23/58: gnu: commencement: Add tar-mesboot., guix-commits, 2020/02/06
- 26/58: gnu: commencement: Add coreutils-mesboot0., guix-commits, 2020/02/06
- 25/58: gnu: commencement: Add binutils-mesboot1., guix-commits, 2020/02/06
- 15/58: gnu: commencement: Add patch-mesboot.,
guix-commits <=
- 21/58: gnu: commencement: glibc-mesboot0: Use Gash instead of coretutils&co., guix-commits, 2020/02/06
- 51/58: gnu: commencement: %bootstrap-tarballs: Remove %bootstrap-binaries-tarball., guix-commits, 2020/02/06
- 44/58: gnu: commencement: Add gawk-boot0., guix-commits, 2020/02/06
- 31/58: gnu: commencement: Add bash-mesboot., guix-commits, 2020/02/06
- 30/58: gnu: commencement: Add gcc-core-mesboot1., guix-commits, 2020/02/06
- 36/58: gnu: commencement: glibc-headers-mesboot: Use Gash instead of coreutils&co., guix-commits, 2020/02/06
- 37/58: gnu: commencement: glibc-mesboot: Use Gash instead of coreutils&co., guix-commits, 2020/02/06
- 18/58: gnu: commencement: gcc-core-mesboot0: Use Gash instead of coretutils&co., guix-commits, 2020/02/06
- 24/58: gnu: commencement: Add grep-mesboot., guix-commits, 2020/02/06
- 32/58: gnu: commencement: Add gcc-mesboot1: Use Gash instead of coreutils&co., guix-commits, 2020/02/06