all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob bc67ba1acd06cfda645f4d0a12c1df5a2c0cec8d 758 bytes (raw)
name: gnu/packages/patches/julia-fix-include-order.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 
From 3cd2c70ded3eb6b6fa01077c4a57c9611ffd385f Mon Sep 17 00:00:00 2001
From: Akira Kyle <akira@akirakyle.com>
Date: Mon, 25 Jul 2022 21:11:15 -0600
Subject: [PATCH] Fix ordering of headers so `#define _GNU_SOURCE` comes first

https://github.com/JuliaLang/julia/pull/46183

---
 cli/loader.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cli/loader.h b/cli/loader.h
index 2d0b977f71..0620113048 100644
--- a/cli/loader.h
+++ b/cli/loader.h
@@ -22,8 +22,6 @@
 #define realloc loader_realloc
 #endif
 
-#include <stdint.h>
-
 #ifdef _OS_WINDOWS_
 
 #define WIN32_LEAN_AND_MEAN
@@ -49,6 +47,8 @@
 
 #endif
 
+#include <stdint.h>
+
 // Borrow definition from `support/dtypes.h`
 #ifdef _OS_WINDOWS_
 # ifdef LIBRARY_EXPORTS
-- 
2.36.1


debug log:

solving bc67ba1acd ...
found bc67ba1acd in https://yhetil.org/guix/87y1wd6f1z.fsf@akirakyle.com/

applying [1/1] https://yhetil.org/guix/87y1wd6f1z.fsf@akirakyle.com/
diff --git a/gnu/packages/patches/julia-fix-include-order.patch b/gnu/packages/patches/julia-fix-include-order.patch
new file mode 100644
index 0000000000..bc67ba1acd

1:25: trailing whitespace.
 
1:29: trailing whitespace.
 
1:32: trailing whitespace.
 
1:34: trailing whitespace.
 
1:40: trailing whitespace.
-- 
Checking patch gnu/packages/patches/julia-fix-include-order.patch...
Applied patch gnu/packages/patches/julia-fix-include-order.patch cleanly.
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.

index at:
100644 bc67ba1acd06cfda645f4d0a12c1df5a2c0cec8d	gnu/packages/patches/julia-fix-include-order.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.