package/mono: Fixing wrong MonoPosixHelper location
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>
Thu, 25 Feb 2016 21:03:25 +0000 (22:03 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 25 Feb 2016 21:26:49 +0000 (22:26 +0100)
This patch solves an host path leaking in /etc/mono/config
that leads to searching libmonoposixhelper into the wrong path.
This bug is fixed upstream, but not included in the current stable
release.

Fixes bug #8651.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mono/0007-config.in-fixing-wrong-MonoPosixHelper-location.patch [new file with mode: 0644]

diff --git a/package/mono/0007-config.in-fixing-wrong-MonoPosixHelper-location.patch b/package/mono/0007-config.in-fixing-wrong-MonoPosixHelper-location.patch
new file mode 100644 (file)
index 0000000..6ebb802
--- /dev/null
@@ -0,0 +1,28 @@
+From 76aa4fb62a433e61dc35eefcc3077f0463182d2f Mon Sep 17 00:00:00 2001
+From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
+Date: Tue, 23 Feb 2016 22:43:39 +0100
+Subject: [PATCH] config.in: fixing wrong MonoPosixHelper location
+
+This patch remove a wrong prefix for libMonoPosixHelper
+
+Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
+---
+ data/config.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/data/config.in b/data/config.in
+index b760176..41495b9 100644
+--- a/data/config.in
++++ b/data/config.in
+@@ -10,7 +10,7 @@
+       <dllmap dll="i:odbc32.dll" target="libiodbc.dylib" os="osx"/>
+       <dllmap dll="oci" target="libclntsh@libsuffix@" os="!windows"/>
+       <dllmap dll="db2cli" target="libdb2_36@libsuffix@" os="!windows"/>
+-      <dllmap dll="MonoPosixHelper" target="@prefix@/@reloc_libdir@/libMonoPosixHelper@libsuffix@" os="!windows" />
++      <dllmap dll="MonoPosixHelper" target="libMonoPosixHelper@libsuffix@" os="!windows" />
+       <dllmap dll="i:msvcrt" target="@LIBC@" os="!windows"/>
+       <dllmap dll="i:msvcrt.dll" target="@LIBC@" os="!windows"/>
+       <dllmap dll="sqlite" target="@SQLITE@" os="!windows"/>
+-- 
+1.9.1
+