mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
app-admin/keepass: fix build with >=app-text/grep-2.22
Gentoo-bug: 574480 Package-Manager: portage-2.2.27
This commit is contained in:
committed by
Michael Palimaka
parent
505076c728
commit
3a15dfadf9
13
app-admin/keepass/files/keepass-2.31-force-text-grep.patch
Normal file
13
app-admin/keepass/files/keepass-2.31-force-text-grep.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Force text mode for >=grep-2.22 (bug #574480).
|
||||
|
||||
--- a/Build/PrepMonoDev.sh
|
||||
+++ b/Build/PrepMonoDev.sh
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
sed 's!<SignAssembly>true</SignAssembly>!<SignAssembly>false</SignAssembly>!g' ../KeePass/KeePass.csproj > ../KeePass/KeePass.csproj.new
|
||||
sed 's! ToolsVersion="3.5"!!g' ../KeePass/KeePass.csproj.new > ../KeePass/KeePass.csproj.new2
|
||||
-cat ../KeePass/KeePass.csproj.new2 | grep -v 'sgen\.exe' > ../KeePass/KeePass.csproj
|
||||
+cat ../KeePass/KeePass.csproj.new2 | grep -va 'sgen\.exe' > ../KeePass/KeePass.csproj
|
||||
rm -f ../KeePass/KeePass.csproj.new2
|
||||
rm -f ../KeePass/KeePass.csproj.new
|
||||
|
||||
@@ -25,6 +25,9 @@ DEPEND="${COMMON_DEPEND}
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
# Force text mode for >grep-2.21 (bug #574480)
|
||||
epatch "${FILESDIR}/${PN}-2.31-force-text-grep.patch"
|
||||
|
||||
# Remove Windows-specific things
|
||||
pushd Build > /dev/null || die
|
||||
. PrepMonoDev.sh || die
|
||||
|
||||
Reference in New Issue
Block a user