You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.69
Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
This commit is contained in:
parent
d8f8abd549
commit
e2950ec768
@@ -47,8 +47,8 @@ namespace System.Drawing
|
||||
|
||||
public static bool GetRecentGdiPlusIsAvailable2()
|
||||
{
|
||||
// CentOS 7, RHEL 7 and Ubuntu 14.04, as well as Fedora 25 and OpenSUSE 4.22 are running outdated versions of libgdiplus
|
||||
if (PlatformDetection.IsCentos7 || PlatformDetection.IsRedHat || PlatformDetection.IsUbuntu1404 || PlatformDetection.IsFedora || PlatformDetection.IsOpenSUSE)
|
||||
// RedHat and Ubuntu 14.04, as well as Fedora 25 and OpenSUSE 4.22 are running outdated versions of libgdiplus
|
||||
if (PlatformDetection.IsRedHatFamily || PlatformDetection.IsUbuntu1404 || PlatformDetection.IsFedora || PlatformDetection.IsOpenSUSE)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -58,7 +58,7 @@ namespace System.Drawing
|
||||
|
||||
public static bool GetGdiPlusIsAvailableNotRedhat73()
|
||||
{
|
||||
if (PlatformDetection.IsRedHat)
|
||||
if (PlatformDetection.IsRedHatFamily)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -78,8 +78,8 @@ namespace System.Drawing
|
||||
|
||||
public static bool GetRecentGdiPlusIsAvailable()
|
||||
{
|
||||
// CentOS 7, RHEL 7 and Ubuntu 14.04 are running outdated versions of libgdiplus
|
||||
if (PlatformDetection.IsCentos7 || PlatformDetection.IsRedHat || PlatformDetection.IsUbuntu1404)
|
||||
// RedHat and Ubuntu 14.04 are running outdated versions of libgdiplus
|
||||
if (PlatformDetection.IsRedHatFamily || PlatformDetection.IsUbuntu1404)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user