SHA256
1
0
forked from pool/mono-core

Accepting request 150340 from home:dimstar:branches:GNOME:Apps

- Add mono-core-target-4.0.patch: Use .Net runtime 4.0 as default
  for Nunit and Cairo.

OBS-URL: https://build.opensuse.org/request/show/150340
OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=102
This commit is contained in:
Stephen Shaw 2013-01-30 04:37:42 +00:00 committed by Git OBS Bridge
parent a7dbfdbdf5
commit 7c8c4ca83b
3 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,31 @@
Index: mono-3.0.3/data/mono-cairo.pc.in
===================================================================
--- mono-3.0.3.orig/data/mono-cairo.pc.in
+++ mono-3.0.3/data/mono-cairo.pc.in
@@ -6,4 +6,4 @@ includedir=${prefix}/include
Name: Mono.Cairo
Description: Cairo bindings for Mono
Version: @VERSION@
-Libs: -r:${prefix}/lib/mono/2.0/Mono.Cairo.dll
+Libs: -r:${prefix}/lib/mono/4.0/Mono.Cairo.dll
Index: mono-3.0.3/data/mono-nunit.pc.in
===================================================================
--- mono-3.0.3.orig/data/mono-nunit.pc.in
+++ mono-3.0.3/data/mono-nunit.pc.in
@@ -6,4 +6,4 @@ libdir=${exec_prefix}/lib
Name: Mono NUnit
Description: Mono's version of NUnit
Version: @VERSION@
-Libs: -r:${libdir}/mono/2.0/nunit.core.dll -r:${libdir}/mono/2.0/nunit.core.interfaces.dll -r:${libdir}/mono/2.0/nunit.core.extensions.dll -r:${libdir}/mono/2.0/nunit.framework.dll -r:${libdir}/mono/2.0/nunit.framework.extensions.dll -r:${libdir}/mono/2.0/nunit.mocks.dll -r:${libdir}/mono/2.0/nunit.util.dll -r:${libdir}/mono/2.0/nunit-console-runner.dll
+Libs: -r:${libdir}/mono/4.0/nunit.core.dll -r:${libdir}/mono/4.0/nunit.core.interfaces.dll -r:${libdir}/mono/4.0/nunit.core.extensions.dll -r:${libdir}/mono/4.0/nunit.framework.dll -r:${libdir}/mono/4.0/nunit.framework.extensions.dll -r:${libdir}/mono/4.0/nunit.mocks.dll -r:${libdir}/mono/4.0/nunit.util.dll -r:${libdir}/mono/4.0/nunit-console-runner.dll
Index: mono-3.0.3/data/mono.web.pc.in
===================================================================
--- mono-3.0.3.orig/data/mono.web.pc.in
+++ mono-3.0.3/data/mono.web.pc.in
@@ -1,4 +1,4 @@
Name: Mono.Web
Description: Mono ASP.NET extension classes
-Version: 2.0.0.0
-Libs: -r:@prefix@/lib/mono/gac/Mono.Web/2.0.0.0__0738eb9f132ed756/Mono.Web.dll
+Version: 4.0.0.0
+Libs: -r:@prefix@/lib/mono/gac/Mono.Web/4.0.0.0__0738eb9f132ed756/Mono.Web.dll

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 29 08:15:12 UTC 2013 - dimstar@opensuse.org
- Add mono-core-target-4.0.patch: Use .Net runtime 4.0 as default
for Nunit and Cairo.
-------------------------------------------------------------------
Fri Jan 11 11:41:47 UTC 2013 - mailaender@opensuse.org

View File

@ -41,6 +41,8 @@ Patch2: mono-arm-cpuinfo-v7.patch
Patch3: mono-arm-vfp.patch
# PATCH-FIX-OPENSUSE ppc.patch dvaleev@suse.com -- fix ppc build failures
Patch4: ppc.patch
# PATCH-FIX-UPSTREAM mono-core-target-4.0.patch dimstar@opensuse.org -- Use runtime 4.0 as default for cairo and nunit
Patch5: mono-core-target-4.0.patch
BuildRequires: bison
BuildRequires: fdupes
BuildRequires: gcc-c++
@ -115,6 +117,7 @@ technologies that have been submitted to the ECMA for standardization.
%patch3 -p1
%endif
%patch4 -p1
%patch5 -p1
%build
# These are only needed if there are patches to the runtime