From 487f1cbdeb8edf94ae549f25b2182203e799385d Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 21 Jun 2021 11:20:43 +0100 Subject: dev-libs/distorm3: avoid dashes in setup.cfg Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/797283 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich --- dev-libs/distorm3/distorm3-3.5.2.ebuild | 2 ++ dev-libs/distorm3/files/distorm3-3.5.2-under.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 dev-libs/distorm3/files/distorm3-3.5.2-under.patch (limited to 'dev-libs/distorm3') 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 = -- cgit v1.2.3-18-g5258