summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/usbutils/usbutils/0001-usbutils.pc.in-Fix-Cflags-entry.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/usbutils/usbutils/0001-usbutils.pc.in-Fix-Cflags-entry.patch')
-rw-r--r--meta/recipes-bsp/usbutils/usbutils/0001-usbutils.pc.in-Fix-Cflags-entry.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-bsp/usbutils/usbutils/0001-usbutils.pc.in-Fix-Cflags-entry.patch b/meta/recipes-bsp/usbutils/usbutils/0001-usbutils.pc.in-Fix-Cflags-entry.patch
new file mode 100644
index 0000000000..039dd5cd72
--- /dev/null
+++ b/meta/recipes-bsp/usbutils/usbutils/0001-usbutils.pc.in-Fix-Cflags-entry.patch
@@ -0,0 +1,34 @@
1From f558919e858453a31313a3df35906de2e036940c Mon Sep 17 00:00:00 2001
2From: Fabio Estevam <festevam@denx.de>
3Date: Thu, 4 Jan 2024 03:32:11 +0100
4Subject: [PATCH] usbutils.pc.in: Fix Cflags entry
5
6When updating the usbutils version in OpenEmbedded from 015 to 017,
7the following QA error is seen:
8
9QA Issue: File /usr/lib/pkgconfig/usbutils.pc in package usbutils-dev contains reference to TMPDIR [buildpaths]
10
11As this causes reproducibility problem due to the host PC path being
12leaked, it is treated as error.
13
14Fix it by using the standard Cflags entry.
15
16Upstream-Status: Submitted [https://github.com/gregkh/usbutils/pull/184/commits/3b3e5e1ebea7060bfa118d25a91b816dfa176b31]
17Signed-off-by: Fabio Estevam <festevam@denx.de>
18---
19 usbutils.pc.in | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/usbutils.pc.in b/usbutils.pc.in
23index e69778c3195c..0aa0005de951 100644
24--- a/usbutils.pc.in
25+++ b/usbutils.pc.in
26@@ -15,4 +15,4 @@ Requires: libusb-1.0 >= 1.0.14 libudev >= 196
27 Conflicts:
28 Libs: -L${libdir}
29 Libs.private: @LIBUSB_LIBS@ @UDEV_LIBS@
30-Cflags: @CFLAGS@ @LIBUSB_CFLAGS@ @UDEV_CFLAGS@
31+Cflags: -I${includedir}
32--
332.34.1
34