Hello community, here is the log from the commit of package mono-basic for openSUSE:Factory checked in at 2018-03-26 16:03:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mono-basic (Old) and /work/SRC/openSUSE:Factory/.mono-basic.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mono-basic" Mon Mar 26 16:03:08 2018 rev:33 rq:590976 version:4.6 Changes: -------- --- /work/SRC/openSUSE:Factory/mono-basic/mono-basic.changes 2017-08-21 11:37:40.104893871 +0200 +++ /work/SRC/openSUSE:Factory/.mono-basic.new/mono-basic.changes 2018-03-26 16:03:24.645652655 +0200 @@ -1,0 +2,6 @@ +Fri Mar 23 21:00:00 UTC 2018 - [email protected] + +- Add use-roslyn-vbc.patch: + * Use roslyn's vbc compiler (when available) instead of deprecated vbnc in order to fix build error with mono 5.10 and up + +------------------------------------------------------------------- New: ---- use-roslyn-vbc.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mono-basic.spec ++++++ --- /var/tmp/diff_new_pack.MVRLGF/_old 2018-03-26 16:03:28.817503125 +0200 +++ /var/tmp/diff_new_pack.MVRLGF/_new 2018-03-26 16:03:28.821502982 +0200 @@ -1,7 +1,7 @@ # # spec file for package mono-basic # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,8 @@ Group: Development/Languages/Mono Url: https://github.com/mono/mono-basic Source: http://download.mono-project.com/sources/%{name}/%{name}-%{version}.tar.bz2 +# PATCH-FIX-OPENSUSE use roslyn vbc compiler when available to fix build error with mono 5.10 and up +Patch1: use-roslyn-vbc.patch BuildRequires: mono-devel BuildRequires: mono-winforms BuildRequires: unzip @@ -41,6 +43,9 @@ %prep %setup -q +if [ -e "%{_libexecdir}/mono/4.5/vbc.exe" ]; then +%patch1 -p1 +fi %build ./configure --prefix=%{_prefix} ++++++ use-roslyn-vbc.patch ++++++ diff -uprN mono-basic-4.6/build/rules.make mono-basic-4.6.new/build/rules.make --- mono-basic-4.6/build/rules.make 2015-04-27 21:35:48.000000000 +0300 +++ mono-basic-4.6.new/build/rules.make 2018-03-24 01:03:30.711203718 +0300 @@ -20,7 +20,7 @@ USE_VBNC_FLAGS = $(LOCAL_VBNC_FLAGS) $(P USE_CFLAGS = $(LOCAL_CFLAGS) $(CFLAGS) CSCOMPILE = $(MCS) $(USE_MCS_FLAGS) CCOMPILE = $(CC) $(USE_CFLAGS) -BOOTSTRAP_VBNC = MONO_PATH="$(topdir)/class/lib/bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) --debug $(topdir)/class/lib/bootstrap/vbnc.exe +BOOTSTRAP_VBNC = $(RUNTIME) $(RUNTIME_FLAGS) --debug /usr/lib/mono/4.5/vbc.exe /vbruntime:$(topdir)/class/lib/bootstrap/Microsoft.VisualBasic.dll BOOT_COMPILE = $(BOOTSTRAP_VBNC) $(USE_VBNC_FLAGS) VBNC = MONO_PATH="$(topdir)/class/lib/net_4_0$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) --debug $(topdir)/class/lib/net_4_0/vbnc.exe INSTALL = $(SHELL) $(topdir)/install-sh
