diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-18 11:55:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-18 11:55:01 +0100 |
commit | 7288c6e5fa05acddbf692a5187d925ef85662b46 (patch) | |
tree | 54bfc06561e59d1ad1e6e7bdbd06b76fc4ba0d06 /dev-libs/pocl | |
parent | 5a1fb66df455454109e1de61d38b48f509dc68b8 (diff) |
gentoo auto-resync : 18:04:2023 - 11:55:01
Diffstat (limited to 'dev-libs/pocl')
-rw-r--r-- | dev-libs/pocl/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/pocl/files/pocl-3.1-c++11.patch | 23 | ||||
-rw-r--r-- | dev-libs/pocl/pocl-3.1.ebuild | 1 |
3 files changed, 26 insertions, 1 deletions
diff --git a/dev-libs/pocl/Manifest b/dev-libs/pocl/Manifest index 494f0501746d..2b48b648da50 100644 --- a/dev-libs/pocl/Manifest +++ b/dev-libs/pocl/Manifest @@ -1,9 +1,10 @@ AUX pocl-3.0-cuda.patch 1611 BLAKE2B 6baaac79d0182ac91210c0be40239f7d955b57cb2ae26bd70569d952e4f063a5949ecc88a4b1e6ef2a51fa14a62365e627d5e37b35be5d4b46442beff468243e SHA512 95326a202962cec2d3f53bf7dfdcbe1b47abdd25544444f164e1cd2aa5706766342e062045f645c3e1e0e917ca305563df414304c7161e303c3bd55cb313eb03 AUX pocl-3.0-fix-version.patch 354 BLAKE2B 8e2b4570c204dc37bb70f20b01838f0c21a6aec57c258a206eb5e82bed69fe01d65f704cfd184c102102fd3a06eb75fb092a2ccfa4d8729192451fa894afc7e9 SHA512 bfe023132ab8080c8539a783586f9c556e7ae4cb8113c3c96b33ac02bd7d4044b36bf13e1556e181af9c12acb4b0e0778af25fd66df1fe6e7ab533c2b68108c4 AUX pocl-3.0-icd.patch 5679 BLAKE2B 4f9edba1e71afb8c059da8f1adcb59f0ccca1bb33ad0c05eb2d3b27c1e7ea6bfa3a2d60f6e6c83136146275aed35a6501713883dad72011379e0ed4ae64eba74 SHA512 436b7f6e53372f00a8c70bb00229d22d05f24687ba2822f4b26590cbdffe64e8c2909d2f1ab6e0650fe18db7507c6bba9f5bcee1a09ec1fe5b42955ddcb99db7 +AUX pocl-3.1-c++11.patch 861 BLAKE2B eca3f649a1ec22735712354cebfe580b740b7c93e851a806b638e6ea23fe5873824d9032771a59d00546b3e99c765ab9490643c446b6af2c7e068d921f82b741 SHA512 e2caac47e8a8fd5d744be1760dc5256d47b1ebcd7119b287a161ce67be262720ef05ed3a49fa39bd1822f79d2f2f82d57c3bf2261cba6459a11695bcc62b73fd AUX pocl-3.1-nodebug.patch 1257 BLAKE2B f7f678d2bfc2190b03a40c1ee4c4f2441455081c9097e85249424e27873452a5bcb5b07ce4bc9b0143841c67c7fac2339ea7b3ba76b237f30290a1b82d30b8e4 SHA512 853e583fe0e8bbda6a69e1ce7d49be064a874efc5d9b2ef554df0e11adc485bca2cb6b3376c08989a111935c428a468594a5fe6a1723aa3ffbf92bcb90c5e2f1 DIST pocl-3.0.tar.gz 1722809 BLAKE2B 095d3d1dca3fa7ebdf61e6e34bf444755dd6842c4f16e0f80895337e96508056465d332309d38ee4db6d6b0031e1dfce350485750e59bfe0dea5951eba5fd3e4 SHA512 dc02bdf259792edb5cb3c80cde5c5261e1e21219b4b31420a3b537abbca1bc478ce0ca0dfc622727088b67d580217d47566309de7c6114a24553de4496a209ea DIST pocl-3.1.tar.gz 1928607 BLAKE2B 7044a96e361426408fabd973987a0d6956693e3c9095769ee94d7dac47a8841d7489933e94acd22451a1c8a2ca83cb8e6948aebe899b23a8a6080ef1b7b37e9c SHA512 40d17e81d715f6897aa1d97fd02834d45227d9d0bd4c70e76d727f9ad4df675c25b7158a862e20e63810182fdad82a3cb1e454668c3a6422a977e59c8325fa0c EBUILD pocl-3.0.ebuild 3696 BLAKE2B 98c59a9b97da018288012f627dff1888cce6afd86a0270cdd239df582c3f2a9903d6914b25c8016494c0fc03664cda267a3143c6dfaa0012be9e5ca335738116 SHA512 2128a4e61904b885a5bb805f9a3f60e5bafe403aaf72042e7b69f5eb0659e63f000ab130493f7f744a412e54ec8297b8a85836dbe63354bf9abfa7b8d917caab -EBUILD pocl-3.1.ebuild 3170 BLAKE2B 6cd8d9c9db4817fc27c42432a524ded6612ba077de894e9af25dc82d251aa7e0ad567e6bfdcfc7f04153b45b65003898081fdf87804bda4375daf5ec43bfe5b6 SHA512 b5b52ef38a8ee32decff08c56db46e6af290d6604ba3805d646b5a6352b1dc6c4e5647e223097612223447246fa858c0854bc862eb3e86625c44ebadcaa4ea6b +EBUILD pocl-3.1.ebuild 3202 BLAKE2B 9b010b6c6b90fcf99091643d725da9836b673e46cf5c90795d8e3569154ea5c3cb7187f45605eefc995902dff010cd188dc71a71d16a3334acd61c0e9322c797 SHA512 bf167ef520049b54b645c1bc934a7b0b43725c99211829827896be984c19d96cd1aab5cca469dc77079b5ab01305d6ace052cd70330821466e4e05142ffc1719 MISC metadata.xml 1191 BLAKE2B 62b985abe8c99532cc20302846fe9e05c77bbc993ef38863d44bd754df2bc388e5d094917ad11d1b117e9dfda355e35f5592fc2ede5a3bc8e91939c9e6aef9e3 SHA512 a9cdbff5f2b2e2141c6299137baed08d1e8482f3b976ef494b595f58092761aab66f33e539d236d8b7f1c564d5fa2aac4855447b54bc189f1dd81faf25fc32ec diff --git a/dev-libs/pocl/files/pocl-3.1-c++11.patch b/dev-libs/pocl/files/pocl-3.1-c++11.patch new file mode 100644 index 000000000000..e676979f2e95 --- /dev/null +++ b/dev-libs/pocl/files/pocl-3.1-c++11.patch @@ -0,0 +1,23 @@ +https://bugs.gentoo.org/903968 +https://github.com/pocl/pocl/issues/1200 +https://github.com/pocl/pocl/commit/b5a097e5e55922561f738eedbde050b0fec2e480 + +From b5a097e5e55922561f738eedbde050b0fec2e480 Mon Sep 17 00:00:00 2001 +From: Topi Leppanen <topi.leppanen@tuni.fi> +Date: Thu, 13 Apr 2023 11:14:23 +0300 +Subject: [PATCH] Don't use make_unique in countred example + +This is because of C++11 compatibility reasons. +Fixes #1200. +--- a/examples/accel/OpenCLcontext.cpp ++++ b/examples/accel/OpenCLcontext.cpp +@@ -189,7 +189,8 @@ bool OpenCL_Manager::processCameraFrame(unsigned char* input, unsigned long *out + return isValid; + } + +-OpenCL_Manager::OpenCL_Manager() : Context{std::make_unique<OpenCL_Context>()} {} ++OpenCL_Manager::OpenCL_Manager() ++ : Context{std::unique_ptr<OpenCL_Context>(new OpenCL_Context())} {} + OpenCL_Manager::~OpenCL_Manager() {} + + diff --git a/dev-libs/pocl/pocl-3.1.ebuild b/dev-libs/pocl/pocl-3.1.ebuild index 473aa1f2fa62..ff61446e2a20 100644 --- a/dev-libs/pocl/pocl-3.1.ebuild +++ b/dev-libs/pocl/pocl-3.1.ebuild @@ -52,6 +52,7 @@ llvm_check_deps() { PATCHES=( "${FILESDIR}"/${P}-nodebug.patch + "${FILESDIR}"/${P}-c++11.patch ) pkg_setup() { |