tsocks: Link with libc_nonshared.a
PATCH 1/2 tsocks: Link with libc_nonshared.a
Link step uses -nostdlib which means all defaults from gcc spec file are not used and it results in errors when using stack protector options
e.g.
in function `send_socksv5_connect':
| /usr/src/debug/tsocks/1.8beta5-r0/tsocks-1.8/tsocks.c:954: undefined reference to `__stack_chk_fail_local'
Signed-off-by Khem Raj <[email protected]>
--- meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb | 1 + 1 file changed, 1 insertion(+)
meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb +1 -0
@@ -19,6 +19,7 @@ SRC_URI[sha256sum] = "849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863 inherit autotools-brokensep LIBS_append_libc-musl = " -lssp_nonshared" +LIBS_append_libc-glibc = " -lc_nonshared" S = "${WORKDIR}/tsocks-1.8"
Signature · 1 line
2.19.0
PATCH 2/2 yasm: Switch to cmake and use 1.3.0 release
latest master might have issues, so revert to using 1.3.0 release
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-devtools/yasm/yasm_git.bb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/yasm/yasm_git.bb +8 -2
@@ -4,14 +4,20 @@ HOMEPAGE = "http://www.tortall.net/projects/yasm/" LIC_FILES_CHKSUM = "file://COPYING;md5=a12d8903508fb6bfd49d8d82c6170dd9" +DEPENDS += "flex-native bison-native xmlto-native" + PV = "1.3.0+git${SRCPV}" -SRCREV = "35af9720e36df19382a57be26643b0d6bb48a363" +# v1.3.0 +SRCREV = "ba463d3c26c0ece2e797b8d6381b161633b5971a" SRC_URI = "git://github.com/yasm/yasm.git" S = "${WORKDIR}/git" -inherit autotools gettext +inherit cmake gettext pythonnative export CCLD_FOR_BUILD = "${CC_FOR_BUILD}" BBCLASSEXTEND = "native" +SOLIBS = ".so" +FILES_SOLIBSDEV = "" +
Signature · 1 line
2.19.0