summaryrefslogtreecommitdiffstats
path: root/swift-lang.spec
diff options
context:
space:
mode:
Diffstat (limited to 'swift-lang.spec')
-rw-r--r--swift-lang.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/swift-lang.spec b/swift-lang.spec
index 7c73fa2..5ed57e5 100644
--- a/swift-lang.spec
+++ b/swift-lang.spec
@@ -23,9 +23,12 @@ Source11: https://github.com/apple/swift-cmark/archive/swift-%{swifttag}.t
Source12: https://github.com/apple/swift-xcode-playground-support/archive/swift-%{swifttag}.tar.gz#/swift-xcode-playground-support.tar.gz
Source13: swift-lang.conf
+
Patch0: %{name}-%{version}-change-lldb-location.patch
Patch1: compiler-rt-no-ustat.patch
Patch2: no-ninja-build.patch
+Patch3: time-struct-redefined.patch
+
BuildRequires: which
BuildRequires: clang
@@ -99,6 +102,9 @@ mv swift-xcode-playground-support-swift-%{swifttag} swift-xcode-playground-suppo
# Since we require ninja for building, there's no sense to rebuild it just for Swift
%patch2 -p0
+# Fixes an error in compiler-rt where the timespec struct is redefined
+%patch3 -p0
+
%build
export VERBOSE=1