Skip to content

Commit

Permalink
patch llvm-project Signals.h
Browse files Browse the repository at this point in the history
bring commit:
llvm/llvm-project@ff1681d
from llvm-project upstream.

ticket in apple/llvm-project:
swiftlang/llvm-project#6847
  • Loading branch information
soloturn committed May 20, 2023
1 parent c37aaf4 commit 8f4275f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions 0002-stdint.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/llvm/include/llvm/Support/Signals.h b/llvm/include/llvm/Support/Signals.h
index 44f5a750ff5..937e0572d4a 100644
--- a/llvm/include/llvm/Support/Signals.h
+++ b/llvm/include/llvm/Support/Signals.h
@@ -14,6 +14,7 @@
#ifndef LLVM_SUPPORT_SIGNALS_H
#define LLVM_SUPPORT_SIGNALS_H

+#include <cstdint>
#include <string>

namespace llvm {
3 changes: 3 additions & 0 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ source=(
"swift-integration-tests::git+https://github.com/apple/swift-integration-tests#tag=${_swiftver}"
"llvm-project::git+https://github.com/apple/llvm-project#tag=${_swiftver}"
"0001-arch-aur-patches.patch"
"0002-stdint.patch"
# swift src to check afterwards
"indexstore-db::git+https://github.com/apple/indexstore-db#tag=${_swiftver}"
"yams::git+https://github.com/jpsim/Yams#tag=5.0.1"
Expand Down Expand Up @@ -92,6 +93,7 @@ sha256sums=(
'SKIP'
'SKIP'
'SKIP'
'SKIP'
)


Expand All @@ -104,6 +106,7 @@ options=(!strip)

prepare () {
( cd swift && patch -p1 -i "$srcdir/0001-arch-aur-patches.patch" )
( cd llvm-project && patch -p1 -i "$srcdir/0002-stdint.patch" )
}

#pkgver() {
Expand Down

0 comments on commit 8f4275f

Please sign in to comment.