unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob d41bec4d8bafe20e32280e0a403811e6762f8a5d 717 bytes (raw)
name: gnu/packages/patches/hugs-fix-build.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
 
diff --git a/packages/base/include/HsBase.h b/packages/base/include/HsBase.h
index aa1a7fb..78d5b46 100644
--- a/packages/base/include/HsBase.h
+++ b/packages/base/include/HsBase.h
@@ -217,15 +217,7 @@ StgWord64 stg_integerToWord64 (StgInt sa, StgByteArray /* Really: mp_limb_t* */
    when compiling to native code.
    -------------------------------------------------------------------------- */
 
-#ifndef INLINE
-# if defined(_MSC_VER)
-#  define INLINE extern __inline
-# elif defined(__GNUC__)
-#  define INLINE extern inline
-# else
-#  define INLINE inline
-# endif
-#endif
+#define INLINE inline
 
 INLINE int __hscore_get_errno(void) { return errno; }
 INLINE void __hscore_set_errno(int e) { errno = e; }

debug log:

solving d41bec4d8b ...
found d41bec4d8b in https://yhetil.org/guix-patches/20241211102636.20121-1-gay@disroot.org/

applying [1/1] https://yhetil.org/guix-patches/20241211102636.20121-1-gay@disroot.org/
diff --git a/gnu/packages/patches/hugs-fix-build.patch b/gnu/packages/patches/hugs-fix-build.patch
new file mode 100644
index 0000000000..d41bec4d8b

1:14: trailing whitespace.
 
1:25: trailing whitespace.
 
Checking patch gnu/packages/patches/hugs-fix-build.patch...
Applied patch gnu/packages/patches/hugs-fix-build.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 d41bec4d8bafe20e32280e0a403811e6762f8a5d	gnu/packages/patches/hugs-fix-build.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).