diff options
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/cross-base.scm | 10 | ||||
-rw-r--r--[-rwxr-xr-x] | gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | gnu/packages/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 dc63dc9462..add1a6fe91 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 index 3e48b87935..3e48b87935 100755..100644 --- a/gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch +++ b/gnu/packages/patches/binutils-mingw-w64-reproducible-import-libraries.patch diff --git a/gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch b/gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch index b785043b62..b785043b62 100755..100644 --- a/gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch +++ b/gnu/packages/patches/binutils-mingw-w64-specify-timestamp.patch |