Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/mono: fixing monodoc leaking path
@ 2016-02-25 22:08 Angelo Compagnucci
  2016-02-26 22:45 ` Arnout Vandecappelle
  2016-02-27 10:59 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Angelo Compagnucci @ 2016-02-25 22:08 UTC (permalink / raw)
  To: buildroot

This patch fixes a leak in host compiler path for monodoc.
This bug is solved upstream but the fix is not included
in the latest stable release.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
 ...-monodoc-Fixing-wrong-monodoc-search-path.patch | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 package/mono/0008-monodoc-Fixing-wrong-monodoc-search-path.patch

diff --git a/package/mono/0008-monodoc-Fixing-wrong-monodoc-search-path.patch b/package/mono/0008-monodoc-Fixing-wrong-monodoc-search-path.patch
new file mode 100644
index 0000000..58fa323
--- /dev/null
+++ b/package/mono/0008-monodoc-Fixing-wrong-monodoc-search-path.patch
@@ -0,0 +1,29 @@
+From 18bba65adf58d54645398de26eac24081d48f793 Mon Sep 17 00:00:00 2001
+From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
+Date: Thu, 25 Feb 2016 22:19:31 +0100
+Subject: [PATCH] mcs/class/monodoc/Makefile: Fixing wrong monodoc search path
+
+mono_libdir actually leaks host compiler path, fixing
+by hardcoding correct path for our usecase.
+
+Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
+---
+ mcs/class/monodoc/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mcs/class/monodoc/Makefile b/mcs/class/monodoc/Makefile
+index 3ebba80..ddc2098 100644
+--- a/mcs/class/monodoc/Makefile
++++ b/mcs/class/monodoc/Makefile
+@@ -135,7 +135,7 @@ test-local: setup-doc-sources
+ dist-local: Monodoc.Ecma/EcmaUrlParser.cs
+ 
+ $(the_lib).config: Makefile monodoc.dll.config.in
+-	sed 's, at monodoc_refdir@,$(mono_libdir)/monodoc,g' monodoc.dll.config.in > $@
++	sed 's, at monodoc_refdir@,/usr/lib/monodoc,g' monodoc.dll.config.in > $@
+ 
+ Monodoc.Ecma/EcmaUrlParser.cs: Monodoc.Ecma/EcmaUrlParser.jay $(topdir)/jay/skeleton.cs jay.sh
+ 	$(topdir)/$(thisdir)/jay.sh $(topdir) $< $@ $(JAY_FLAGS)
+-- 
+1.9.1
+
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] package/mono: fixing monodoc leaking path
  2016-02-25 22:08 [Buildroot] [PATCH] package/mono: fixing monodoc leaking path Angelo Compagnucci
@ 2016-02-26 22:45 ` Arnout Vandecappelle
  2016-02-27 10:59 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2016-02-26 22:45 UTC (permalink / raw)
  To: buildroot

On 02/25/16 23:08, Angelo Compagnucci wrote:
> This patch fixes a leak in host compiler path for monodoc.
> This bug is solved upstream but the fix is not included
> in the latest stable release.
> 
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>

Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

 Regards,
 Arnout


> ---
>  ...-monodoc-Fixing-wrong-monodoc-search-path.patch | 29 ++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>  create mode 100644 package/mono/0008-monodoc-Fixing-wrong-monodoc-search-path.patch
> 
> diff --git a/package/mono/0008-monodoc-Fixing-wrong-monodoc-search-path.patch b/package/mono/0008-monodoc-Fixing-wrong-monodoc-search-path.patch
> new file mode 100644
> index 0000000..58fa323
> --- /dev/null
> +++ b/package/mono/0008-monodoc-Fixing-wrong-monodoc-search-path.patch
> @@ -0,0 +1,29 @@
> +From 18bba65adf58d54645398de26eac24081d48f793 Mon Sep 17 00:00:00 2001
> +From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
> +Date: Thu, 25 Feb 2016 22:19:31 +0100
> +Subject: [PATCH] mcs/class/monodoc/Makefile: Fixing wrong monodoc search path
> +
> +mono_libdir actually leaks host compiler path, fixing
> +by hardcoding correct path for our usecase.
> +
> +Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
> +---
> + mcs/class/monodoc/Makefile | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/mcs/class/monodoc/Makefile b/mcs/class/monodoc/Makefile
> +index 3ebba80..ddc2098 100644
> +--- a/mcs/class/monodoc/Makefile
> ++++ b/mcs/class/monodoc/Makefile
> +@@ -135,7 +135,7 @@ test-local: setup-doc-sources
> + dist-local: Monodoc.Ecma/EcmaUrlParser.cs
> + 
> + $(the_lib).config: Makefile monodoc.dll.config.in
> +-	sed 's, at monodoc_refdir@,$(mono_libdir)/monodoc,g' monodoc.dll.config.in > $@
> ++	sed 's, at monodoc_refdir@,/usr/lib/monodoc,g' monodoc.dll.config.in > $@
> + 
> + Monodoc.Ecma/EcmaUrlParser.cs: Monodoc.Ecma/EcmaUrlParser.jay $(topdir)/jay/skeleton.cs jay.sh
> + 	$(topdir)/$(thisdir)/jay.sh $(topdir) $< $@ $(JAY_FLAGS)
> +-- 
> +1.9.1
> +
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] package/mono: fixing monodoc leaking path
  2016-02-25 22:08 [Buildroot] [PATCH] package/mono: fixing monodoc leaking path Angelo Compagnucci
  2016-02-26 22:45 ` Arnout Vandecappelle
@ 2016-02-27 10:59 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2016-02-27 10:59 UTC (permalink / raw)
  To: buildroot

>>>>> "Angelo" == Angelo Compagnucci <angelo.compagnucci@gmail.com> writes:

 > This patch fixes a leak in host compiler path for monodoc.
 > This bug is solved upstream but the fix is not included
 > in the latest stable release.

 > Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-27 10:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-25 22:08 [Buildroot] [PATCH] package/mono: fixing monodoc leaking path Angelo Compagnucci
2016-02-26 22:45 ` Arnout Vandecappelle
2016-02-27 10:59 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox