summaryrefslogtreecommitdiff
path: root/net-libs/libcork/files/libcork-0.15.0-git.patch
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2018-03-04 22:50:34 +0800
committerYixun Lan <dlan@gentoo.org>2018-03-04 22:53:20 +0800
commit8f69d6fe4ca77d44807f58f55a5143d1fd5c1bbd (patch)
treedfbedb5826dfbe3e7eaf5e8d70c20c2d9b387cea /net-libs/libcork/files/libcork-0.15.0-git.patch
parent687bc21b8a88a56ad243e0260f2a9aa9ce9f7aa1 (diff)
downloadgentoo-8f69d6fe4ca77d44807f58f55a5143d1fd5c1bbd.tar.gz
gentoo-8f69d6fe4ca77d44807f58f55a5143d1fd5c1bbd.tar.bz2
gentoo-8f69d6fe4ca77d44807f58f55a5143d1fd5c1bbd.zip
net-libs/libcork: fix build err
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-libs/libcork/files/libcork-0.15.0-git.patch')
-rw-r--r--net-libs/libcork/files/libcork-0.15.0-git.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-libs/libcork/files/libcork-0.15.0-git.patch b/net-libs/libcork/files/libcork-0.15.0-git.patch
new file mode 100644
index 000000000000..54a54a412f47
--- /dev/null
+++ b/net-libs/libcork/files/libcork-0.15.0-git.patch
@@ -0,0 +1,16 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 1e236f9..c8770f6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -49,11 +49,6 @@ execute_process(
+ OUTPUT_VARIABLE GIT_SHA1
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+ )
+-if(GIT_SHA1_RESULT)
+- message(FATAL_ERROR
+- "Cannot determine git commit: " ${GIT_SHA1_RESULT})
+-endif(GIT_SHA1_RESULT)
+-
+ #-----------------------------------------------------------------------
+ # Check for building on Tilera
+ # If the Tilera environment is installed, then $TILERA_ROOT is defined