app-emulation/dxvk: Fix thread model check.

Can't use a variable before it's declared. 🙂
This commit is contained in:
tastytea 2020-05-01 17:40:12 +02:00
parent a9aa33fc6d
commit cb8c6b17ea
Signed by untrusted user: tastytea
GPG Key ID: CFC39497F1B26E07
3 changed files with 10 additions and 10 deletions

View File

@ -7,15 +7,15 @@ AUX 9999-add_compiler_flags.patch 1474 BLAKE2B a38298c55d2884e661afc68d2505cec97
AUX flags.patch 1400 BLAKE2B c69951eddea7b94836e9d64b39870395c4eb54dcfff31fb9ff9eafa801d989acddcf738802bbc3600a871053546dc5f641726f7e75cfdb9f101973aebd2b3571 SHA512 fd4a053775a4ab7b4df24da38ba602a5e8d43a75676bf3e870a82dd4f4e3bcf228e043139604c95941b09086ecd21887a8eaf81f2229d00abb47fdc83419284c
DIST dxvk-1.6.1.tar.gz 894553 BLAKE2B a45f905f33b255beed65daebbb946b36c28d00dc4d3830e46de342f16d95541361a31243e6ce3e8cde3b2c7297dd2b1044aa61955f1803b8bfb34ec83367c2a9 SHA512 0f3cb7096643d1bcb1db51696824c8ca16720adfe6894392122b21f400cfa416e79eb74cdcc46d1a63a276697d324324d7657afb70b9490e22e6792643fc5805
DIST dxvk-1.6.tar.gz 892463 BLAKE2B 84d1ca0b42b9b63c5efa15d284ffedd76d4f5c09a1ca3e51971d36d68f0a5346f4bf3e5ee119a90fdbf489a3e21137e9d981710cb2b33b4b6a195f941baefa15 SHA512 5b1ba21515e5f7a75baba1e182a0b15285712c2a6e8946fcc0eadb82b64d43122e1c211304af2c890e368098fd2a69d174f86c05f9b0de0b417b0f2390d4a0ca
EBUILD dxvk-1.6.1-r1.ebuild 5451 BLAKE2B 384298d2ca80e8057d86f16b91bdf46cb81687d499a8d4570e24b115547e7e936e02118a5e99f760b2e8c81ac0b51939e03fdf8d6fb075f60bce6230c729856f SHA512 a5e495f99a7bc2268bbb60c29869e3cf38b531cc0159fd497aa3779efb6c1ed995d85dea795410cb661afc02141c489d2de520e67f696a60a81d1ec1caa9216f
EBUILD dxvk-1.6.1-r1.ebuild 5458 BLAKE2B 26cf74765a78a1fc91652538eaff50e65696e4fbc6ca781cdb14642aaf9fee1cfd8a8b30e5be08c6c45eee4d8092d5cbeb2acb9f5b1402c1224b1a0a643b39bb SHA512 f1d6dea813e702d700568f5ea54b736f01efbb920b58b93a51b4aa76e4cf386dbc8ecf2ef5ddeca48552575f511939dc8a85942e6acedce7ea6fd926b0cd3639
EBUILD dxvk-1.6.1.ebuild 2970 BLAKE2B 4eb3ed4de391e7bc3aea0b8f2789728f88f43cda7f4da00a6dc7f10308716418bab30c0f235ac4cf048ef887f2100eb4b131be02be0a46817b456a6e05c9db74 SHA512 2915110c781a80e70b1568868c03370804d50954885d7d0015d8bbd5517abcc1ec0bed8cb5f197a3f5d671c6cb5c282ce23fe33c4d179a6ee449b1aaf62ecec7
EBUILD dxvk-1.6.ebuild 3014 BLAKE2B f510a47962b19ab5854d8a5f5e36a2200d021f6783aa05f8222cce1d05006b97130abf186bda937236c73cc994c043d627938035d9363030605d0c082f66638c SHA512 43e80f111f51a9084b09064178bebb437b2c0931b4f65ed665a837805b6bb5dcc5a2868b05bd103fe864f6f9de59829c4c9e21734a780c4a0913b4176c7e8757
EBUILD dxvk-9999-r4.ebuild 5032 BLAKE2B e36e2fc27c9a6fad855e2eb97aab04fd0ff03f598c033736214bb425ee1b4888fd4d284af2834d868a46da299bb8e855ba110e2e11a0b7bb5d52f3f37fde4d8d SHA512 c891dd1e9711a1ebe1bb62c8fbb89d7561771c2e1407cfdedc38a0917b6595cfb73d979b229e80cb984d3b6ea569c968cd3802b677c2b051d682042af70ad9e1
EBUILD dxvk-9999-r4.ebuild 5038 BLAKE2B 25b376febc4aab1df2d9d7a79d289da9ee4121cf3c976f6e00a277c0ad599e83185af8ccc7d6c9ea00b8f6632375e91683f55c71e9f8388ba221d00fadf3d67c SHA512 f62daf7cfbe5eda0ea4cca5b0ee5d97e53017836fcff3fb615966961782fccb1105dce157bf66be27cbcbc82977879283a5c9b2c0d6db2e95c533ed7f2a3b171
MISC metadata.xml 643 BLAKE2B 6e4968ea2dddea57b8079e56f3c7e5f3f478a5d017d4d238d3b2326b593bb461a74ef77270bf659fecec25c564156617e287ab8a247e8b040c07e5b829e70898 SHA512 0c71cc5589839c365703bb1938fd3360adf985875a669239a45abb8f25f517330b8e72895a18db61b076eed7e71e1a804016d0d01afeadc5650340505c30eb74
-----BEGIN PGP SIGNATURE-----
iHUEAREKAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXqmzrAAKCRDPw5SX8bJu
BzK0AP4ll935huRbqm39AoMy7Sh2mQLkPdAewhKFiaot90rJvgD/fr/FBWCMIyaQ
YEu8Ep9uUPn8env3lXQbvxFgt905rRs=
=NeXd
iHUEAREKAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXqxC3QAKCRDPw5SX8bJu
B/SoAP9QAZaYCPyfHD+NEYuNUWkZRxZJ7oda6xSKmhkc691XNQD+NgAlFABkcNIT
ZKfqbRzi/tQZ1S+j6rjzjudkpH4qjhc=
=Gcau
-----END PGP SIGNATURE-----

