summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/distorm3/distorm3-3.5.2.ebuild2
-rw-r--r--dev-libs/distorm3/files/distorm3-3.5.2-under.patch12
2 files changed, 14 insertions, 0 deletions
diff --git a/dev-libs/distorm3/distorm3-3.5.2.ebuild b/dev-libs/distorm3/distorm3-3.5.2.ebuild
index 2567f7c5821e..6c9bc4aa2c0d 100644
--- a/dev-libs/distorm3/distorm3-3.5.2.ebuild
+++ b/dev-libs/distorm3/distorm3-3.5.2.ebuild
@@ -24,6 +24,8 @@ BDEPEND="test? ( dev-lang/yasm )"
distutils_enable_tests pytest
+PATCHES=("${FILESDIR}"/${P}-under.patch)
+
python_install() {
distutils-r1_python_install
diff --git a/dev-libs/distorm3/files/distorm3-3.5.2-under.patch b/dev-libs/distorm3/files/distorm3-3.5.2-under.patch
new file mode 100644
index 000000000000..3a7971d55be3
--- /dev/null
+++ b/dev-libs/distorm3/files/distorm3-3.5.2-under.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/797283
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -4,7 +4,7 @@ compile = 1
+ optimize = 1
+
+ [bdist_wininst]
+-user-access-control = auto
++user_access_control = auto
+
+ [egg_info]
+ tag_build =