summaryrefslogtreecommitdiff
path: root/dev-lisp
diff options
context:
space:
mode:
authorPalica <palica+gitlab@liguros.net>2020-06-28 12:52:46 +0200
committerPalica <palica+gitlab@liguros.net>2020-06-28 12:52:46 +0200
commit201b7f407a64a15a8477ea3c0f0fcb9fdaf33fe7 (patch)
tree0be73d02b5be9f6baafdc73d27817551c37396a2 /dev-lisp
parentecdac123787b96ce6649f0f91da12ea6458cc2b1 (diff)
downloadbaldeagleos-repo-201b7f407a64a15a8477ea3c0f0fcb9fdaf33fe7.tar.gz
baldeagleos-repo-201b7f407a64a15a8477ea3c0f0fcb9fdaf33fe7.tar.xz
baldeagleos-repo-201b7f407a64a15a8477ea3c0f0fcb9fdaf33fe7.zip
Updating liguros repo
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/c2ffi/Manifest2
-rw-r--r--dev-lisp/c2ffi/c2ffi-10.0.0.20200527.ebuild (renamed from dev-lisp/c2ffi/c2ffi-9.0.0.20191017.ebuild)8
-rw-r--r--dev-lisp/c2ffi/c2ffi-10.0.0.9999.ebuild (renamed from dev-lisp/c2ffi/c2ffi-9.0.0.9999.ebuild)8
-rw-r--r--dev-lisp/c2ffi/files/c2ffi-10.0.0.20200527-add-target-link-directories.patch11
-rw-r--r--dev-lisp/c2ffi/files/c2ffi-9.0.0.20191017-fix-lib-location.patch49
5 files changed, 20 insertions, 58 deletions
diff --git a/dev-lisp/c2ffi/Manifest b/dev-lisp/c2ffi/Manifest
index 03b798a30b3a..35af3e0ca0a2 100644
--- a/dev-lisp/c2ffi/Manifest
+++ b/dev-lisp/c2ffi/Manifest
@@ -1 +1 @@
-DIST c2ffi-9.0.0.20191017.tar.gz 35139 BLAKE2B a080f2cf7743aab630365fd305c106ada0318afb24093508c7667d8d702ec8dfd95a0ea9f54233a3a4b4c9b411e2f4aba5dacf7b2f35f1545b7ca63e765a7e55 SHA512 7a4743d89f431fd9ca42808358bdde03bbd85fc56f3350fddc94532c524ce373989671e706fadeb03eb240a81fb3f418176169acbf3ccd0f0f0c595d0f697832
+DIST c2ffi-10.0.0.20200527.tar.gz 37554 BLAKE2B b1ebef370083d08513d0f02f8662ba1b090cba991864530c2304ac45e5c74d092f47e9d75a0646ae2f045d346585f371243d8a82bc37fe35f36dee1a75c0812b SHA512 452f2e8d3c81207e74334bc48dcea9bdf2770b4c77884c96abffc69ede20cc770183f363655ae853cddaee95d0512571426c6737d5db0324f7ceebbdf554cdf3
diff --git a/dev-lisp/c2ffi/c2ffi-9.0.0.20191017.ebuild b/dev-lisp/c2ffi/c2ffi-10.0.0.20200527.ebuild
index 53c06c021779..56aaeae61858 100644
--- a/dev-lisp/c2ffi/c2ffi-9.0.0.20191017.ebuild
+++ b/dev-lisp/c2ffi/c2ffi-10.0.0.20200527.ebuild
@@ -5,7 +5,7 @@ EAPI=7
inherit cmake llvm
-MY_COMMIT="15fda06de0bad97bf91f5590f7f24623eab2f580"
+MY_COMMIT="a2d1f667b707fb413fc8ab2413446f15cb23de51"
DESCRIPTION="Clang-based FFI wrapper generator for Common Lisp"
HOMEPAGE="https://github.com/rpav/c2ffi"
@@ -16,11 +16,11 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE=""
-DEPEND="sys-devel/clang:9=
- sys-devel/llvm:9=
+DEPEND="sys-devel/clang:10=
+ sys-devel/llvm:10=
"
RDEPEND="${DEPEND}"
S="${WORKDIR}/c2ffi-${MY_COMMIT}"
-PATCHES=( "${FILESDIR}"/${PN}-9.0.0.20191017-fix-lib-location.patch )
+PATCHES=( "${FILESDIR}"/${PN}-10.0.0.20200527-add-target-link-directories.patch )
diff --git a/dev-lisp/c2ffi/c2ffi-9.0.0.9999.ebuild b/dev-lisp/c2ffi/c2ffi-10.0.0.9999.ebuild
index 6a2256dee41f..dac9e0eb3d31 100644
--- a/dev-lisp/c2ffi/c2ffi-9.0.0.9999.ebuild
+++ b/dev-lisp/c2ffi/c2ffi-10.0.0.9999.ebuild
@@ -8,15 +8,15 @@ inherit cmake git-r3 llvm
DESCRIPTION="Clang-based FFI wrapper generator for Common Lisp"
HOMEPAGE="https://github.com/rpav/c2ffi"
EGIT_REPO_URI="https://github.com/rpav/c2ffi.git"
-EGIT_BRANCH="llvm-9.0.0"
+EGIT_BRANCH="llvm-10.0.0"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE=""
-DEPEND="sys-devel/clang:9=
- sys-devel/llvm:9=
+DEPEND="sys-devel/clang:10=
+ sys-devel/llvm:10=
"
RDEPEND="${DEPEND}"
-PATCHES=( "${FILESDIR}"/${PN}-9.0.0.20191017-fix-lib-location.patch )
+PATCHES=( "${FILESDIR}"/${PN}-10.0.0.20200527-add-target-link-directories.patch )
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")
diff --git a/dev-lisp/c2ffi/files/c2ffi-9.0.0.20191017-fix-lib-location.patch b/dev-lisp/c2ffi/files/c2ffi-9.0.0.20191017-fix-lib-location.patch
deleted file mode 100644
index 8b09b25aa739..000000000000
--- a/dev-lisp/c2ffi/files/c2ffi-9.0.0.20191017-fix-lib-location.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 3a496f89064de85af04ce101918c2ec5cebf7846 Mon Sep 17 00:00:00 2001
-From: Harald Judt <h.judt@gmx.at>
-Date: Fri, 8 Nov 2019 10:35:02 +0100
-Subject: Fix CLANG and LLVM libraries not found
-
-This commit gets the build working again here on Gentoo.
-
-Adding LLVM_LIBRARY_DIRS fixes the CLANG libs not found error.
-
-Adding llvm_map_components_to_libnames fixes LLMV not found error.
----
- CMakeLists.txt | 12 ++++++++++--
- 1 file changed, 10 insertions(+), 2 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 99dbe4b..f93b9b3 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -39,6 +39,15 @@ target_include_directories(c2ffi PUBLIC
- ${LLVM_INCLUDE_DIRS}
- ${SOURCE_ROOT}/src/include
- )
-+target_link_directories(c2ffi PUBLIC
-+ ${LLVM_LIBRARY_DIRS}
-+)
-+message(STATUS "LLVM_LIBRARY_DIRS=${LLVM_LIBRARY_DIRS}")
-+
-+llvm_map_components_to_libnames(llvm_libs core support mcparser bitreader profiledata)
-+
-+message(STATUS "llvm_libs=${llvm_libs}")
-+
- target_link_libraries(c2ffi PUBLIC
- clangFrontendTool
- clangFrontend
-@@ -64,10 +73,9 @@ target_link_libraries(c2ffi PUBLIC
- clangIndex
- clangToolingCore
- clangTooling
-+ ${llvm_libs}
- )
-
--llvm_config(c2ffi USE_SHARED core support mcparser bitreader profiledata)
--
- set(APP_BIN_DIR "${CMAKE_BINARY_DIR}/bin")
- set_target_properties(c2ffi PROPERTIES
- RUNTIME_OUTPUT_DIRECTORY "${APP_BIN_DIR}"
---
-2.23.0
-