Open Source Telephony
 help / color / mirror / Atom feed
* [PATCH 1/2] build: link dundee with ell
@ 2024-05-28 18:53 Denis Kenzior
  2024-05-28 18:53 ` [PATCH 2/2] log: Use l_basename instead of basename Denis Kenzior
  2024-05-28 19:50 ` [PATCH 1/2] build: link dundee with ell patchwork-bot+ofono
  0 siblings, 2 replies; 3+ messages in thread
From: Denis Kenzior @ 2024-05-28 18:53 UTC (permalink / raw)
  To: ofono; +Cc: Denis Kenzior

---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 44fb7b1baef0..e60f4f2d2bee 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -991,7 +991,7 @@ dundee_common_sources = $(gatchat_sources) \
 			dundee/dbus.c dundee/manager.c dundee/device.c
 
 dundee_dundee_LDADD = $(builtin_libadd) gdbus/libgdbus-internal.la \
-			@GLIB_LIBS@ @DBUS_LIBS@ -ldl
+			$(ell_ldadd) @GLIB_LIBS@ @DBUS_LIBS@ -ldl
 
 if DATAFILES
 dist_dbusconf_DATA += dundee/dundee.conf
-- 
2.45.0


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

* [PATCH 2/2] log: Use l_basename instead of basename
  2024-05-28 18:53 [PATCH 1/2] build: link dundee with ell Denis Kenzior
@ 2024-05-28 18:53 ` Denis Kenzior
  2024-05-28 19:50 ` [PATCH 1/2] build: link dundee with ell patchwork-bot+ofono
  1 sibling, 0 replies; 3+ messages in thread
From: Denis Kenzior @ 2024-05-28 18:53 UTC (permalink / raw)
  To: ofono; +Cc: Denis Kenzior

---
 src/log.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/log.c b/src/log.c
index fdfad362cfd1..4348f1be6191 100644
--- a/src/log.c
+++ b/src/log.c
@@ -28,13 +28,14 @@
 #include <unistd.h>
 #include <stdarg.h>
 #include <stdlib.h>
-#include <string.h>
 #include <syslog.h>
 #ifdef HAVE_BACKTRACE
 #include <execinfo.h>
 #endif
 #include <dlfcn.h>
 
+#include <ell/ell.h>
+
 #include "ofono.h"
 
 static const char *program_exec;
@@ -309,7 +310,7 @@ int __ofono_log_init(const char *program, const char *debug,
 	signal_setup(signal_handler);
 #endif
 
-	openlog(basename(program), option, LOG_DAEMON);
+	openlog(l_basename(program), option, LOG_DAEMON);
 
 	syslog(LOG_INFO, "oFono version %s", VERSION);
 
-- 
2.45.0


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

* Re: [PATCH 1/2] build: link dundee with ell
  2024-05-28 18:53 [PATCH 1/2] build: link dundee with ell Denis Kenzior
  2024-05-28 18:53 ` [PATCH 2/2] log: Use l_basename instead of basename Denis Kenzior
@ 2024-05-28 19:50 ` patchwork-bot+ofono
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+ofono @ 2024-05-28 19:50 UTC (permalink / raw)
  To: Denis Kenzior; +Cc: ofono

Hello:

This series was applied to ofono.git (master)
by Denis Kenzior <denkenz@gmail.com>:

On Tue, 28 May 2024 13:53:35 -0500 you wrote:
> ---
>  Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - [1/2] build: link dundee with ell
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=59322e4d77ff
  - [2/2] log: Use l_basename instead of basename
    https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=47165d458c32

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2024-05-28 19:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-28 18:53 [PATCH 1/2] build: link dundee with ell Denis Kenzior
2024-05-28 18:53 ` [PATCH 2/2] log: Use l_basename instead of basename Denis Kenzior
2024-05-28 19:50 ` [PATCH 1/2] build: link dundee with ell patchwork-bot+ofono

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