* [Buildroot] [PATCH 1/2] dmalloc: fix build with strdup
@ 2019-01-21 19:21 Fabrice Fontaine
2019-01-21 19:21 ` [Buildroot] [PATCH 2/2] dmalloc: fix build with strndup Fabrice Fontaine
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Fabrice Fontaine @ 2019-01-21 19:21 UTC (permalink / raw)
To: buildroot
Fixes:
- http://autobuild.buildroot.org/results/3f2518f7a9e87034cd501ac3d121ea3a33827e7d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/dmalloc/0005-fix-strdup.patch | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 package/dmalloc/0005-fix-strdup.patch
diff --git a/package/dmalloc/0005-fix-strdup.patch b/package/dmalloc/0005-fix-strdup.patch
new file mode 100644
index 0000000000..5884df6a89
--- /dev/null
+++ b/package/dmalloc/0005-fix-strdup.patch
@@ -0,0 +1,24 @@
+From 59d73a473f1c1a31bcba90d314f956d0bcc3de95 Mon Sep 17 00:00:00 2001
+From: Siana Gearz <siana.sg@live.de>
+Date: Sat, 8 Sep 2012 22:55:17 +0200
+Subject: [PATCH] Fix strdup
+
+[Retrieved from:
+https://github.com/siana/dmalloc/commit/59d73a473f1c1a31bcba90d314f956d0bcc3de95]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ dmalloc.h.3 | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/dmalloc.h.3 b/dmalloc.h.3
+index d3d1c13..3fc573a 100644
+--- a/dmalloc.h.3
++++ b/dmalloc.h.3
+@@ -459,6 +459,7 @@ DMALLOC_PNT valloc(DMALLOC_SIZE size);
+ *
+ * string -> String we are duplicating.
+ */
++#undef strdup
+ extern
+ char *strdup(const char *string);
+ #endif /* ifndef DMALLOC_STRDUP_MACRO */
--
2.14.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] dmalloc: fix build with strndup
2019-01-21 19:21 [Buildroot] [PATCH 1/2] dmalloc: fix build with strdup Fabrice Fontaine
@ 2019-01-21 19:21 ` Fabrice Fontaine
2019-01-23 9:51 ` Peter Korsgaard
2019-01-29 18:32 ` Peter Korsgaard
2019-01-23 9:51 ` [Buildroot] [PATCH 1/2] dmalloc: fix build with strdup Peter Korsgaard
2019-01-29 18:32 ` Peter Korsgaard
2 siblings, 2 replies; 6+ messages in thread
From: Fabrice Fontaine @ 2019-01-21 19:21 UTC (permalink / raw)
To: buildroot
Fixes:
- http://autobuild.buildroot.org/results/5cfa01a41951ee3be2e8c1cb10edac3722d72c77
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/dmalloc/0006-fix-strndup.patch | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 package/dmalloc/0006-fix-strndup.patch
diff --git a/package/dmalloc/0006-fix-strndup.patch b/package/dmalloc/0006-fix-strndup.patch
new file mode 100644
index 0000000000..a1865acb85
--- /dev/null
+++ b/package/dmalloc/0006-fix-strndup.patch
@@ -0,0 +1,24 @@
+From 005d92c2cebbde5c8623daa29725f7a62b18df7c Mon Sep 17 00:00:00 2001
+From: Siana Gearz <siana.sg@live.de>
+Date: Sat, 8 Sep 2012 22:44:35 +0200
+Subject: [PATCH] Fix strndup
+
+[Retrieved from:
+https://github.com/siana/dmalloc/commit/005d92c2cebbde5c8623daa29725f7a62b18df7c]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ dmalloc.h.3 | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/dmalloc.h.3 b/dmalloc.h.3
+index 8bda997..fb538a8 100644
+--- a/dmalloc.h.3
++++ b/dmalloc.h.3
+@@ -429,6 +429,7 @@ char *strdup(const char *string);
+ *
+ * len -> Length of the string to duplicate.
+ */
++#undef strndup
+ extern
+ char *strndup(const char *string, const DMALLOC_SIZE len);
+
--
2.14.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] dmalloc: fix build with strdup
2019-01-21 19:21 [Buildroot] [PATCH 1/2] dmalloc: fix build with strdup Fabrice Fontaine
2019-01-21 19:21 ` [Buildroot] [PATCH 2/2] dmalloc: fix build with strndup Fabrice Fontaine
@ 2019-01-23 9:51 ` Peter Korsgaard
2019-01-29 18:32 ` Peter Korsgaard
2 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2019-01-23 9:51 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fixes:
> - http://autobuild.buildroot.org/results/3f2518f7a9e87034cd501ac3d121ea3a33827e7d
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] dmalloc: fix build with strndup
2019-01-21 19:21 ` [Buildroot] [PATCH 2/2] dmalloc: fix build with strndup Fabrice Fontaine
@ 2019-01-23 9:51 ` Peter Korsgaard
2019-01-29 18:32 ` Peter Korsgaard
1 sibling, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2019-01-23 9:51 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fixes:
> - http://autobuild.buildroot.org/results/5cfa01a41951ee3be2e8c1cb10edac3722d72c77
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/2] dmalloc: fix build with strdup
2019-01-21 19:21 [Buildroot] [PATCH 1/2] dmalloc: fix build with strdup Fabrice Fontaine
2019-01-21 19:21 ` [Buildroot] [PATCH 2/2] dmalloc: fix build with strndup Fabrice Fontaine
2019-01-23 9:51 ` [Buildroot] [PATCH 1/2] dmalloc: fix build with strdup Peter Korsgaard
@ 2019-01-29 18:32 ` Peter Korsgaard
2 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2019-01-29 18:32 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fixes:
> - http://autobuild.buildroot.org/results/3f2518f7a9e87034cd501ac3d121ea3a33827e7d
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2018.02.x and 2018.11.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/2] dmalloc: fix build with strndup
2019-01-21 19:21 ` [Buildroot] [PATCH 2/2] dmalloc: fix build with strndup Fabrice Fontaine
2019-01-23 9:51 ` Peter Korsgaard
@ 2019-01-29 18:32 ` Peter Korsgaard
1 sibling, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2019-01-29 18:32 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fixes:
> - http://autobuild.buildroot.org/results/5cfa01a41951ee3be2e8c1cb10edac3722d72c77
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2018.02.x and 2018.11.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-01-29 18:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-21 19:21 [Buildroot] [PATCH 1/2] dmalloc: fix build with strdup Fabrice Fontaine
2019-01-21 19:21 ` [Buildroot] [PATCH 2/2] dmalloc: fix build with strndup Fabrice Fontaine
2019-01-23 9:51 ` Peter Korsgaard
2019-01-29 18:32 ` Peter Korsgaard
2019-01-23 9:51 ` [Buildroot] [PATCH 1/2] dmalloc: fix build with strdup Peter Korsgaard
2019-01-29 18:32 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.