Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame^] | 1 | From f558919e858453a31313a3df35906de2e036940c Mon Sep 17 00:00:00 2001 |
| 2 | From: Fabio Estevam <festevam@denx.de> |
| 3 | Date: Thu, 4 Jan 2024 03:32:11 +0100 |
| 4 | Subject: [PATCH] usbutils.pc.in: Fix Cflags entry |
| 5 | |
| 6 | When updating the usbutils version in OpenEmbedded from 015 to 017, |
| 7 | the following QA error is seen: |
| 8 | |
| 9 | QA Issue: File /usr/lib/pkgconfig/usbutils.pc in package usbutils-dev contains reference to TMPDIR [buildpaths] |
| 10 | |
| 11 | As this causes reproducibility problem due to the host PC path being |
| 12 | leaked, it is treated as error. |
| 13 | |
| 14 | Fix it by using the standard Cflags entry. |
| 15 | |
| 16 | Upstream-Status: Submitted [https://github.com/gregkh/usbutils/pull/184/commits/3b3e5e1ebea7060bfa118d25a91b816dfa176b31] |
| 17 | Signed-off-by: Fabio Estevam <festevam@denx.de> |
| 18 | --- |
| 19 | usbutils.pc.in | 2 +- |
| 20 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 21 | |
| 22 | diff --git a/usbutils.pc.in b/usbutils.pc.in |
| 23 | index 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 | -- |
| 33 | 2.34.1 |
| 34 | |