1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

finance/py-bitcoin: Remove LICENSE from plist

PR:		261162

Reported by:	se@
This commit is contained in:
Yuri Victorovich 2022-01-12 13:41:29 -08:00
parent dba356ff75
commit 8b18d3b4b4
3 changed files with 60 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Created by: Yuri Victorovich <yuri@rawbw.com>
PORTNAME= bitcoin
PORTVERSION= 1.1.42
DISTVERSION= 1.1.42
CATEGORIES= finance python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -14,6 +14,15 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
POST_PLIST= fix-plist
fix-plist:
@${REINPLACE_CMD} -e "s|^LICENSE$$||" ${TMPPLIST}
post-install:
${RM} ${STAGEDIR}${PREFIX}/LICENSE
.include <bsd.port.mk>

View File

@ -0,0 +1,38 @@
- workaround for https://bugs.llvm.org/show_bug.cgi?id=49238
--- mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc.orig 2022-01-10 23:38:14 UTC
+++ mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc
@@ -61,8 +61,14 @@ ss2Iteration_pruning(double *y2, double *y1, const dou
const double one = 1.0;
const blas_int ONE = 1;
#endif
- auto [ii1, ii2, ii3] = set_vector_of_indices(n, m); // vector indices for ghxx
- auto [jj1, jj2, jj3] = set_vector_of_indices(q, m); // vector indices for ghuu
+ auto [ii1_, ii2_, ii3_] = set_vector_of_indices(n, m); // vector indices for ghxx
+ auto ii1 = ii1_;
+ auto ii2 = ii2_;
+ auto ii3 = ii3_;
+ auto [jj1_, jj2_, jj3_] = set_vector_of_indices(q, m); // vector indices for ghuu
+ auto jj1 = jj1_;
+ auto jj2 = jj2_;
+ auto jj3 = jj3_;
#pragma omp parallel for num_threads(number_of_threads)
for (int particle = 0; particle < s; particle++)
{
@@ -139,8 +145,14 @@ ss2Iteration(double *y, const double *yhat, const doub
const double one = 1.0;
const blas_int ONE = 1;
#endif
- auto [ii1, ii2, ii3] = set_vector_of_indices(n, m); // vector indices for ghxx
- auto [jj1, jj2, jj3] = set_vector_of_indices(q, m); // vector indices for ghuu
+ auto [ii1_, ii2_, ii3_] = set_vector_of_indices(n, m); // vector indices for ghxx
+ auto ii1 = ii1_;
+ auto ii2 = ii2_;
+ auto ii3 = ii3_;
+ auto [jj1_, jj2_, jj3_] = set_vector_of_indices(q, m); // vector indices for ghuu
+ auto jj1 = jj1_;
+ auto jj2 = jj2_;
+ auto jj3 = jj3_;
#pragma omp parallel for num_threads(number_of_threads)
for (int particle = 0; particle < s; particle++)
{

View File

@ -0,0 +1,12 @@
- backport of fix: https://git.dynare.org/Dynare/preprocessor/-/commit/8c528f4f9a15baf73c014e1c3e55bc13583ca09d
--- preprocessor/src/EquationTags.cc.orig 2022-01-10 23:30:53 UTC
+++ preprocessor/src/EquationTags.cc
@@ -20,6 +20,7 @@
#include "EquationTags.hh"
#include <regex>
+#include <ostream>
set<int>
EquationTags::getEqnsByKey(const string &key) const