diff options
| -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 0000000000..9bd3d18d6e --- /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 a873da6339..0d3ea4186a 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 \ |
