[2/3] libxcrypt: Upgrade to 4.4.1 release

Message ID 20181217055442.13735-2-raj.khem@gmail.com
State New
Headers show
Series
  • [1/3] go: Upgrade 1.11.1 -> 1.11.4 minor release
Related show

Commit Message

Khem Raj Dec. 17, 2018, 5:54 a.m.
License-Update: New files added to existing list

Add -Wno-error=missing-attributes to compiler flags, this helps in
compiling with gcc 9.0, eventually, the code should be fixed

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 .../libxcrypt/{libxcrypt_4.1.1.bb => libxcrypt_4.4.1.bb}   | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
 rename meta/recipes-core/libxcrypt/{libxcrypt_4.1.1.bb => libxcrypt_4.4.1.bb} (75%)

-- 
2.20.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Richard Purdie Dec. 17, 2018, 12:25 p.m. | #1
On Sun, 2018-12-16 at 21:54 -0800, Khem Raj wrote:
> License-Update: New files added to existing list

> 

> Add -Wno-error=missing-attributes to compiler flags, this helps in

> compiling with gcc 9.0, eventually, the code should be fixed

> 

> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> ---

>  .../libxcrypt/{libxcrypt_4.1.1.bb => libxcrypt_4.4.1.bb}   | 7 ++++-

> --

>  1 file changed, 4 insertions(+), 3 deletions(-)

>  rename meta/recipes-core/libxcrypt/{libxcrypt_4.1.1.bb =>

> libxcrypt_4.4.1.bb} (75%)


Fails on x32:

https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/102

Cheers,

Richard

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-core/libxcrypt/libxcrypt_4.1.1.bb b/meta/recipes-core/libxcrypt/libxcrypt_4.4.1.bb
similarity index 75%
rename from meta/recipes-core/libxcrypt/libxcrypt_4.1.1.bb
rename to meta/recipes-core/libxcrypt/libxcrypt_4.4.1.bb
index 465aa96523..8dcda25e6d 100644
--- a/meta/recipes-core/libxcrypt/libxcrypt_4.1.1.bb
+++ b/meta/recipes-core/libxcrypt/libxcrypt_4.4.1.bb
@@ -3,13 +3,14 @@  DESCRIPTION = "Forked code from glibc libary to extract only crypto part."
 HOMEPAGE = "https://github.com/besser82/libxcrypt"
 SECTION = "libs"
 LICENSE = "LGPLv2.1"
-LIC_FILES_CHKSUM ?= "file://LICENSING;md5=cb3ca4cabd2447a37bf186fad6f79852 \
+LIC_FILES_CHKSUM ?= "file://LICENSING;md5=e28ba6195a4e39904919b78a92bcf27e \
       file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
 "
 
 inherit autotools pkgconfig
 
-SRCREV ?= "21b455b68baad279e6a3936faced16c5e5634376"
+# v4.4.1
+SRCREV ?= "b8714d4e9e37cf0d511917bd5eea0e51e4a397d5"
 SRCBRANCH ?= "develop"
 
 SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH} \
@@ -22,6 +23,6 @@  FILES_${PN} = "${libdir}/libcrypt*.so.* ${libdir}/libcrypt-*.so ${libdir}/libowc
 S = "${WORKDIR}/git"
 
 BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE} -std=gnu99"
-TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir}"
+TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error=missing-attributes"
 
 BBCLASSEXTEND = "nativesdk"