From cdbc292694e661c700387dd1061334fd8ac1a56f Mon Sep 17 00:00:00 2001 From: "Carlos J. Puga Medina" Date: Fri, 5 May 2017 18:46:01 +0000 Subject: [PATCH] - Add patch to fix libcec build when udev is present PR: 218525 Submitted by: cpm Reported by: holindho@saunalahti.fi Approved by: Mikael Urankar (maintainer) --- ...ec_adapter_Pulse-Eight_USBCECAdapterDetection.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 multimedia/libcec/files/patch-src_libcec_adapter_Pulse-Eight_USBCECAdapterDetection.cpp diff --git a/multimedia/libcec/files/patch-src_libcec_adapter_Pulse-Eight_USBCECAdapterDetection.cpp b/multimedia/libcec/files/patch-src_libcec_adapter_Pulse-Eight_USBCECAdapterDetection.cpp new file mode 100644 index 000000000000..8510d85167b0 --- /dev/null +++ b/multimedia/libcec/files/patch-src_libcec_adapter_Pulse-Eight_USBCECAdapterDetection.cpp @@ -0,0 +1,12 @@ +--- src/libcec/adapter/Pulse-Eight/USBCECAdapterDetection.cpp.orig 2017-01-28 22:51:30 UTC ++++ src/libcec/adapter/Pulse-Eight/USBCECAdapterDetection.cpp +@@ -56,6 +56,9 @@ static GUID USB_RAW_GUID = { 0xA5DCBF10, + static GUID USB_CDC_GUID = { 0x4D36E978, 0xE325, 0x11CE, { 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18 } }; + + #elif defined(HAVE_LIBUDEV) ++#if defined(__FreeBSD__) ++#include ++#endif + #include + #include + extern "C" {