pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xcb-util-image xcb-util-image: Fix clang -Wreturn-...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fb4034d8f982
branches: trunk
changeset: 374567:fb4034d8f982
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Jan 25 13:47:22 2018 +0000
description:
xcb-util-image: Fix clang -Wreturn-type failure.
diffstat:
x11/xcb-util-image/distinfo | 3 ++-
x11/xcb-util-image/patches/patch-image_xcb__bitops.h | 14 ++++++++++++++
2 files changed, 16 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r f3a7fbed4a74 -r fb4034d8f982 x11/xcb-util-image/distinfo
--- a/x11/xcb-util-image/distinfo Thu Jan 25 13:31:51 2018 +0000
+++ b/x11/xcb-util-image/distinfo Thu Jan 25 13:47:22 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2015/11/04 03:28:58 agc Exp $
+$NetBSD: distinfo,v 1.6 2018/01/25 13:47:22 jperkin Exp $
SHA1 (xcb-util-image-0.4.0.tar.bz2) = c9c9361781911a47b28f74fc6ebe0abd1273fae4
RMD160 (xcb-util-image-0.4.0.tar.bz2) = 7f36f7aae35194866d36b064061ed6c8abd8cf50
SHA512 (xcb-util-image-0.4.0.tar.bz2) = 9b7202c054e1160f9ca97a86be1210d9fb47f2119f89ca85f15f20909cca884bfe0cb88e3e71c75b65e1a0a72b980066ccac810e41a91db895c74dde77440d4f
Size (xcb-util-image-0.4.0.tar.bz2) = 327891 bytes
+SHA1 (patch-image_xcb__bitops.h) = d6b8a29380d7f4c5faaa9e1c68c4a58005bf3e55
diff -r f3a7fbed4a74 -r fb4034d8f982 x11/xcb-util-image/patches/patch-image_xcb__bitops.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xcb-util-image/patches/patch-image_xcb__bitops.h Thu Jan 25 13:47:22 2018 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-image_xcb__bitops.h,v 1.1 2018/01/25 13:47:22 jperkin Exp $
+
+Workaround clang "error: control may reach end of non-void function".
+
+--- image/xcb_bitops.h.orig 2011-06-30 08:05:22.000000000 +0000
++++ 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__ */
Home |
Main Index |
Thread Index |
Old Index