summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Judt <h.judt@gmx.at>2020-06-05 00:39:28 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-06-24 19:29:37 +0300
commitfa0cbe2e00fc7c43ff5fceee213b89254f54cdc1 (patch)
tree8b86031ad8104be8a1f70bb7da297423d08a247a /dev-lisp/c2ffi/files
parentsys-apps/fwts: cosmetic updates for 20.05.00 (diff)
downloadgentoo-fa0cbe2e00fc7c43ff5fceee213b89254f54cdc1.tar.gz
gentoo-fa0cbe2e00fc7c43ff5fceee213b89254f54cdc1.tar.bz2
gentoo-fa0cbe2e00fc7c43ff5fceee213b89254f54cdc1.zip
dev-lisp/c2ffi: Bump version to c2ffi-10.0.0
Update to c2ffi-10, using clang-10. This time, it was only necessary to add a target_link_directories directive to CMakeLists.txt. Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Harald Judt <h.judt@gmx.at> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-lisp/c2ffi/files')
-rw-r--r--dev-lisp/c2ffi/files/c2ffi-10.0.0.20200527-add-target-link-directories.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lisp/c2ffi/files/c2ffi-10.0.0.20200527-add-target-link-directories.patch b/dev-lisp/c2ffi/files/c2ffi-10.0.0.20200527-add-target-link-directories.patch
new file mode 100644
index 000000000000..2dc4a82413b2
--- /dev/null
+++ b/dev-lisp/c2ffi/files/c2ffi-10.0.0.20200527-add-target-link-directories.patch
@@ -0,0 +1,11 @@
+diff -Naur a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt 2020-06-05 00:21:43.509980270 +0200
++++ b/CMakeLists.txt 2020-06-05 00:22:08.679979968 +0200
+@@ -36,6 +36,7 @@
+ ${LLVM_INCLUDE_DIRS}
+ ${SOURCE_ROOT}/src/include
+ )
++target_link_directories(c2ffi PUBLIC ${LLVM_LIBRARY_DIRS})
+ target_link_libraries(c2ffi PUBLIC clang-cpp LLVM)
+
+ set(APP_BIN_DIR "${CMAKE_BINARY_DIR}/bin")