all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob d537c2579166f8be9818dcaa86fe5ca3354abf5a 1646 bytes (raw)
name: gnu/packages/patches/llvm-6.0-DISABLE_ABI_CHECKS.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
37
38
39
 
From d793ba4bacae51ae25be19c1636fcf38707938fd Mon Sep 17 00:00:00 2001
From: Valentin Churavy <v.churavy@gmail.com>
Date: Fri, 1 Jun 2018 17:43:55 -0400
Subject: [PATCH] fix LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING

---
 cmake/modules/HandleLLVMOptions.cmake    | 2 +-
 include/llvm/Config/abi-breaking.h.cmake | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake
index 3d2dd48018c..b67ee6a896e 100644
--- a/cmake/modules/HandleLLVMOptions.cmake
+++ b/cmake/modules/HandleLLVMOptions.cmake
@@ -572,7 +572,7 @@ if (LLVM_ENABLE_WARNINGS AND (LLVM_COMPILER_IS_GCC_COMPATIBLE OR CLANG_CL))
 
   if (LLVM_ENABLE_PEDANTIC AND LLVM_COMPILER_IS_GCC_COMPATIBLE)
     append("-pedantic" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
-    append("-Wno-long-long" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
+    append("-Wno-long-long -Wundef" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
   endif()
 
   add_flag_if_supported("-Wcovered-switch-default" COVERED_SWITCH_DEFAULT_FLAG)
diff --git a/include/llvm/Config/abi-breaking.h.cmake b/include/llvm/Config/abi-breaking.h.cmake
index 7ae401e5b8a..d52c4609101 100644
--- a/include/llvm/Config/abi-breaking.h.cmake
+++ b/include/llvm/Config/abi-breaking.h.cmake
@@ -20,7 +20,7 @@
 
 /* Allow selectively disabling link-time mismatch checking so that header-only
    ADT content from LLVM can be used without linking libSupport. */
-#if !LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING
+#ifndef LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING
 
 // ABI_BREAKING_CHECKS protection: provides link-time failure when clients build
 // mismatch with LLVM
-- 
2.17.0


debug log:

solving d537c25791 ...
found d537c25791 in https://yhetil.org/guix/20190423094936.27413-1-anothersms@gmail.com/

applying [1/1] https://yhetil.org/guix/20190423094936.27413-1-anothersms@gmail.com/
diff --git a/gnu/packages/patches/llvm-6.0-DISABLE_ABI_CHECKS.patch b/gnu/packages/patches/llvm-6.0-DISABLE_ABI_CHECKS.patch
new file mode 100644
index 0000000000..d537c25791

1:22: trailing whitespace.
 
1:28: trailing whitespace.
 
1:35: trailing whitespace.
 
1:40: trailing whitespace.
 
1:43: trailing whitespace.
-- 
Checking patch gnu/packages/patches/llvm-6.0-DISABLE_ABI_CHECKS.patch...
Applied patch gnu/packages/patches/llvm-6.0-DISABLE_ABI_CHECKS.patch cleanly.
warning: squelched 1 whitespace error
warning: 6 lines add whitespace errors.

index at:
100644 d537c2579166f8be9818dcaa86fe5ca3354abf5a	gnu/packages/patches/llvm-6.0-DISABLE_ABI_CHECKS.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.