Hello community,

here is the log from the commit of package mono-basic for openSUSE:Factory 
checked in at 2018-04-01 17:27:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mono-basic (Old)
 and      /work/SRC/openSUSE:Factory/.mono-basic.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mono-basic"

Sun Apr  1 17:27:30 2018 rev:34 rq:592762 version:4.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/mono-basic/mono-basic.changes    2018-03-26 
16:03:24.645652655 +0200
+++ /work/SRC/openSUSE:Factory/.mono-basic.new/mono-basic.changes       
2018-04-01 17:27:35.261215026 +0200
@@ -1,0 +2,7 @@
+Fri Mar 30 00:00:00 UTC 2018 - [email protected]
+
+- Add fix-vbnc-debug-portable-cmdline.patch to fix VBNC2019 error when ivoking 
vbnc.exe with unsupported "/debug:portable" cmdline parameter:
+  * Silently ignore incorrect surplus "/debug:portable" command line parameter 
when invoking vbnc
+  * Set debug to "full" mode if this is the only "/debug" parameter at vbnc's 
cmdline
+
+-------------------------------------------------------------------

New:
----
  fix-vbnc-debug-portable-cmdline.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mono-basic.spec ++++++
--- /var/tmp/diff_new_pack.m36h77/_old  2018-04-01 17:27:35.921191138 +0200
+++ /var/tmp/diff_new_pack.m36h77/_new  2018-04-01 17:27:35.921191138 +0200
@@ -26,6 +26,8 @@
 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
+# PATCH-FIX-OPENSUSE ignore incorrect surplus "/debug:portable" command line 
parameter when invoking vbnc, or set debug to "full" mode if this is the only 
"/debug" parameter at vbnc's cmdline
+Patch2:         fix-vbnc-debug-portable-cmdline.patch
 BuildRequires:  mono-devel
 BuildRequires:  mono-winforms
 BuildRequires:  unzip
@@ -46,6 +48,7 @@
 if [ -e "%{_libexecdir}/mono/4.5/vbc.exe" ]; then
 %patch1 -p1
 fi
+%patch2 -p1
 
 %build
 ./configure --prefix=%{_prefix}

++++++ fix-vbnc-debug-portable-cmdline.patch ++++++
diff -uprN mono-basic-4.6.old/vbnc/vbnc/source/General/CommandLine.vb 
mono-basic-4.6/vbnc/vbnc/source/General/CommandLine.vb
--- mono-basic-4.6.old/vbnc/vbnc/source/General/CommandLine.vb  2014-09-04 
17:56:58.000000000 +0400
+++ mono-basic-4.6/vbnc/vbnc/source/General/CommandLine.vb      2018-03-30 
19:18:34.219326245 +0300
@@ -1017,6 +1017,10 @@ Public Class CommandLine
                         m_eDebugInfo = DebugTypes.Full
                     Case "pdbonly"
                         m_eDebugInfo = DebugTypes.PDB
+                    Case "portable"
+                        If m_eDebugInfo = DebugTypes.None Then
+                            m_eDebugInfo = DebugTypes.Full
+                        End If
                     Case ""
                         m_eDebugInfo = DebugTypes.Full
                     Case Else

Reply via email to