summaryrefslogtreecommitdiffstats
path: root/yocto-poky/meta/recipes-graphics/xorg-lib/xcb-util-image/clang.patch
diff options
context:
space:
mode:
Diffstat (limited to 'yocto-poky/meta/recipes-graphics/xorg-lib/xcb-util-image/clang.patch')
-rw-r--r--yocto-poky/meta/recipes-graphics/xorg-lib/xcb-util-image/clang.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/yocto-poky/meta/recipes-graphics/xorg-lib/xcb-util-image/clang.patch b/yocto-poky/meta/recipes-graphics/xorg-lib/xcb-util-image/clang.patch
deleted file mode 100644
index 11e90940a..000000000
--- a/yocto-poky/meta/recipes-graphics/xorg-lib/xcb-util-image/clang.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-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 <raj.khem@gmail.com>
-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__ */
OpenPOWER on IntegriCloud