diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-05-22 22:03:43 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-05-23 15:04:38 -0700 |
commit | d9fb985b87cd8a8057f77801dde3c556e41e7294 (patch) | |
tree | 91a764846f7bec65040ffa30c44a364192441cdc /meta-oe | |
parent | a1d047bae79fb2a747b204b941aa5af5ada28d6e (diff) | |
download | meta-openembedded-d9fb985b87cd8a8057f77801dde3c556e41e7294.tar.gz |
openct: Fix buildpaths being emitted into generated types.h
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-support/openct/openct/0001-m4-Just-emit-the-first-line-of-compiler-version.patch | 31 | ||||
-rw-r--r-- | meta-oe/recipes-support/openct/openct_0.6.20.bb | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/openct/openct/0001-m4-Just-emit-the-first-line-of-compiler-version.patch b/meta-oe/recipes-support/openct/openct/0001-m4-Just-emit-the-first-line-of-compiler-version.patch new file mode 100644 index 000000000..9bd3d18d6 --- /dev/null +++ b/meta-oe/recipes-support/openct/openct/0001-m4-Just-emit-the-first-line-of-compiler-version.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 146b5116140d719e4e9ae19748c0b6dee7d82f96 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 22 May 2023 22:01:28 -0700 | ||
4 | Subject: [PATCH] m4: Just emit the first line of compiler version | ||
5 | |||
6 | Avoids emitting buildpaths into comments | ||
7 | Fixes | ||
8 | WARNING: openct-0.6.20-r0 do_package_qa: QA Issue: File /usr/include/openct/types.h in package openct-dev contains reference to TMPDIR [buildpaths] | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | m4/ac_create_stdint_h.m4 | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/m4/ac_create_stdint_h.m4 b/m4/ac_create_stdint_h.m4 | ||
17 | index 66de704..4b7223a 100644 | ||
18 | --- a/m4/ac_create_stdint_h.m4 | ||
19 | +++ b/m4/ac_create_stdint_h.m4 | ||
20 | @@ -110,7 +110,7 @@ echo "#define" $_ac_stdint_h "1" >>$ac_stdint_h | ||
21 | echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint_h | ||
22 | echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint_h | ||
23 | if test "$GCC" = "yes" ; then | ||
24 | - echo "/* generated using a gnu compiler version" `$CC --version` "*/" \ | ||
25 | + echo "/* generated using a gnu compiler version" `$CC --version|head -1` "*/" \ | ||
26 | >>$ac_stdint_h | ||
27 | else | ||
28 | echo "/* generated using $CC */" >>$ac_stdint_h | ||
29 | -- | ||
30 | 2.40.1 | ||
31 | |||
diff --git a/meta-oe/recipes-support/openct/openct_0.6.20.bb b/meta-oe/recipes-support/openct/openct_0.6.20.bb index a873da633..0d3ea4186 100644 --- a/meta-oe/recipes-support/openct/openct_0.6.20.bb +++ b/meta-oe/recipes-support/openct/openct_0.6.20.bb | |||
@@ -14,6 +14,7 @@ SRC_URI = " \ | |||
14 | https://downloads.sourceforge.net/project/opensc/${BPN}/${BPN}-${PV}.tar.gz \ | 14 | https://downloads.sourceforge.net/project/opensc/${BPN}/${BPN}-${PV}.tar.gz \ |
15 | file://etc-openct.udev.in-disablePROGRAM.patch \ | 15 | file://etc-openct.udev.in-disablePROGRAM.patch \ |
16 | file://etc-openct_usb.in-modify-UDEVINFO.patch \ | 16 | file://etc-openct_usb.in-modify-UDEVINFO.patch \ |
17 | file://0001-m4-Just-emit-the-first-line-of-compiler-version.patch \ | ||
17 | file://openct.init \ | 18 | file://openct.init \ |
18 | file://openct.sysconfig \ | 19 | file://openct.sysconfig \ |
19 | file://openct.service \ | 20 | file://openct.service \ |