* [Buildroot] [PATCH 1/2] package/liblog4c-localtime: use numbered patches
@ 2014-10-19 19:49 Bernd Kuhls
2014-10-19 19:49 ` [Buildroot] [PATCH 2/2] package/liblog4c-localtime: Fix build with BR2_ENABLE_DEBUG=yes Bernd Kuhls
2014-10-19 20:50 ` [Buildroot] [PATCH 1/2] package/liblog4c-localtime: use numbered patches Thomas Petazzoni
0 siblings, 2 replies; 5+ messages in thread
From: Bernd Kuhls @ 2014-10-19 19:49 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
...d-path.patch => liblog4c-0001-localtime-fix-underquoted-path.patch} | 0
...localtime-nothread.patch => liblog4c-0002-localtime-nothread.patch} | 0
2 files changed, 0 insertions(+), 0 deletions(-)
rename package/liblog4c-localtime/{liblog4c-localtime-fix-underquoted-path.patch => liblog4c-0001-localtime-fix-underquoted-path.patch} (100%)
rename package/liblog4c-localtime/{liblog4c-localtime-nothread.patch => liblog4c-0002-localtime-nothread.patch} (100%)
diff --git a/package/liblog4c-localtime/liblog4c-localtime-fix-underquoted-path.patch b/package/liblog4c-localtime/liblog4c-0001-localtime-fix-underquoted-path.patch
similarity index 100%
rename from package/liblog4c-localtime/liblog4c-localtime-fix-underquoted-path.patch
rename to package/liblog4c-localtime/liblog4c-0001-localtime-fix-underquoted-path.patch
diff --git a/package/liblog4c-localtime/liblog4c-localtime-nothread.patch b/package/liblog4c-localtime/liblog4c-0002-localtime-nothread.patch
similarity index 100%
rename from package/liblog4c-localtime/liblog4c-localtime-nothread.patch
rename to package/liblog4c-localtime/liblog4c-0002-localtime-nothread.patch
--
1.7.10.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] package/liblog4c-localtime: Fix build with BR2_ENABLE_DEBUG=yes
2014-10-19 19:49 [Buildroot] [PATCH 1/2] package/liblog4c-localtime: use numbered patches Bernd Kuhls
@ 2014-10-19 19:49 ` Bernd Kuhls
2014-10-19 20:49 ` Thomas Petazzoni
2014-10-19 20:50 ` [Buildroot] [PATCH 1/2] package/liblog4c-localtime: use numbered patches Thomas Petazzoni
1 sibling, 1 reply; 5+ messages in thread
From: Bernd Kuhls @ 2014-10-19 19:49 UTC (permalink / raw)
To: buildroot
Fixes
init.c:39:20: fatal error: mcheck.h: No such file or directory
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
.../liblog4c-localtime/liblog4c-0003-debug.patch | 37 ++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 package/liblog4c-localtime/liblog4c-0003-debug.patch
diff --git a/package/liblog4c-localtime/liblog4c-0003-debug.patch b/package/liblog4c-localtime/liblog4c-0003-debug.patch
new file mode 100644
index 0000000..80b00cf
--- /dev/null
+++ b/package/liblog4c-localtime/liblog4c-0003-debug.patch
@@ -0,0 +1,37 @@
+Fix build with BR2_ENABLE_DEBUG=yes
+
+Fixes
+init.c:39:20: fatal error: mcheck.h: No such file or directory
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -uNr log4c-localtime-1.0.org/src/log4c/init.c log4c-localtime-1.0/src/log4c/init.c
+--- log4c-localtime-1.0.org/src/log4c/init.c 2011-09-06 15:37:02.000000000 +0200
++++ log4c-localtime-1.0/src/log4c/init.c 2014-10-19 21:39:29.000000000 +0200
+@@ -35,7 +35,7 @@
+ #include <layout_type_basic_r.h>
+ #include <layout_type_dated_r.h>
+
+-#if defined(__LOG4C_DEBUG__) && defined(__GLIBC__)
++#if defined(__LOG4C_DEBUG__) && defined(__GLIBC__) && !defined(__UCLIBC__)
+ #include <mcheck.h>
+ #endif
+
+@@ -100,7 +100,7 @@
+ sd_debug("log4c_init[");
+
+ /* activate GLIBC allocation debugging */
+-#if defined(__LOG4C_DEBUG__) && defined(__GLIBC__)
++#if defined(__LOG4C_DEBUG__) && defined(__GLIBC__) && !defined(__UCLIBC__)
+ mtrace();
+ #endif
+
+@@ -278,7 +280,7 @@
+ log4c_dump_all_instances(stderr);
+ }
+ #endif
+-#if defined(__LOG4C_DEBUG__) && defined(__GLIBC__)
++#if defined(__LOG4C_DEBUG__) && defined(__GLIBC__) && !defined(__UCLIBC__)
+ muntrace();
+ #endif
+
--
1.7.10.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] package/liblog4c-localtime: Fix build with BR2_ENABLE_DEBUG=yes
2014-10-19 19:49 ` [Buildroot] [PATCH 2/2] package/liblog4c-localtime: Fix build with BR2_ENABLE_DEBUG=yes Bernd Kuhls
@ 2014-10-19 20:49 ` Thomas Petazzoni
2014-10-26 11:37 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2014-10-19 20:49 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Sun, 19 Oct 2014 21:49:25 +0200, Bernd Kuhls wrote:
> diff --git a/package/liblog4c-localtime/liblog4c-0003-debug.patch b/package/liblog4c-localtime/liblog4c-0003-debug.patch
> new file mode 100644
> index 0000000..80b00cf
> --- /dev/null
> +++ b/package/liblog4c-localtime/liblog4c-0003-debug.patch
> @@ -0,0 +1,37 @@
> +Fix build with BR2_ENABLE_DEBUG=yes
> +
> +Fixes
> +init.c:39:20: fatal error: mcheck.h: No such file or directory
> +
> +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Same comment as for the other package: using
AC_CHECK_HEADER([mcheck.h]) and then HAVE_MCHECK_H is a much better
solution.
Do you think you can push upstream this patch as well as the other
patches that we have?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/2] package/liblog4c-localtime: use numbered patches
2014-10-19 19:49 [Buildroot] [PATCH 1/2] package/liblog4c-localtime: use numbered patches Bernd Kuhls
2014-10-19 19:49 ` [Buildroot] [PATCH 2/2] package/liblog4c-localtime: Fix build with BR2_ENABLE_DEBUG=yes Bernd Kuhls
@ 2014-10-19 20:50 ` Thomas Petazzoni
1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2014-10-19 20:50 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Sun, 19 Oct 2014 21:49:24 +0200, Bernd Kuhls wrote:
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> ...d-path.patch => liblog4c-0001-localtime-fix-underquoted-path.patch} | 0
> ...localtime-nothread.patch => liblog4c-0002-localtime-nothread.patch} | 0
> 2 files changed, 0 insertions(+), 0 deletions(-)
> rename package/liblog4c-localtime/{liblog4c-localtime-fix-underquoted-path.patch => liblog4c-0001-localtime-fix-underquoted-path.patch} (100%)
> rename package/liblog4c-localtime/{liblog4c-localtime-nothread.patch => liblog4c-0002-localtime-nothread.patch} (100%)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] package/liblog4c-localtime: Fix build with BR2_ENABLE_DEBUG=yes
2014-10-19 20:49 ` Thomas Petazzoni
@ 2014-10-26 11:37 ` Thomas Petazzoni
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2014-10-26 11:37 UTC (permalink / raw)
To: buildroot
Bernd,
On Sun, 19 Oct 2014 22:49:55 +0200, Thomas Petazzoni wrote:
> Same comment as for the other package: using
> AC_CHECK_HEADER([mcheck.h]) and then HAVE_MCHECK_H is a much better
> solution.
>
> Do you think you can push upstream this patch as well as the other
> patches that we have?
I've committed some patches against liblog4c-localtime to implement
this, and I submitted them upstream. Therefore, I've marked your patch
as Superseded. Thanks for spotting and analyzing the issue!
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-10-26 11:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-19 19:49 [Buildroot] [PATCH 1/2] package/liblog4c-localtime: use numbered patches Bernd Kuhls
2014-10-19 19:49 ` [Buildroot] [PATCH 2/2] package/liblog4c-localtime: Fix build with BR2_ENABLE_DEBUG=yes Bernd Kuhls
2014-10-19 20:49 ` Thomas Petazzoni
2014-10-26 11:37 ` Thomas Petazzoni
2014-10-19 20:50 ` [Buildroot] [PATCH 1/2] package/liblog4c-localtime: use numbered patches Thomas Petazzoni
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.