all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 997baacc86ebb3a53ee377056ff36a996bdebc99 752 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
22
23
 
Fixes build with GCC 5 and later.

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 997baacc86 ...
found 997baacc86 in https://yhetil.org/guix/20241216085227.18555-1-gay@disroot.org/

applying [1/1] https://yhetil.org/guix/20241216085227.18555-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..997baacc86

1:16: trailing whitespace.
 
1:27: 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 997baacc86ebb3a53ee377056ff36a996bdebc99	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 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.