[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/63: bootstrap: Add patch-mesboot0.
From: |
guix-commits |
Subject: |
23/63: bootstrap: Add patch-mesboot0. |
Date: |
Sun, 24 Nov 2019 05:56:13 -0500 (EST) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit bbfe08cdf95119b34d45f6e5b08a9a57ac935a41
Author: Jan Nieuwenhuizen <address@hidden>
Date: Sun Oct 6 14:57:54 2019 +0200
bootstrap: Add patch-mesboot0.
* gnu/packages/commencement.scm (patch-mesboot0): New variable.
---
gnu/packages/commencement.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 8ed2f87..38c1e94 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -806,6 +806,49 @@
(install-file "diff" bin)
#t))))))))
+(define patch-mesboot0
+ (package
+ (inherit patch)
+ (name "patch-mesboot0")
+ (version "2.5.9")
+ (source (bootstrap-origin
+ (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 `(("gzip" ,gzip-mesboot0)
+ ("make" ,make-mesboot0)
+ ("mes" ,mes-boot)
+ ("tcc" ,tcc-boot0)
+
+ ("bash" ,bash-mesboot0)
+ ("gash" ,%bootstrap-gash)
+ ("guile" ,%bootstrap-guile)))
+ (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/63: bootstrap: Add %bootstrap-gash-rewired.., (continued)
- 14/63: bootstrap: Add %bootstrap-gash-rewired.., guix-commits, 2019/11/24
- 15/63: bootstrap: mes-boot: Scheme-only bootstrap., guix-commits, 2019/11/24
- 16/63: bootstrap: tcc-boot0: Scheme-only bootstrap. WIP, guix-commits, 2019/11/24
- 17/63: bootstrap: Add gzip-mesboot0., guix-commits, 2019/11/24
- 18/63: bootstrap: make-mesboot0: Scheme-only bootstrap., guix-commits, 2019/11/24
- 19/63: bootstrap: Add bzip2-mesboot0., guix-commits, 2019/11/24
- 20/63: bootstrap: Add bash-mesboot0., guix-commits, 2019/11/24
- 21/63: bootstrap: tcc-boot: Scheme-only bootstrap., guix-commits, 2019/11/24
- 22/63: bootstrap: diffuils-mesboot: Scheme-only bootstrap., guix-commits, 2019/11/24
- 24/63: bootstrap: Add sed-mesboot0., guix-commits, 2019/11/24
- 23/63: bootstrap: Add patch-mesboot0.,
guix-commits <=
- 25/63: bootstrap: binutils-mesboot0: Scheme-only bootstrap., guix-commits, 2019/11/24
- 26/63: bootstrap: gcc-core-mesboot0: Scheme-only bootstrap., guix-commits, 2019/11/24
- 28/63: bootstrap: Add bash-mesboot1., guix-commits, 2019/11/24
- 27/63: bootstrap: Add gawk-mesboot0., guix-commits, 2019/11/24
- 29/63: Revert "bootstrap: Add bash-mesboot1.", guix-commits, 2019/11/24
- 30/63: bootstrap: mesboot-headers: Scheme-only bootstrap., guix-commits, 2019/11/24
- 32/63: bootstrap: gcc-mesboot0: Scheme-only bootstrap., guix-commits, 2019/11/24
- 31/63: bootstrap: glibc-mesboot0: Scheme-only bootstrap., guix-commits, 2019/11/24
- 33/63: bootstrap: Add tar-mesboot., guix-commits, 2019/11/24
- 34/63: bootstrap: Add grep-mesboot., guix-commits, 2019/11/24