[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: cross-base: Fix PACKAGE-WITH-EXTRA-PATCHES
From: |
guix-commits |
Subject: |
branch master updated: gnu: cross-base: Fix PACKAGE-WITH-EXTRA-PATCHES |
Date: |
Fri, 03 Apr 2020 14:19:42 -0400 |
This is an automated email from the git hooks/post-receive script.
carl pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new c1c50cb gnu: cross-base: Fix PACKAGE-WITH-EXTRA-PATCHES
c1c50cb is described below
commit c1c50cb5b099897a18e4cd8c27970cb45a7c3a94
Author: Carl Dong <address@hidden>
AuthorDate: Fri Apr 3 13:46:17 2020 -0400
gnu: cross-base: Fix PACKAGE-WITH-EXTRA-PATCHES
This also removes the execute bit from the patches added. Not sure how
or why those were set in the first place.
* gnu/packages/cross-base.scm (package-with-extra-patches): Imitate
PACKAGE-WITH-PATCH instead of using it.
*
gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch:
Remove execute bit.
* gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch:
Remove execute bit.
---
gnu/packages/cross-base.scm | 10 ++++++----
.../binutils-mingw-w64-reproducible-import-libraries.patch | 0
.../patches/binutils-mingw-w64-specify-timestamp.patch | 0
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index dc63dc9..add1a6f 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -76,11 +76,13 @@
(source (origin (inherit (package-source original))
(patches (list patch))))))
-(define (package-with-extra-patches original patches)
+(define (package-with-extra-patches original extra-patches)
"Return package ORIGINAL with all PATCHES appended to its list of patches."
- (package-with-patch original
- `(,@(origin-patches (package-source original))
- ,@patches)))
+ (let ((original-origin (package-source original)))
+ (package (inherit original)
+ (source (origin (inherit original-origin)
+ (patches `(,@extra-patches
+ ,@(origin-patches original-origin))))))))
(define (cross-binutils target)
"Return a cross-Binutils for TARGET."
diff --git
a/gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch
b/gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch
old mode 100755
new mode 100644
diff --git a/gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch
b/gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch
old mode 100755
new mode 100644
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: cross-base: Fix PACKAGE-WITH-EXTRA-PATCHES,
guix-commits <=