summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2020-08-27 12:45:05 -0400
committerCraig Andrews <candrews@gentoo.org>2020-08-27 12:45:54 -0400
commited878d4b030c135bf7f8d1ec8788acfb518b0d94 (patch)
tree8369bfe9f5763801a27dd158cf4f504527408a60 /sys-devel/llvm-roc
parentdev-java/plexus-classworlds: eapi7, min java 1.8, ant task via var (diff)
downloadgentoo-ed878d4b030c135bf7f8d1ec8788acfb518b0d94.tar.gz
gentoo-ed878d4b030c135bf7f8d1ec8788acfb518b0d94.tar.bz2
gentoo-ed878d4b030c135bf7f8d1ec8788acfb518b0d94.zip
sys-devel/llvm-roc: Restore accidentally deleted patch
files/llvm-roc-3.0.0-add_libraries.patch is still used; it shouldn't have been deleted in commit 5c0896473f9742b66c2f63dae3f4989ed4feeb25 Closes: https://bugs.gentoo.org/739012 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'sys-devel/llvm-roc')
-rw-r--r--sys-devel/llvm-roc/files/llvm-roc-3.0.0-add_libraries.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys-devel/llvm-roc/files/llvm-roc-3.0.0-add_libraries.patch b/sys-devel/llvm-roc/files/llvm-roc-3.0.0-add_libraries.patch
new file mode 100644
index 00000000000..120ab819f5b
--- /dev/null
+++ b/sys-devel/llvm-roc/files/llvm-roc-3.0.0-add_libraries.patch
@@ -0,0 +1,20 @@
+diff -Naur a/clang/lib/Basic/CMakeLists.txt b/clang/lib/Basic/CMakeLists.txt
+--- a/clang/lib/Basic/CMakeLists.txt 2019-12-28 07:42:49.119055933 +0100
++++ b/clang/lib/Basic/CMakeLists.txt 2019-12-28 07:42:13.265056070 +0100
+@@ -2,6 +2,7 @@
+ Core
+ MC
+ Support
++ Option
+ )
+
+ find_first_existing_vc_file("${LLVM_MAIN_SRC_DIR}" llvm_vc)
+diff -Naur a/clang/lib/Driver/CMakeLists.txt b/clang/lib/Driver/CMakeLists.txt
+--- a/clang/lib/Driver/CMakeLists.txt 2019-12-28 07:41:39.521056199 +0100
++++ b/clang/lib/Driver/CMakeLists.txt 2019-12-28 07:40:23.998056487 +0100
+@@ -79,4 +79,5 @@
+ LINK_LIBS
+ clangBasic
+ ${system_libs}
++ pthread
+ )