Skip to contentSkip to conversation

musl: Update to get mips64 port

PATCH New Khem Raj 1 participant 2 messages Mar 15, 2016

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 musl: Update to get mips64 port

mips64 port is now available on top of 1.1.14
this updates brings it to OE

Copyright file changed due to mips64 attribution being added

http://git.musl-libc.org/cgit/musl/commit/COPYRIGHT?id=589aefa5b061647e8b9ad9bca3aaa8dc6222460a

---
 meta/recipes-core/musl/musl.inc    | 2 +-
 meta/recipes-core/musl/musl_git.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/musl/musl.inc +1 -1
index 3ad31b5..f2390e6 100644
@@ -9,7 +9,7 @@ standards-conformance and safety."
 HOMEPAGE = "http://www.musl-libc.org/"
 LICENSE = "MIT"
 SECTION = "libs"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=617ba6560e800d47ec31dc88deb63101"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=c9c8cfb4e5e4b9ee6ff570f078950120"
 
 PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:"
 TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}"
meta/recipes-core/musl/musl_git.bb +1 -1
index 3b7c9a5..507e793 100644
@@ -3,7 +3,7 @@
 
 require musl.inc
 
-SRCREV = "074e6b3fe3f2ad89b991f3d8ab0932035b312a62"
+SRCREV = "de400b6609becbc6a5ae87fa8b155f02a860e257"
 
 PV = "1.1.14+git${SRCPV}"
 
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 2/2 xcb-util-image: Fix build with clang

---
 .../xorg-lib/xcb-util-image/clang.patch            | 24 ++++++++++++++++++++++
 .../xorg-lib/xcb-util-image_0.4.0.bb               |  5 ++++-
 2 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-graphics/xorg-lib/xcb-util-image/clang.patch
meta/recipes-graphics/xorg-lib/xcb-util-image/clang.patch new file +24 -0
new file mode 100644
index 0000000..11e9094
@@ -0,0 +1,24 @@
+Make clang happy since it squashes the control warning, ideally it will never reach that return value due to assert
+but there is a chance when NDEBUG is defined
+
+| In file included from ../../xcb-util-image-0.4.0/image/xcb_image.c:37:
+| ../../xcb-util-image-0.4.0/image/xcb_bitops.h:210:1: error: control may reach end of non-void function [-Werror,-Wreturn-type]
+| }
+| ^
+| 1 error generated.
+
+Signed-off-by: Khem Raj <[email protected]>
+Upstream-Status: Pending
+
+Index: xcb-util-image-0.4.0/image/xcb_bitops.h
+===================================================================
+--- xcb-util-image-0.4.0.orig/image/xcb_bitops.h
++++ xcb-util-image-0.4.0/image/xcb_bitops.h
+@@ -207,6 +207,7 @@ xcb_host_byte_order(void) {
+       return XCB_IMAGE_ORDER_LSB_FIRST;
+   }
+   assert(0);
++  return -1;
+ }
+ 
+ #endif /* __XCB_BITOPS_H__ */
meta/recipes-graphics/xorg-lib/xcb-util-image_0.4.0.bb +4 -1
index 91464b6..c6bb5a6 100644
@@ -6,5 +6,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://image/xcb_image.c;endline=24;md5=eafdf965cfb89955fdedf75054223fb4 \
                     file://image/xcb_image.h;beginline=4;endline=27;md5=48cd25ae55e7de525fe1e1a3a7672e1c"
 
+SRC_URI += "file://clang.patch \
+"
+
 SRC_URI[md5sum] = "08fe8ffecc8d4e37c0ade7906b3f4c87"
-SRC_URI[sha256sum] = "2db96a37d78831d643538dd1b595d7d712e04bdccf8896a5e18ce0f398ea2ffc"
\ No newline at end of file
+SRC_URI[sha256sum] = "2db96a37d78831d643538dd1b595d7d712e04bdccf8896a5e18ce0f398ea2ffc"
Signature · 1 line
1.9.1