pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/xcb-util-image



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Jan 25 13:47:22 UTC 2018

Modified Files:
        pkgsrc/x11/xcb-util-image: distinfo
Added Files:
        pkgsrc/x11/xcb-util-image/patches: patch-image_xcb__bitops.h

Log Message:
xcb-util-image: Fix clang -Wreturn-type failure.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/x11/xcb-util-image/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/x11/xcb-util-image/patches/patch-image_xcb__bitops.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/xcb-util-image/distinfo
diff -u pkgsrc/x11/xcb-util-image/distinfo:1.5 pkgsrc/x11/xcb-util-image/distinfo:1.6
--- pkgsrc/x11/xcb-util-image/distinfo:1.5      Wed Nov  4 03:28:58 2015
+++ pkgsrc/x11/xcb-util-image/distinfo  Thu Jan 25 13:47:22 2018
@@ -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

Added files:

Index: pkgsrc/x11/xcb-util-image/patches/patch-image_xcb__bitops.h
diff -u /dev/null pkgsrc/x11/xcb-util-image/patches/patch-image_xcb__bitops.h:1.1
--- /dev/null   Thu Jan 25 13:47:22 2018
+++ pkgsrc/x11/xcb-util-image/patches/patch-image_xcb__bitops.h Thu Jan 25 13:47:22 2018
@@ -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