From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 09/14] libv4l: don't link with librt
Date: Sun, 18 Jun 2017 11:36:43 +0200 [thread overview]
Message-ID: <20170618093643.GL2918@scaer> (raw)
In-Reply-To: <20170618093438.fpuk4gkg2z2zhuut@tarshish>
Baruch, All,
On 2017-06-18 12:34 +0300, Baruch Siach spake thusly:
> On Sun, Jun 18, 2017 at 11:31:23AM +0200, Yann E. MORIN wrote:
> > 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 link with librt for clock_* system calls.
> > >
> > > The following patches are not renumbered. The noise is too high.
> >
> > If you use -M and/or -C when doing the patches, then git will detect
> > renames and/or copies, and will not actually send the diff, just the
> > rename.
>
> The noise is mostly in the libv4l.mk comment. It would hide the actual
> significant change there.
OK, I see what you meant, now.
> Should I do it anyway?
I won't ask for it! ;-)
Regards,
Yann E. MORIN.
> baruch
>
> > > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> >
> > Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> >
> > Regards,
> > Yann E. MORIN.
> >
> > > ---
> > > ...3-utils-qv4l2-Makefile.am-link-with-librt.patch | 29 ----------------------
> > > package/libv4l/libv4l.mk | 3 +--
> > > 2 files changed, 1 insertion(+), 31 deletions(-)
> > > delete mode 100644 package/libv4l/0003-utils-qv4l2-Makefile.am-link-with-librt.patch
> > >
> > > diff --git a/package/libv4l/0003-utils-qv4l2-Makefile.am-link-with-librt.patch b/package/libv4l/0003-utils-qv4l2-Makefile.am-link-with-librt.patch
> > > deleted file mode 100644
> > > index 4bac577d98b2..000000000000
> > > --- a/package/libv4l/0003-utils-qv4l2-Makefile.am-link-with-librt.patch
> > > +++ /dev/null
> > > @@ -1,29 +0,0 @@
> > > -From 66d1d752976f4b45a5faff2bc68fc2fa9d435c71 Mon Sep 17 00:00:00 2001
> > > -From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> > > -Date: Sun, 14 May 2017 22:04:55 +0200
> > > -Subject: [PATCH] utils/qv4l2/Makefile.am: link with librt
> > > -
> > > -qv4l2 uses clock_gettime(), so it should link with librt to be
> > > -compatible with old versions of glibc.
> > > -
> > > -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> > > ----
> > > - utils/qv4l2/Makefile.am | 2 +-
> > > - 1 file changed, 1 insertion(+), 1 deletion(-)
> > > -
> > > -diff --git a/utils/qv4l2/Makefile.am b/utils/qv4l2/Makefile.am
> > > -index fd58486..a991d66 100644
> > > ---- a/utils/qv4l2/Makefile.am
> > > -+++ b/utils/qv4l2/Makefile.am
> > > -@@ -7,7 +7,7 @@ qv4l2_SOURCES = qv4l2.cpp general-tab.cpp ctrl-tab.cpp vbi-tab.cpp capture-win.c
> > > - v4l2-tpg-core.c v4l2-tpg-colors.c
> > > - nodist_qv4l2_SOURCES = moc_qv4l2.cpp moc_general-tab.cpp moc_capture-win.cpp moc_vbi-tab.cpp qrc_qv4l2.cpp
> > > - qv4l2_LDADD = ../../lib/libv4l2/libv4l2.la ../../lib/libv4lconvert/libv4lconvert.la \
> > > -- ../libv4l2util/libv4l2util.la ../libmedia_dev/libmedia_dev.la
> > > -+ ../libv4l2util/libv4l2util.la ../libmedia_dev/libmedia_dev.la -lrt
> > > - qv4l2_CPPFLAGS = -I../common
> > > -
> > > - if WITH_QTGL
> > > ---
> > > -2.7.4
> > > -
> > > diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk
> > > index 4e7aa422228f..b74271728a0b 100644
> > > --- a/package/libv4l/libv4l.mk
> > > +++ b/package/libv4l/libv4l.mk
> > > @@ -11,8 +11,6 @@ LIBV4L_INSTALL_STAGING = YES
> > > LIBV4L_DEPENDENCIES = host-pkgconf
> > > LIBV4L_CONF_OPTS = --disable-doxygen-doc
> > >
> > > -# 0003-utils-qv4l2-Makefile.am-link-with-librt.patch, host-gettext
> > > -# needed for autoreconf to work
> > > # below patches requires autoreconf:
> > > # 0004-configure.ac-clarify-configure-summary.patch
> > > # 0005-configure.ac-revisit-v4l2-ctl-compliance-using-libv4.patch
> > > @@ -21,6 +19,7 @@ LIBV4L_CONF_OPTS = --disable-doxygen-doc
> > > # 0008-configure.ac-fix-build-of-v4l-utils-on-uclinux.patch
> > > # 0009-configure.ac-add-USE_LIBV4L-to-summary.patch
> > > LIBV4L_AUTORECONF = YES
> > > +# host-gettext needed for autoreconf to work
> > > LIBV4L_DEPENDENCIES += host-gettext
> > >
> > > # fix uclibc-ng configure/compile
> > > --
> > > 2.11.0
>
> --
> http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
> - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2017-06-18 9:36 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 [this message]
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
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=20170618093643.GL2918@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.