From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Sun, 18 Jun 2017 11:31:23 +0200 Subject: [Buildroot] [PATCH 09/14] libv4l: don't link with librt In-Reply-To: References: Message-ID: <20170618093123.GJ2918@scaer> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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. > Signed-off-by: Baruch Siach Reviewed-by: "Yann E. MORIN" 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 > -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 > ---- > - 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 > > _______________________________________________ > 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. | '------------------------------^-------^------------------^--------------------'