[packages/llvm-libclc] - build patch seems no longer needed (and became fuzzy)

qboosh qboosh at pld-linux.org
Thu Feb 25 19:37:08 CET 2021


commit ea7cf30bfdc2bcebb13429b5d42c15415cda8ed4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Feb 25 19:37:24 2021 +0100

    - build patch seems no longer needed (and became fuzzy)

 build.patch      | 20 --------------------
 llvm-libclc.spec |  2 --
 2 files changed, 22 deletions(-)
---
diff --git a/llvm-libclc.spec b/llvm-libclc.spec
index afb6dc4..2c4c852 100644
--- a/llvm-libclc.spec
+++ b/llvm-libclc.spec
@@ -11,7 +11,6 @@ Group:		Libraries
 #Source0Download: https://github.com/llvm/llvm-project/releases/
 Source0:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{llvm_ver}/libclc-%{llvm_ver}.src.tar.xz
 # Source0-md5:	a441404cab86a1dd92be69ac8faa1dc7
-Patch0:		build.patch
 URL:		https://libclc.llvm.org/
 BuildRequires:	clang >= 3.9
 BuildRequires:	cmake >= 3.9.2
@@ -61,7 +60,6 @@ Clang.
 
 %prep
 %setup -q -n libclc-%{llvm_ver}.src
-%patch0 -p1
 
 %build
 install -d build
diff --git a/build.patch b/build.patch
deleted file mode 100644
index bce98dc..0000000
--- a/build.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/utils/prepare-builtins.cpp b/utils/prepare-builtins.cpp
-index a3c3383..afbc6c0 100644
---- a/utils/prepare-builtins.cpp
-+++ b/utils/prepare-builtins.cpp
-@@ -17,12 +17,12 @@
- using namespace llvm;
- 
- static cl::opt<std::string>
--InputFilename(cl::Positional, cl::desc("<input bitcode>"), cl::init("-"));
--
--static cl::opt<std::string>
- OutputFilename("o", cl::desc("Output filename"),
-                cl::value_desc("filename"));
- 
-+static cl::opt<std::string>
-+InputFilename(cl::Positional, cl::desc("<input bitcode>"), cl::init("-"));
-+
- int main(int argc, char **argv) {
-   LLVMContext &Context = getGlobalContext();
-   llvm_shutdown_obj Y;  // Call llvm_shutdown() on exit.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/llvm-libclc.git/commitdiff/6220bca39086ff8e55e317bb448779ea3712b95d



More information about the pld-cvs-commit mailing list