summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-dotnet/dotnet-outdated')
-rw-r--r--dev-dotnet/dotnet-outdated/dotnet-outdated-4.6.0.ebuild7
-rw-r--r--dev-dotnet/dotnet-outdated/files/dotnet-outdated-4.6.0-net8.0.patch11
2 files changed, 15 insertions, 3 deletions
diff --git a/dev-dotnet/dotnet-outdated/dotnet-outdated-4.6.0.ebuild b/dev-dotnet/dotnet-outdated/dotnet-outdated-4.6.0.ebuild
index d24124764595..e65bf02e28d5 100644
--- a/dev-dotnet/dotnet-outdated/dotnet-outdated-4.6.0.ebuild
+++ b/dev-dotnet/dotnet-outdated/dotnet-outdated-4.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -301,11 +301,12 @@ SLOT="0"
CHECKREQS_DISK_BUILD="1500M"
DOTNET_PKG_PROJECTS=( src/DotNetOutdated/DotNetOutdated.csproj )
-DOTNET_PKG_BUILD_EXTRA_ARGS=( -p:RollForward=Major )
-DOTNET_PKG_TEST_EXTRA_ARGS=( "${DOTNET_PKG_BUILD_EXTRA_ARGS[@]}" )
+PATCHES=( "${FILESDIR}/${PN}-4.6.0-net8.0.patch" )
DOCS=( CHANGELOG.md README.md )
+dotnet-pkg_force-compat
+
pkg_setup() {
check-reqs_pkg_setup
dotnet-pkg_pkg_setup
diff --git a/dev-dotnet/dotnet-outdated/files/dotnet-outdated-4.6.0-net8.0.patch b/dev-dotnet/dotnet-outdated/files/dotnet-outdated-4.6.0-net8.0.patch
new file mode 100644
index 000000000000..aa0ae953f2bb
--- /dev/null
+++ b/dev-dotnet/dotnet-outdated/files/dotnet-outdated-4.6.0-net8.0.patch
@@ -0,0 +1,11 @@
+--- a/src/DotNetOutdated.Core/DotNetOutdated.Core.csproj
++++ b/src/DotNetOutdated.Core/DotNetOutdated.Core.csproj
+@@ -1,7 +1,7 @@
+ <Project Sdk="Microsoft.NET.Sdk">
+
+ <PropertyGroup>
+- <TargetFramework>netstandard2.1</TargetFramework>
++ <TargetFramework>net8.0</TargetFramework>
+ <IsPackable>true</IsPackable>
+ <PackageTags>dotnet;outdated;core;lib</PackageTags>
+ <Description>The core functionality of DotNet Outdated as a library which allows you to embed it into your own applications</Description>