diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2016-09-03 18:03:04 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-09-08 09:32:37 +0200 |
commit | 108d88b3c17f3f0f11f555273a362f2467e524ab (patch) | |
tree | 17ded18af5b960c521d6425fcb2c43699640cbff /dev-libs/libcec | |
parent | media-libs/libchamplain: version bump from 0.12.13 to 0.12.14 (diff) | |
download | gentoo-108d88b3c17f3f0f11f555273a362f2467e524ab.tar.gz gentoo-108d88b3c17f3f0f11f555273a362f2467e524ab.tar.bz2 gentoo-108d88b3c17f3f0f11f555273a362f2467e524ab.zip |
dev-libs/{...}: remove unused patches.
Closes: https://github.com/gentoo/gentoo/pull/2218
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-libs/libcec')
-rw-r--r-- | dev-libs/libcec/files/libcec-1.8.1-eintr-retry.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/dev-libs/libcec/files/libcec-1.8.1-eintr-retry.patch b/dev-libs/libcec/files/libcec-1.8.1-eintr-retry.patch deleted file mode 100644 index 7b472d0aaf6b..000000000000 --- a/dev-libs/libcec/files/libcec-1.8.1-eintr-retry.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 8f6c59829bb84edc66ce0edb0a4d5b7335a941c6 Mon Sep 17 00:00:00 2001 -From: Josef Fruehwirth <fruehwirth@gmail.com> -Date: Sat, 18 Aug 2012 14:07:04 +0200 -Subject: [PATCH] Retry m_port->Read(..) if an EINTR errror occurs instead of - closing the connection. - ---- - src/lib/adapter/Pulse-Eight/USBCECAdapterCommunication.cpp | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/src/lib/adapter/Pulse-Eight/USBCECAdapterCommunication.cpp b/src/lib/adapter/Pulse-Eight/USBCECAdapterCommunication.cpp -index 70e45ac..3fc05eb 100644 ---- a/src/lib/adapter/Pulse-Eight/USBCECAdapterCommunication.cpp -+++ b/src/lib/adapter/Pulse-Eight/USBCECAdapterCommunication.cpp -@@ -393,7 +393,11 @@ bool CUSBCECAdapterCommunication::ReadFromDevice(uint32_t iTimeout, size_t iSize - if (!IsOpen()) - return false; - -- iBytesRead = m_port->Read(buff, sizeof(uint8_t) * iSize, iTimeout); -+ do { -+ /* retry Read() if it was interrupted */ -+ iBytesRead = m_port->Read(buff, sizeof(uint8_t) * iSize, iTimeout); -+ } while(m_port->GetErrorNumber() == EINTR); -+ - - if (m_port->GetErrorNumber()) - { --- -1.7.10 - |