summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-01 07:10:13 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-01 07:10:13 +0100
commit42ff81a7480d9bba317b42fcca03b46da2a622ce (patch)
tree5a0ccbe2b71a4ec6c160b568160999a6afe316de /dev-util
parent290844d409ace33d948956aec3c542ea6f4a7b13 (diff)
gentoo auto-resync : 01:10:2022 - 07:10:12
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/Manifest.gzbin68800 -> 68797 bytes
-rw-r--r--dev-util/bitcoin-tx/Manifest10
-rw-r--r--dev-util/bitcoin-tx/bitcoin-tx-0.20.1.ebuild2
-rw-r--r--dev-util/bitcoin-tx/bitcoin-tx-0.21.0.ebuild2
-rw-r--r--dev-util/bitcoin-tx/bitcoin-tx-0.21.1.ebuild2
-rw-r--r--dev-util/bitcoin-tx/bitcoin-tx-21.2.ebuild2
-rw-r--r--dev-util/bitcoin-tx/bitcoin-tx-22.0.ebuild2
-rw-r--r--dev-util/packer/Manifest2
-rw-r--r--dev-util/packer/packer-1.7.10.ebuild4
-rw-r--r--dev-util/unicorn/Manifest3
-rw-r--r--dev-util/unicorn/files/unicorn-2.0.0-lto.patch62
-rw-r--r--dev-util/unicorn/unicorn-2.0.0.ebuild4
12 files changed, 80 insertions, 15 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz
index 4ff8b99e6075..6f0b7855799d 100644
--- a/dev-util/Manifest.gz
+++ b/dev-util/Manifest.gz
Binary files differ
diff --git a/dev-util/bitcoin-tx/Manifest b/dev-util/bitcoin-tx/Manifest
index 556f11323d48..d60cc13348a7 100644
--- a/dev-util/bitcoin-tx/Manifest
+++ b/dev-util/bitcoin-tx/Manifest
@@ -9,9 +9,9 @@ DIST bitcoin-v0.21.0.tar.gz 7533957 BLAKE2B 01247cbb9fca2381a8c08ab1c88c479c6409
DIST bitcoin-v0.21.1.tar.gz 7635092 BLAKE2B 83610537c3cf6a11a1f59b92085b7a99fb22013ead1c6dce0c8f3182b69b11be6801f1f3b35bf31d72cfc15c76b6a69f1e6f3b754ff179565c0a687d16a35a48 SHA512 648739df8f360609d7b562e0bbfb3ab852eb6c538aa33ef56f71e7652ee766648ee8782aadeed1def1f2174d3330bbbdf9b1eee5090ca292e8d4a46c1b7f5c46
DIST bitcoin-v0.21.2.tar.gz 7768110 BLAKE2B fe8616235caba29ebf3a36d1a8484d5d534db0f7a6486822e88f8322eb9b7220b1c7539feee5b9486129eb97d5a6810b8542e627a6bf3451094821f56cd8d9f8 SHA512 4b3554b0f4a5f68d42a9bec273558098239c5b8be35248d1957d00076a8c57bf3d6cfb7af57b7340b0df7aea49c9bf2607a58cbb1573482527be4bd6da812dc0
DIST bitcoin-v22.0.tar.gz 7977783 BLAKE2B ba212037bc8efcfbbbf6340c48ed886c4a5aa93e4a34097eafea39734a6f4e25fa6b174f894655f63c504380d8761657771795bfcc641018bf1f1661deef9321 SHA512 1b4b17360e97f390ae678adb7a239c359d3a1288799710683e26f09fc53341b6fca3211465fa3e4fdee37324d85ec1a31ffd1a3714e969df13441f755fa4b7ad
-EBUILD bitcoin-tx-0.20.1.ebuild 2415 BLAKE2B d1cfb32b21bf45a8a959142dd626a4af52f4d337d634adb097445010bfce0ac6083668df98d5235c5855f3e8338d426859cce96c7ff58dbeb93246a1e0dd6e3f SHA512 b43abf41e16e98e8dda8c58f5a5ecb8ef893246cdbb1f03082302cf766e7dce621d3e1e28ab8d12d697a834c675c0e3fd5c949176af9428b509a439bef302e96
-EBUILD bitcoin-tx-0.21.0.ebuild 2423 BLAKE2B 387727ab303936d1bd1bb989ae83baa0222dc9567784f865527e4acb144751eade9eb7802b02450aa59d9cb36aa01cf684bfb33bdfce14217a905afcb027d0d8 SHA512 cc5f82b9beee66432fc030941bdae2323e5f22bc879ad5cd1a50b87b86fde452188787187ac6138743cb285fd73b9db2a853516028cab3184aea01a67921d402
-EBUILD bitcoin-tx-0.21.1.ebuild 2359 BLAKE2B ddc52b1fa52c9337a6c31d2793b56f156c3e29d9230b1e68c38cd9209cfffc38f74b32f7159835cf98572b80910ebbbcfe487a18982b526f75e0903b28027244 SHA512 c8693b488dc7a6d26819422e0df355c2a627f7c20354cae0c886330969d87afd978ec6f97c0caaa9d009bb7e0fb149535eb96023468ee522478522154dd1934c
-EBUILD bitcoin-tx-21.2.ebuild 2328 BLAKE2B 8a177f52e4e1070833317ec68f91a7d75c7c93b62194ff962334f3313433c747af3720eee8dcfe2e31c16ed147b9c9e0fd45de2f7fa8a5c6a4fa2fd2ddbc82c2 SHA512 edea6078667ae4b457a14e500be75f9ce2588bde461b4d3808616f22e8dfecc96103ba6940607365538d2d28a6bb8e5eaef79be17d747d57c08c49e2942a750a
-EBUILD bitcoin-tx-22.0.ebuild 2689 BLAKE2B dcbda16160e96c6730a68f6d4259c09ec013442a89bc1e573c5171f49b118af143ec969c42a508b4548d0e2a5375415ad5fb20518f7db755ee4b3ae0c392e1e0 SHA512 3c353d66f97f9de87ca3031406e45e40da3e716944eb28da106a6a3eece765a80e456ac31c0e221fdc0c0fe914a002b0c76b32de4f73d3bb76319ffcb2a18867
+EBUILD bitcoin-tx-0.20.1.ebuild 2425 BLAKE2B bbee2ef80a096b1c0cbf2c1c49002849ed273b2d5d4e3cc1789cfe4510d805757861e0bdd458666098e838274efa3e1d5a3d135a1bc3eb3e6a8f806b43aef8ac SHA512 153ac9766f28887f7e5edf6c7cba62858066a319ed78c1835205f1fc83aa2bde08322f9338c6b0027bae01d98f3d2a95f2155c16cf7f48b5ae1843a7216fb9c5
+EBUILD bitcoin-tx-0.21.0.ebuild 2433 BLAKE2B ae42a797e2f2c258e0f70fa5bdde4250c14e2f9db658a6df208d4449d71bbf5fb9e5dbf3cd2364a5595b5ead60143df3504413910b2ab5a9f423ff85f916b54e SHA512 e985e69f181f72438e32eecd29bc78e70904cea6d61b053e8405c4205d48b0864fc4e0f1df004b021fbee581f7fac50f23f6d832c5d5e7f8c02ac4972a29eb5e
+EBUILD bitcoin-tx-0.21.1.ebuild 2369 BLAKE2B 6c1455f0c53116bcbadd1ca83fc2f860c1800eee6ebe09621734a9b28daa167a2256477585ea462d6c1b4c6eddd51e693e1fe8ab12efa05379f0e6fc3fc3b381 SHA512 9080a729ba701d6ec0935a800aa1fa13f8e05b629135b1ed70eb2b4420d733f4f6ff8db7cdb024222d170626383bbef0a123828e4048b2f0cf54b677dbbe67f2
+EBUILD bitcoin-tx-21.2.ebuild 2338 BLAKE2B 81581820ccec6aa8599ca4234aff79b5233b72159cc28d7d2e02df7cd04bd260a4df93b747093816a3af6e1b52d4d79ce1e1acac8781d769fbef5e11feaee556 SHA512 11537ddd5d5e1a218803e24aae12cfd10658ffbb0c35b9e0237ef1e51f2a6f4991a5e013367acb66812f807d0c0f13ede45588c5fcd1829bb311ad5f5d4561e8
+EBUILD bitcoin-tx-22.0.ebuild 2699 BLAKE2B 5957a6f040f3a07a607ff8b0e25ff8788450ea198ff394a0d593423d75cc13ec3f12bda2ff632cdd3672eb5222d8ae1c9345925e0c2e6e1a11143a400f6cc18b SHA512 4255cfa0064a3e985c90522175b780244f3336ae14f3de3106bb05359583274cdfea9f7912be610ec55ee684b7850b8f96f9ffa72def2c2f7d51327f56d98308
MISC metadata.xml 651 BLAKE2B 33a308d2af3a2418cfed88e8a50b1a7f160c3f9ccb7d65acef717cad7bbad0dd8fe0577a6fbe606a354f6458074ed3471ac7672737c8892ac5c67f41ef47ed2f SHA512 303af395b2ef63071c84925ccd94a79f441fa2d32efb78b218c2846be6ae8777949823d205f8073c48ff73746adbec8cf05f76ec90a7f26601cd427335f1fff7
diff --git a/dev-util/bitcoin-tx/bitcoin-tx-0.20.1.ebuild b/dev-util/bitcoin-tx/bitcoin-tx-0.20.1.ebuild
index 5ee8e0089dbc..e112dc6a8e41 100644
--- a/dev-util/bitcoin-tx/bitcoin-tx-0.20.1.ebuild
+++ b/dev-util/bitcoin-tx/bitcoin-tx-0.20.1.ebuild
@@ -13,7 +13,7 @@ DESCRIPTION="Command-line Bitcoin transaction tool"
HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/"
SRC_URI="
https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> bitcoin-v${PV}.tar.gz
- https://bitcoinknots.org/files/0.20.x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
+ https://bitcoinknots.org/files/$(ver_cut 1-2).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
"
LICENSE="MIT"
diff --git a/dev-util/bitcoin-tx/bitcoin-tx-0.21.0.ebuild b/dev-util/bitcoin-tx/bitcoin-tx-0.21.0.ebuild
index 4225b882677b..eba9ff93c5e7 100644
--- a/dev-util/bitcoin-tx/bitcoin-tx-0.21.0.ebuild
+++ b/dev-util/bitcoin-tx/bitcoin-tx-0.21.0.ebuild
@@ -13,7 +13,7 @@ DESCRIPTION="Command-line Bitcoin transaction tool"
HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/"
SRC_URI="
https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> bitcoin-v${PV}.tar.gz
- https://bitcoinknots.org/files/0.21.x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
+ https://bitcoinknots.org/files/$(ver_cut 1-2).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
"
LICENSE="MIT"
diff --git a/dev-util/bitcoin-tx/bitcoin-tx-0.21.1.ebuild b/dev-util/bitcoin-tx/bitcoin-tx-0.21.1.ebuild
index c4020b7738c6..c7ebffda8f7d 100644
--- a/dev-util/bitcoin-tx/bitcoin-tx-0.21.1.ebuild
+++ b/dev-util/bitcoin-tx/bitcoin-tx-0.21.1.ebuild
@@ -13,7 +13,7 @@ DESCRIPTION="Command-line Bitcoin transaction tool"
HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/"
SRC_URI="
https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> bitcoin-v${PV}.tar.gz
- https://bitcoinknots.org/files/0.21.x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
+ https://bitcoinknots.org/files/$(ver_cut 1-2).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
"
LICENSE="MIT"
diff --git a/dev-util/bitcoin-tx/bitcoin-tx-21.2.ebuild b/dev-util/bitcoin-tx/bitcoin-tx-21.2.ebuild
index 5f36a5d39e78..ebfc9e5de376 100644
--- a/dev-util/bitcoin-tx/bitcoin-tx-21.2.ebuild
+++ b/dev-util/bitcoin-tx/bitcoin-tx-21.2.ebuild
@@ -13,7 +13,7 @@ DESCRIPTION="Command-line Bitcoin transaction tool"
HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/"
SRC_URI="
https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> bitcoin-v0.${PV}.tar.gz
- https://bitcoinknots.org/files/21.x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
+ https://bitcoinknots.org/files/$(ver_cut 1).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
"
LICENSE="MIT"
diff --git a/dev-util/bitcoin-tx/bitcoin-tx-22.0.ebuild b/dev-util/bitcoin-tx/bitcoin-tx-22.0.ebuild
index 7f6a574275ff..9c3c211276ed 100644
--- a/dev-util/bitcoin-tx/bitcoin-tx-22.0.ebuild
+++ b/dev-util/bitcoin-tx/bitcoin-tx-22.0.ebuild
@@ -13,7 +13,7 @@ DESCRIPTION="Command-line Bitcoin transaction tool"
HOMEPAGE="https://bitcoincore.org/ https://bitcoinknots.org/"
SRC_URI="
https://github.com/bitcoin/bitcoin/archive/${BITCOINCORE_COMMITHASH}.tar.gz -> bitcoin-v${PV}.tar.gz
- https://bitcoinknots.org/files/22.x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
+ https://bitcoinknots.org/files/$(ver_cut 1).x/${KNOTS_PV}/${KNOTS_P}.patches.txz -> ${KNOTS_P}.patches.tar.xz
"
LICENSE="MIT"
diff --git a/dev-util/packer/Manifest b/dev-util/packer/Manifest
index c3e3a09f99ee..07cfe7a5d91b 100644
--- a/dev-util/packer/Manifest
+++ b/dev-util/packer/Manifest
@@ -1,4 +1,4 @@
DIST packer-1.7.10-deps.tar.xz 628140836 BLAKE2B 6cfb8409a9a9aef2130e58f2b70b1bb73b491aa9fb2d1f2b59b2c3c9e721465a51111f0e6357a58e9eed4d8b024a4fe9a0f20cf9a5b84e7d20f3a8d52ad55e4c SHA512 cd0af0f60029b7b3e887fbe4245e26e12d798fe5c3b650d63774ffeb2d5eab9609d8506a06c35d8ff4d499db1cab69d767b8b386d04136fd65ea43de3940df88
DIST packer-1.7.10.tar.gz 2414352 BLAKE2B 7c48aaac8411dd81cae2201cf9b03eab0906b78dcc6aecf654f498b44884a0758f0d5fc10d03b9e526f7753d18db8754b74d8c2eef133b4170b872f41c8261f3 SHA512 12f032afef95be92be4f6e98cf2af5548189cb179c25d74b8f7943b4a6af0ab49c5a86523f27385e5eee05624d7e9de8d572fe19442305227c5bddd21a66f97a
-EBUILD packer-1.7.10.ebuild 814 BLAKE2B 87cfb6c771d3db81356e281bd38f0228ce3add56feb3cb0f503b8295a58bf47224694bd602320239eabfe0a4b331b81ac8c60d4619b7f40866b4f2ee75d3186d SHA512 5e9867211442b3cd8b275ed40a484530c60b43348290f5674c47c7d9b856f63968fdb98878817a9e0f1b09078ea4ff63e73e5ce34b52b75a18d63f7f4db71a68
+EBUILD packer-1.7.10.ebuild 782 BLAKE2B d07c471c1ddd43a126dce74e3f877f10978f6b549fa251c6f947a9775f5a9ec4e4688eaef370cd2001c56086b43397facf9b6dfc6a2ae63029c748716c604457 SHA512 5fa4d8825455b08c39f6c69049d6452b569b10944e4fcac6aaabae9a4c93503c8a8815e11004ff54a562e8eaef1389e9f8a3f15e11d04b4446fc0daccb0ac2cb
MISC metadata.xml 1408 BLAKE2B 04204c3ac4c45b58a23e611fbd34014423fd1839829101f7a30a188fc8b4588532f72b05c41a77f093170c6a6d9bd804c47bc831a8006ecbda5d3a30ccf6ade6 SHA512 2a45870ccadf85968c81c3129cfffa16184c3cc6ed135b716a84e545d9c80ed35064be231386b0bbfbe6fb7f9a12704c25d7fabc9383b3211d61720691c2ae9b
diff --git a/dev-util/packer/packer-1.7.10.ebuild b/dev-util/packer/packer-1.7.10.ebuild
index 2805c0f9c87d..2fe313cded4e 100644
--- a/dev-util/packer/packer-1.7.10.ebuild
+++ b/dev-util/packer/packer-1.7.10.ebuild
@@ -5,12 +5,10 @@ EAPI=7
inherit go-module
-go-module_set_globals
-
DESCRIPTION="A tool to create identical machine images for multiple platforms"
HOMEPAGE="https://www.packer.io"
SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://gentoofiles.s3.eu-central-1.amazonaws.com/packer-1.7.10-deps.tar.xz"
+ https://gentoofiles.s3.eu-central-1.amazonaws.com/${P}-deps.tar.xz"
LICENSE="Apache-2.0 BSD-2 BSD-4 MIT MPL-2.0 unicode"
SLOT="0"
diff --git a/dev-util/unicorn/Manifest b/dev-util/unicorn/Manifest
index 8ce6818a852e..4d6f61c3aa35 100644
--- a/dev-util/unicorn/Manifest
+++ b/dev-util/unicorn/Manifest
@@ -1,4 +1,5 @@
+AUX unicorn-2.0.0-lto.patch 2165 BLAKE2B 5858b3d7daf1f3654271d974f04836baa1c89a8204317c37b043e44f1c9005c2e4d1207308db253e2463f0c0b5ec2d59ef1717d941ad35feeab8c94b9518d3f5 SHA512 bd3f7e281f6c064b08dde128453da5db41ddd673fca53975a9e80a2ffe5f5fa05f5826f5027a7662ef11182e3f77680aa357341e0cbe085943047ed280af8d75
DIST unicorn-2.0.0.gh.tar.gz 4065595 BLAKE2B c16252a8a4af77c1c76c80101c30b92536d1677f93898acf4711e910dbbe1072715b83b4564c015592465eb51d00333e55849c3e06b07726ea3522286d8429bf SHA512 3996f19755ccdaac6e92a7455160e1c90a592ffb789d55ddc9d1bdcf1e68e8a6150bcfa1025a322780c04878be8de28e0ad5fdd79a7b25887ed2793b769f6789
-EBUILD unicorn-2.0.0.ebuild 1706 BLAKE2B c2d5d58fb9d2605c3d220252b04395bb8c2fcaaaa6c600c210e29eea7ab83a1aa3826195cbe8c26f40081f7e9ddbfdb8a441c4b6dbcdfd94604232547daa9849 SHA512 bdebe5e8676f92dfdf3c4fb66e1ae095f563f26fdca6932c724c665a87967cbd82f0d87a049ad47766cfb3f11176c8092abea54726fd15c34d5299871bb9f104
+EBUILD unicorn-2.0.0.ebuild 1749 BLAKE2B 964761d8c139fe79c8549715fefa2ed7a8f33928cec4eef2246143b3d690e4a2dcaec8a74cdf5c69b6da33aa1ded0958b56bf157ce355c943d090c3051860879 SHA512 5ac8715ced8967784293087a71203c12ec5dd7292ae4f2d764b90af3cf7591ba22b91935d39c873dafba670b8093cbc9b0d4485dd3dd716817f04f20c2cc56cb
EBUILD unicorn-9999.ebuild 1708 BLAKE2B 43214ad5df0aa79a0fd002304c0f4964d3b3f1ba90ca9a2f64b61e5c3e01ee9a47e323b364bc08d93dce036f196ce8c19888b5a93da95ad8ea335cb8ae3f6318 SHA512 bdd22202eb84437c619831116fad9438cac24b3eb85b3d0476ed5d43999572223c7e83ff7484212039a54d725df6b839cddbf59f2c09529f737b81dc72e2bd00
MISC metadata.xml 510 BLAKE2B 857f3ee3645ffdb28846b7305ec3066ddf49934225fe2c173a5a6b5b8354b208b6bb1337c2e11713b7c983a6fe3a1e67dae62bf64b0c9228f14ccfea8d57d5c5 SHA512 e1da17744042b95f11fb8b5f562020738c7495b0256469420cfa19fda995a24f02e806f67db8521e2f4a19a32825bf54a0865ec723d853cd5aa440c42b007946
diff --git a/dev-util/unicorn/files/unicorn-2.0.0-lto.patch b/dev-util/unicorn/files/unicorn-2.0.0-lto.patch
new file mode 100644
index 000000000000..f6bcda2a18f8
--- /dev/null
+++ b/dev-util/unicorn/files/unicorn-2.0.0-lto.patch
@@ -0,0 +1,62 @@
+commit 6d283cf464b82a86f7930e39c91c92ad3cefb58f
+Author: mio <ziqiaokong@outlook.com>
+Date: Sat Jul 23 20:39:01 2022 +0800
+
+ Fix ppc symbols clash
+
+Bug: https://bugs.gentoo.org/872998
+Bug: https://github.com/unicorn-engine/unicorn/issues/1662
+
+diff --git a/qemu/ppc.h b/qemu/ppc.h
+index 7022629e..eff4b69d 100644
+--- a/qemu/ppc.h
++++ b/qemu/ppc.h
+@@ -1708,4 +1708,12 @@
+ #define ppc_dcr_init ppc_dcr_init_ppc
+ #define ppc_cpu_pir ppc_cpu_pir_ppc
+ #define ppc_irq_reset ppc_irq_reset_ppc
++#define store_booke_tsr store_booke_tsr_ppc
++#define get_pteg_offset32 get_pteg_offset32_ppc
++#define ppc_booke_timers_init ppc_booke_timers_init_ppc
++#define ppc_hash32_handle_mmu_fault ppc_hash32_handle_mmu_fault_ppc
++#define gen_helper_store_booke_tsr gen_helper_store_booke_tsr_ppc
++#define gen_helper_store_booke_tcr gen_helper_store_booke_tcr_ppc
++#define store_booke_tcr store_booke_tcr_ppc
++#define ppc_hash32_get_phys_page_debug ppc_hash32_get_phys_page_debug_ppc
+ #endif
+diff --git a/qemu/ppc64.h b/qemu/ppc64.h
+index 992caf87..c08ee2d6 100644
+--- a/qemu/ppc64.h
++++ b/qemu/ppc64.h
+@@ -1708,4 +1708,12 @@
+ #define ppc_dcr_init ppc_dcr_init_ppc64
+ #define ppc_cpu_pir ppc_cpu_pir_ppc64
+ #define ppc_irq_reset ppc_irq_reset_ppc64
++#define store_booke_tsr store_booke_tsr_ppc64
++#define get_pteg_offset32 get_pteg_offset32_ppc64
++#define ppc_booke_timers_init ppc_booke_timers_init_ppc64
++#define ppc_hash32_handle_mmu_fault ppc_hash32_handle_mmu_fault_ppc64
++#define gen_helper_store_booke_tsr gen_helper_store_booke_tsr_ppc64
++#define gen_helper_store_booke_tcr gen_helper_store_booke_tcr_ppc64
++#define store_booke_tcr store_booke_tcr_ppc64
++#define ppc_hash32_get_phys_page_debug ppc_hash32_get_phys_page_debug_ppc64
+ #endif
+diff --git a/symbols.sh b/symbols.sh
+index 2968b959..0d426c00 100755
+--- a/symbols.sh
++++ b/symbols.sh
+@@ -6264,6 +6264,14 @@ ppc_dcr_register \
+ ppc_dcr_init \
+ ppc_cpu_pir \
+ ppc_irq_reset \
++store_booke_tsr \
++get_pteg_offset32 \
++ppc_booke_timers_init \
++ppc_hash32_handle_mmu_fault \
++gen_helper_store_booke_tsr \
++gen_helper_store_booke_tcr \
++store_booke_tcr \
++ppc_hash32_get_phys_page_debug \
+ "
+
+ ppc64_SYMBOLS=${ppc_SYMBOLS}
diff --git a/dev-util/unicorn/unicorn-2.0.0.ebuild b/dev-util/unicorn/unicorn-2.0.0.ebuild
index b50065f271bc..76a25d55547e 100644
--- a/dev-util/unicorn/unicorn-2.0.0.ebuild
+++ b/dev-util/unicorn/unicorn-2.0.0.ebuild
@@ -34,6 +34,10 @@ RDEPEND="python? ( ${PYTHON_DEPS} )"
BDEPEND="virtual/pkgconfig
python? ( ${DISTUTILS_DEPS} )"
+PATCHES=(
+ "${FILESDIR}/${P}-lto.patch"
+)
+
UNICORN_TARGETS="x86 arm aarch64 riscv mips sparc m68k ppc s390x tricore"
wrap_python() {