Remove obsolete patch

This commit is contained in:
Jo Shields 2020-01-21 14:53:00 -05:00
parent 1b3d026707
commit 747b0cf411
2 changed files with 0 additions and 27 deletions

View File

@ -36,7 +36,6 @@ Group: Development/Languages/Mono
Url: http://www.mono-project.com
Source0: http://download.mono-project.com/sources/mono/mono-%{version}.tar.xz
Patch0: llvm_llc_opt_default_path.patch
Patch1: use_python3_not_unversioned.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
@ -143,9 +142,6 @@ technologies that have been submitted to the ECMA for standardization.
%prep
%setup -q -n mono-%{version}
%patch0 -p1
%if 0%{?rhel} >= 8
%patch1 -p1
%endif
%build
%{?scl:scl enable %{scl} - << \EOF}

View File

@ -1,23 +0,0 @@
diff --git a/mono/mini/Makefile.am.in b/mono/mini/Makefile.am.in
index 60055ce9ac9..b91c74ec3a8 100755
--- a/mono/mini/Makefile.am.in
+++ b/mono/mini/Makefile.am.in
@@ -776,7 +776,7 @@ MemoryIntrinsics.dll: MemoryIntrinsics.il
GENMDESC_OPTS=
-GENMDESC_PRG=python $(srcdir)/genmdesc.py $(target_define) $(srcdir)
+GENMDESC_PRG=python3 $(srcdir)/genmdesc.py $(target_define) $(srcdir)
cpu-wasm.h: mini-ops.h cpu-wasm.md $(srcdir)/genmdesc.py
$(GENMDESC_PRG) cpu-wasm.h wasm_desc $(srcdir)/cpu-wasm.md
diff --git a/scripts/mono-heapviz b/scripts/mono-heapviz
index 27b6f7f6023..c4a4847bbe6 100755
--- a/scripts/mono-heapviz
+++ b/scripts/mono-heapviz
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Generate a heap visualization for SGen from the heap dump written by
# mono if the MONO_GC_DEBUG is set to something like