diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /sys-libs/tapi | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'sys-libs/tapi')
-rw-r--r-- | sys-libs/tapi/Manifest | 6 | ||||
-rw-r--r-- | sys-libs/tapi/files/tapi-1.30-allow-all-clients.patch | 17 | ||||
-rw-r--r-- | sys-libs/tapi/files/tapi-1.30-llvm-config.patch | 11 | ||||
-rw-r--r-- | sys-libs/tapi/files/tapi-1.30-llvm-new-error-api.patch | 65 | ||||
-rw-r--r-- | sys-libs/tapi/files/tapi-1.30-llvm-out-of-tree.patch | 10 | ||||
-rw-r--r-- | sys-libs/tapi/tapi-1.30.ebuild | 37 |
6 files changed, 0 insertions, 146 deletions
diff --git a/sys-libs/tapi/Manifest b/sys-libs/tapi/Manifest index df5153bb7697..37d16d594da1 100644 --- a/sys-libs/tapi/Manifest +++ b/sys-libs/tapi/Manifest @@ -1,14 +1,8 @@ AUX objcmetadata-800.0.42.1-standalone.patch 4556 BLAKE2B 3b0c1d9f6cf55cdefdbe2df51f7dcdc29f8c95e73c3e209e9a0ef594059ac2f0ff8d96b67419723f994c7469319fee2f0dcdf20f9071dcf80df4c01f56c87656 SHA512 ba40d3e8ff2382835fcea2615ca1a19eb4279a1eac982bf6fbdceacb9fb4c99f8fdb7d30fc752002f4e95ea12b1775fa6dacdb24bbcdf97bc17cdf8f72bbfc0c -AUX tapi-1.30-allow-all-clients.patch 792 BLAKE2B c24ec4d99850cd3cf16dd20dbda9e15c8de6ad0426358495956e3fc35c04138ed27b5e6ed40831e817bd8b20521a91e0c0de3aa715b1c3fbde13daceb427f28c SHA512 08116c81611554ab8c07176d89762016f12a18d9b38fa47a541abc7c94194007d0cc1067e15abf25479ef0c10708ef8d37ef3c9234dbaaa294c372018a283be7 -AUX tapi-1.30-llvm-config.patch 360 BLAKE2B e2c3fcc70b8f1bf92e080792233138ee600f06a83dc3b336ff50196ff28cfc0fef6521ba9e5bf8a42f36a42f381992bc219d145e22a4031614bf291cb2cc62cc SHA512 77958e021478299c7aba6a38a861de5c7602ae70d97a3bb008f8d0a456afb303d445244a19a7043d555f7669fcbac3eaa924e93d3e1753479748e29b33c7a34e -AUX tapi-1.30-llvm-new-error-api.patch 1714 BLAKE2B 48f1965e68d7da9f19d005dff527ec0bd3c0467418b4554298695751906982138a83ea0c3c3b797d65d53455d4a9739ac213508c2e2b042bc772b5ff03e328b1 SHA512 2fa31ea8ca320aeb78458c2ab88771ab7978da565dfe81aaaf22ff8d18c859379001dc226b4f4330b981e3c73195ef283af37a0db1142caaeb71052f6c3cf354 -AUX tapi-1.30-llvm-out-of-tree.patch 368 BLAKE2B 4b1973b2fd3a24617ceed88ae2dd3fc24e5538089b167dd7e49dae892adf64e12c40422151911ed89e1383a029dc70c82b50a79c7c5d0cee02d98276eb595271 SHA512 51d3fb6148dc42108f144e35d57000b5ade9ec792860bf0d14a4d5e15a677184293d761bc36e9ea81e541849e9815f3c9d5bffca2ce92f160ff75697e145ea9c AUX tapi-2.0.0-standalone.patch 4698 BLAKE2B bd1b1531118e6305adb5e8368b1aabf9981dc840d1168b8fad9155444024bdf9e03c90b6830dea4291c35dfa8709d4369760874875797ea3510c5f783a930c31 SHA512 1b8add9defcc9fcbfd90f550763669e4c3acc4199b38df81a87eaeb3b137f5839b62f7679978c7a6f57af6512d936945e9992597475e05ab25737c7ffbc13390 DIST cfe-5.0.1.src.tar.xz 11483036 BLAKE2B c4eb54cd8271b62cf7a2219db0b599b68c00b6e574d1946220efbd1633e841796e6717d6eeb35e84a6db32a731a3285b59cedeb3b1a8f3c3c502b799fdd0a720 SHA512 6619177a2ff9934fe8b15d6aa229abb8e34d0b1a75228d9efba9393daf71d6419a7256de57b31e2f9f829f71f842118556f996e86ee076f1e0a7cd394dfd31a2 DIST clang-800.0.42.1.tar.gz 41165807 BLAKE2B 89e3ddc0268c2302f6679089648163a1b7457c3133f8f07de12c5980a66b6b7efdfa65966f5d9425ca20bd622cb1739bc009fe45edb4f0986ffd36af77a2480e SHA512 7fec6236996e4647043697f0f62d2eddb064a4604a7c64c11d2df2ff89aff95f4eb9fe1c2e604c0e276296927dd06b8a7794e0343bf0352cf65400dde40aab41 DIST llvm-5.0.1.src.tar.xz 23428720 BLAKE2B 3db4d33df21018d17eef0042c0d8d82a8412bd5daa99cfb5405a6ec83c5774178fa76b220e8731c2a9a64dabf898aa90fe29c685327bd63a4f078e8e94a9a77e SHA512 bee1d45fca15ce725b1f2b1339b13eb6f750a3a321cfd099075477ec25835a8ca55b5366172c4aad46592dfd8afe372349ecf264f581463d017f9cee2d63c1cb -DIST tapi-1.30.tar.gz 29071 BLAKE2B e5eb4f2eea6500d4f06c490c8b7f70070fe2ba31579133b92c1d162c33afb3c422c2fba1249734a5749455185a4fc3d79b1eb00820387990cc65fe0fc69ac55a SHA512 fa495da150c6b6ff9e0bf667a9a06f0b932363297b75379fd59a5c728168a3ac103a656d1a59fa1b0c0012a18c9874439237bbf2a3c26f9bdf202b4d78e31520 DIST tapi-2.0.0.tar.gz 195080 BLAKE2B 28c31f4cb119525edb1a755895d8a3a05c9a606610fbf0c135790c0caf85a26d3b7e7fbbf856d001c26641a755e0d836f2f697a5856153d9dfc7c258e28427a1 SHA512 fc7209556ff75285a99ce64225831d53f9d959f7d6d9562cbfe91b019591860a00196c93de2258bbdaba02301af38990557b7e241ad3f66d09eb9440f4edf5ab -EBUILD tapi-1.30.ebuild 948 BLAKE2B 414b9539db6f0a9dec4c231bb26d724e906c92a9ac24d6d0e8173ecbf717a162e6fc1750abad08c5f65bce9bb27c601530036f47a81d938d579fa52928f823fb SHA512 98e04f176833610e53cc742dc03bb1b9a3d43e66c6fa8251b3ba5140e3cdf3bead0d75d8ff5857fe632b23d857dcada45577da81de039dcff3b6502af12b7984 EBUILD tapi-2.0.0.ebuild 5059 BLAKE2B 9c9232f7a1cd6da8ea444fb0b74749c3318869cd3028ee900e5e63cdb4c9b202644a0fe1e691bb0fb4df7b06b26a9740267d9b39d7d44cfc5a6d98b361f3515b SHA512 e7dae17b08273d9d41853fc23a735c1346c6592bf8ee8a6b2567350f5b156f69a4d14b99083faf408bff07d3a84bdd4d1b2decfd9fbd819948271aee6af243fd MISC metadata.xml 248 BLAKE2B 92ffbf5df7cedae395e3af770765075073d9dd2ddcc887b34b1eca1997d449a5dc827cb3513863a21f26efebf75700fc87e1228c8614a47e951da4b270f264d4 SHA512 5dca2496f2ab8cbdb810fd11c488d84ab9822448794d7e6e3edbb1f71a9f1865248685e25d3e54524b43d781b8e073082773606f8e91943a71fd2bafe63f7b73 diff --git a/sys-libs/tapi/files/tapi-1.30-allow-all-clients.patch b/sys-libs/tapi/files/tapi-1.30-allow-all-clients.patch deleted file mode 100644 index 98309132cf70..000000000000 --- a/sys-libs/tapi/files/tapi-1.30-allow-all-clients.patch +++ /dev/null @@ -1,17 +0,0 @@ -libtapi is by default limited to be linked to binaries called ld only. When -trying to link it into e.g. our ld64 we get: - -ld: cannot link directly with ${EPREFIX}/usr/lib/libtapi.dylib for architecture -x86_64 - -Drop that limitation in order to be able to use the library. - ---- libtapi-1.30/tools/libtapi/CMakeLists.txt.orig 2017-02-12 17:35:55.000000000 +0100 -+++ libtapi-1.30/tools/libtapi/CMakeLists.txt 2017-02-12 17:36:17.000000000 +0100 -@@ -18,5 +18,5 @@ - - set_property(TARGET libtapi APPEND_STRING - PROPERTY -- LINK_FLAGS " -current_version ${TAPI_VERSION_MAJOR}.${TAPI_VERSION_MINOR}.${TAPI_VERSION_PATCH} -compatibility_version 1 -allowable_client ld" -+ LINK_FLAGS " -current_version ${TAPI_VERSION_MAJOR}.${TAPI_VERSION_MINOR}.${TAPI_VERSION_PATCH} -compatibility_version 1" - ) diff --git a/sys-libs/tapi/files/tapi-1.30-llvm-config.patch b/sys-libs/tapi/files/tapi-1.30-llvm-config.patch deleted file mode 100644 index ea5a462c025b..000000000000 --- a/sys-libs/tapi/files/tapi-1.30-llvm-config.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- libtapi-1.30/lib/Core/Symbol.cpp.orig 2017-02-11 21:51:53.000000000 +0100 -+++ libtapi-1.30/lib/Core/Symbol.cpp 2017-02-11 21:52:00.000000000 +0100 -@@ -9,7 +9,7 @@ - - #include "tapi/Core/Symbol.h" - #include "tapi/Core/LLVM.h" --#include "llvm/Config/config.h" -+#include "llvm/Config/llvm-config.h" - #include "llvm/Support/raw_ostream.h" - - #if HAVE_CXXABI_H diff --git a/sys-libs/tapi/files/tapi-1.30-llvm-new-error-api.patch b/sys-libs/tapi/files/tapi-1.30-llvm-new-error-api.patch deleted file mode 100644 index 814ca30879a0..000000000000 --- a/sys-libs/tapi/files/tapi-1.30-llvm-new-error-api.patch +++ /dev/null @@ -1,65 +0,0 @@ ---- libtapi-1.30/lib/Core/MachODylibReader.cpp.orig 2017-02-11 21:36:40.000000000 +0100 -+++ libtapi-1.30/lib/Core/MachODylibReader.cpp 2017-02-11 21:48:25.000000000 +0100 -@@ -37,7 +37,11 @@ - } - - auto binaryOrErr = createBinary(bufferRef); -+#if LLVM_NEW_ERROR_API -+ if (binaryOrErr.takeError()) -+#else - if (binaryOrErr.getError()) -+#endif - return FileType::Invalid; - - Binary &bin = *binaryOrErr.get(); -@@ -49,7 +53,11 @@ - for (auto OI = UB->begin_objects(), OE = UB->end_objects(); OI != OE; ++OI) { - auto objOrErr = OI->getAsObjectFile(); - // Ignore archives. -+#if LLVM_NEW_ERROR_API -+ if (objOrErr.takeError()) -+#else - if (objOrErr.getError()) -+#endif - continue; - - auto &obj = *objOrErr.get(); -@@ -228,7 +236,11 @@ - ? SymbolFlags::WeakReferenced - : SymbolFlags::None; - auto symbolName = symbol.getName(); -+#if LLVM_NEW_ERROR_API -+ if (symbolName.takeError()) -+#else - if (symbolName.getError()) -+#endif - continue; - - StringRef name; -@@ -244,8 +256,14 @@ - file->setPath(memBuffer.getBufferIdentifier()); - - auto binaryOrErr = createBinary(memBuffer); -+// no way to figure this out from the headers :-( -+#if LLVM_NEW_ERROR_API -+ if (auto ec = binaryOrErr.takeError()) { -+ file->setErrorCode(llvm::errorToErrorCode(std::move(ec))); -+#else - if (auto ec = binaryOrErr.getError()) { - file->setErrorCode(ec); -+#endif - return std::move(file); - } - -@@ -263,7 +281,11 @@ - auto objOrErr = OI->getAsObjectFile(); - - // Ignore archives. -+#if LLVM_NEW_ERROR_API -+ if (objOrErr.takeError()) -+#else - if (objOrErr.getError()) -+#endif - continue; - - auto &object = *objOrErr.get(); diff --git a/sys-libs/tapi/files/tapi-1.30-llvm-out-of-tree.patch b/sys-libs/tapi/files/tapi-1.30-llvm-out-of-tree.patch deleted file mode 100644 index 56386476994a..000000000000 --- a/sys-libs/tapi/files/tapi-1.30-llvm-out-of-tree.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- libtapi-1.30/CMakeLists.txt.orig 2017-02-11 21:04:56.000000000 +0100 -+++ libtapi-1.30/CMakeLists.txt 2017-02-11 21:05:12.000000000 +0100 -@@ -34,6 +34,7 @@ - ${CMAKE_CURRENT_SOURCE_DIR}/include/tapi/Version.inc.in - ${CMAKE_CURRENT_BINARY_DIR}/include/tapi/Version.inc) - -+include(AddLLVM) - macro(add_tapi_library name) - cmake_parse_arguments(ARG - "SHARED" diff --git a/sys-libs/tapi/tapi-1.30.ebuild b/sys-libs/tapi/tapi-1.30.ebuild deleted file mode 100644 index 1b087540133b..000000000000 --- a/sys-libs/tapi/tapi-1.30.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils flag-o-matic - -DESCRIPTION="Text-based Application Programming Interface" -HOMEPAGE="https://opensource.apple.com/source/tapi" -SRC_URI="https://opensource.apple.com/tarballs/${PN}/${P}.tar.gz" -S="${WORKDIR}/lib${P}" - -LICENSE="|| ( UoI-NCSA MIT )" -SLOT="0" -KEYWORDS="~x64-macos" - -DOCS=( Readme.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-1.30-llvm-out-of-tree.patch - "${FILESDIR}"/${PN}-1.30-llvm-new-error-api.patch - "${FILESDIR}"/${PN}-1.30-llvm-config.patch - "${FILESDIR}"/${PN}-1.30-allow-all-clients.patch -) - -src_configure() { - local mycmakeargs=( - -DCMAKE_MODULE_PATH="${EPREFIX}/usr/lib/cmake/llvm;${EPREFIX}/usr/share/llvm/cmake" - ) - - # poor man's configure - [ -f "${EPREFIX}"/usr/include/llvm/Support/Error.h ] && \ - append-cxxflags -DLLVM_NEW_ERROR_API=1 - - append-cxxflags -std=c++11 - cmake-utils_src_configure -} |