All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 13/14] lirc-tools: no need to check for clock_gettime
Date: Sun, 18 Jun 2017 11:45:09 +0200	[thread overview]
Message-ID: <20170618094509.GO2918@scaer> (raw)
In-Reply-To: <ee7b7264b3c77939b9d92287e262adc539412e1d.1497583686.git.baruch@tkos.co.il>

Baruch, All,

On 2017-06-16 06:32 +0300, Baruch Siach spake thusly:
> Buildroot no longer supports toolchains with glibc older than 2.17, so there
> is no need to check whether librt is required for clock_* system calls.
> 
> Cc: Rhys Williams <github@wilberforce.co.nz>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  ...onfigure-check-for-clock_gettime-in-librt.patch | 54 ----------------------
>  ...-use-of-functions-killed-in-kernel-4.8.0.patch} |  0
>  package/lirc-tools/lirc-tools.mk                   |  2 -
>  3 files changed, 56 deletions(-)
>  delete mode 100644 package/lirc-tools/0002-configure-check-for-clock_gettime-in-librt.patch
>  rename package/lirc-tools/{0003-lircd-Remove-use-of-functions-killed-in-kernel-4.8.0.patch => 0002-lircd-Remove-use-of-functions-killed-in-kernel-4.8.0.patch} (100%)
> 
> diff --git a/package/lirc-tools/0002-configure-check-for-clock_gettime-in-librt.patch b/package/lirc-tools/0002-configure-check-for-clock_gettime-in-librt.patch
> deleted file mode 100644
> index 710dfd3b05e2..000000000000
> --- a/package/lirc-tools/0002-configure-check-for-clock_gettime-in-librt.patch
> +++ /dev/null
> @@ -1,54 +0,0 @@
> -From e654ae139cec42a6f1b5684261787d0c241cfd3b Mon Sep 17 00:00:00 2001
> -From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> -Date: Fri, 19 Aug 2016 15:25:48 +0200
> -Subject: [PATCH] configure: check for clock_gettime in librt
> -
> -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ----
> - configure.ac        | 3 +++
> - daemons/Makefile.am | 2 +-
> - plugins/Makefile.am | 1 +
> - 3 files changed, 5 insertions(+), 1 deletion(-)
> -
> -diff --git a/configure.ac b/configure.ac
> -index 73340c7..466e638 100644
> ---- a/configure.ac
> -+++ b/configure.ac
> -@@ -67,6 +67,9 @@ AC_CHECK_FUNCS(gethostname gettimeofday mkfifo select socket strdup \
> - AC_SEARCH_LIBS([dlopen], [dl dld], [], [
> -   AC_MSG_ERROR([unable to find the dlopen() function])
> - ])
> -+# glibc < 2.17 needs librt for clock_gettime()
> -+AC_CHECK_LIB(rt, clock_gettime, LIBCLOCK_GETTIME="-lrt")
> -+AC_SUBST(LIBCLOCK_GETTIME)
> - AC_CHECK_FUNCS(daemon)
> - if test "$ac_cv_func_daemon" != yes; then
> -   daemon=""
> -diff --git a/daemons/Makefile.am b/daemons/Makefile.am
> -index 5625627..85a28f3 100644
> ---- a/daemons/Makefile.am
> -+++ b/daemons/Makefile.am
> -@@ -21,7 +21,7 @@ sbin_PROGRAMS           += lircd-uinput
> - endif
> - 
> - lircd_SOURCES           = lircd.cpp
> --lircd_LDADD             = ../lib/liblirc.la
> -+lircd_LDADD             = ../lib/liblirc.la @LIBCLOCK_GETTIME@
> - 
> - lircd_uinput_SOURCES    = lircd-uinput.cpp
> - lircd_uinput_LDADD     = ../lib/liblirc.la
> -diff --git a/plugins/Makefile.am b/plugins/Makefile.am
> -index ddff01d..45c012a 100644
> ---- a/plugins/Makefile.am
> -+++ b/plugins/Makefile.am
> -@@ -127,6 +127,7 @@ zotac_la_SOURCES            = zotac.c
> - 
> - plugin_LTLIBRARIES          += mplay.la
> - mplay_la_SOURCES            = mplay.c
> -+mplay_la_LIBADD             = @LIBCLOCK_GETTIME@
> - endif
> - 
> - $(srcdir)/pluginlist.am:
> --- 
> -2.7.4
> -
> diff --git a/package/lirc-tools/0003-lircd-Remove-use-of-functions-killed-in-kernel-4.8.0.patch b/package/lirc-tools/0002-lircd-Remove-use-of-functions-killed-in-kernel-4.8.0.patch
> similarity index 100%
> rename from package/lirc-tools/0003-lircd-Remove-use-of-functions-killed-in-kernel-4.8.0.patch
> rename to package/lirc-tools/0002-lircd-Remove-use-of-functions-killed-in-kernel-4.8.0.patch
> diff --git a/package/lirc-tools/lirc-tools.mk b/package/lirc-tools/lirc-tools.mk
> index 6fd6434ef822..f0eff91f5f4f 100644
> --- a/package/lirc-tools/lirc-tools.mk
> +++ b/package/lirc-tools/lirc-tools.mk
> @@ -11,8 +11,6 @@ LIRC_TOOLS_LICENSE = GPL-2.0+
>  LIRC_TOOLS_LICENSE_FILES = COPYING
>  LIRC_TOOLS_DEPENDENCIES = host-libxslt host-pkgconf host-python3
>  LIRC_TOOLS_INSTALL_STAGING = YES
> -# 0002-configure-check-for-clock_gettime-in-librt.patch
> -LIRC_TOOLS_AUTORECONF = YES
>  
>  LIRC_TOOLS_CONF_ENV = XSLTPROC=yes
>  LIRC_TOOLS_CONF_OPTS = --without-x
> -- 
> 2.11.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2017-06-18  9:45 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-16  3:32 [Buildroot] [PATCH 00/14] toolchain-external: remove support for glibc before 2.17 Baruch Siach
2017-06-16  3:32 ` [Buildroot] [PATCH 01/14] docs/manual: update external toolchain advantages list Baruch Siach
2017-06-18  9:02   ` Yann E. MORIN
2017-06-16  3:32 ` [Buildroot] [PATCH 02/14] toolchain: remove CodeSourcery x86 toolchain Baruch Siach
2017-06-18  9:08   ` Yann E. MORIN
2017-06-18  9:14     ` Baruch Siach
2017-06-18  9:19       ` Yann E. MORIN
2017-06-16  3:32 ` [Buildroot] [PATCH 03/14] toolchain: remove CodeSourcery sh toolchain Baruch Siach
2017-06-18  9:09   ` Yann E. MORIN
2017-06-16  3:32 ` [Buildroot] [PATCH 04/14] package: remove CodeSourcery sh dependencies Baruch Siach
2017-06-18  9:12   ` Yann E. MORIN
2017-06-16  3:32 ` [Buildroot] [PATCH 05/14] toolchain-external: update list of toolchains Baruch Siach
2017-06-18  9:21   ` Yann E. MORIN
2017-06-16  3:32 ` [Buildroot] [PATCH 06/14] docs/manual: drop mention of removed external toolchains Baruch Siach
2017-06-18  9:23   ` Yann E. MORIN
2017-06-16  3:32 ` [Buildroot] [PATCH 07/14] swupdate: don't link with librt Baruch Siach
2017-06-18  9:26   ` Yann E. MORIN
2017-06-16  3:32 ` [Buildroot] [PATCH 08/14] aiccu: " Baruch Siach
2017-06-18  9:27   ` Yann E. MORIN
2017-06-16  3:32 ` [Buildroot] [PATCH 09/14] libv4l: " Baruch Siach
2017-06-18  9:31   ` Yann E. MORIN
2017-06-18  9:34     ` Baruch Siach
2017-06-18  9:36       ` Yann E. MORIN
2017-06-16  3:32 ` [Buildroot] [PATCH 10/14] e2fsprogs: " Baruch Siach
2017-06-18  9:33   ` Yann E. MORIN
2017-06-18 10:13     ` Baruch Siach
2017-06-18 11:55       ` Yann E. MORIN
2017-06-19 19:14         ` Baruch Siach
2017-06-16  3:32 ` [Buildroot] [PATCH 11/14] liboping: no need to check for clock_gettime Baruch Siach
2017-06-18  9:37   ` Yann E. MORIN
2017-06-16  3:32 ` [Buildroot] [PATCH 12/14] openipmi: " Baruch Siach
2017-06-18  9:42   ` Yann E. MORIN
2017-06-16  3:32 ` [Buildroot] [PATCH 13/14] lirc-tools: " Baruch Siach
2017-06-18  9:45   ` Yann E. MORIN [this message]
2017-06-16  3:32 ` [Buildroot] [PATCH 14/14] softether: " Baruch Siach
2017-06-18  9:47   ` Yann E. MORIN
2017-06-20 20:23 ` [Buildroot] [PATCH 00/14] toolchain-external: remove support for glibc before 2.17 Thomas Petazzoni
2017-06-22  7:57 ` Arnout Vandecappelle
2017-06-22 17:01   ` Baruch Siach
2017-06-23 21:33     ` Waldemar Brodkorb
2017-06-25  4:57       ` Baruch Siach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170618094509.GO2918@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.