From 45120bf01fe604fbaef688f176bcec3b6e0b2952 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 3 Feb 2016 21:54:13 +0700 Subject: graphics/pinta: Fix build against mono 4. Signed-off-by: Willy Sudiarto Raharjo --- graphics/pinta/pinta.SlackBuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'graphics') diff --git a/graphics/pinta/pinta.SlackBuild b/graphics/pinta/pinta.SlackBuild index b765fdb13a43..e9d5c28f6fbf 100644 --- a/graphics/pinta/pinta.SlackBuild +++ b/graphics/pinta/pinta.SlackBuild @@ -70,6 +70,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# update the project and solution files for mono4 +# Thanks to Fedora Project +find . -name "*.sln" -print -exec sed -i 's/Format Version 10.00/Format Version 11.00/g' {} \; +find . \( -name "*.csproj" -o -name "*.proj" \) -print -exec sed -i 's#ToolsVersion="3.5"#ToolsVersion="4.0"#g; s#.*##g; s##v4.5#g; s#Mono.Posix, Version.*"#Mono.Posix"#g' {} \; + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ -- cgit v1.2.3