View File

@ -60,9 +60,9 @@ pkg_pretend () {
use abi_x86_64 && categories+=("cross-x86_64-w64-mingw32")
use abi_x86_32 && categories+=("cross-i686-w64-mingw32")
local thread_model="$(LC_ALL=C ${cat}-gcc -v 2>&1 \
| grep 'Thread model' | cut -d' ' -f3)"
for cat in ${categories[@]}; do
local thread_model="$(LC_ALL=C ${cat/cross-/}-gcc -v 2>&1 \
| grep 'Thread model' | cut -d' ' -f3)"
if ! has_version -b "${cat}/mingw64-runtime[libraries]" ||
! has_version -b "${cat}/gcc" ||
[[ "${thread_model}" != "posix" ]]; then

View File

@ -56,9 +56,9 @@ pkg_pretend () {
use abi_x86_64 && categories+=("cross-x86_64-w64-mingw32")
use abi_x86_32 && categories+=("cross-i686-w64-mingw32")
local thread_model="$(LC_ALL=C ${cat}-gcc -v 2>&1 \
| grep 'Thread model' | cut -d' ' -f3)"
for cat in ${categories[@]}; do
local thread_model="$(LC_ALL=C ${cat/cross-/}-gcc -v 2>&1 \
| grep 'Thread model' | cut -d' ' -f3)"
if ! has_version -b "${cat}/mingw64-runtime[libraries]" ||
! has_version -b "${cat}/gcc" ||
[[ "${thread_model}" != "posix" ]]; then