pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xf86-video-intel xf86-video-intel: Fix SunOS bytes...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/61046102094a
branches:  trunk
changeset: 439639:61046102094a
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Sep 23 08:33:35 2020 +0000

description:
xf86-video-intel: Fix SunOS byteswap.

diffstat:

 x11/xf86-video-intel/distinfo                           |   3 ++-
 x11/xf86-video-intel/patches/patch-src_sna_sna__video.c |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 463e83f366bc -r 61046102094a x11/xf86-video-intel/distinfo
--- a/x11/xf86-video-intel/distinfo     Wed Sep 23 08:16:50 2020 +0000
+++ b/x11/xf86-video-intel/distinfo     Wed Sep 23 08:33:35 2020 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.30 2020/07/31 14:41:37 maya Exp $
+$NetBSD: distinfo,v 1.31 2020/09/23 08:33:35 jperkin Exp $
 
 SHA1 (xf86-video-intel-5ca3ac1a90af177eb111a965e9b4dd8a27cc58fc.tar.bz2) = f9cb02d46b771e278a11dc88536049daf76f6ee8
 RMD160 (xf86-video-intel-5ca3ac1a90af177eb111a965e9b4dd8a27cc58fc.tar.bz2) = 40400b5860115d3c679ec849e0ba90dba74ee6ca
 SHA512 (xf86-video-intel-5ca3ac1a90af177eb111a965e9b4dd8a27cc58fc.tar.bz2) = 
29fea01332438ad7616bae56a926f5c6fa08f93f67c23a0bb38f775719f12b15fba5bcb096c0665948f80d3ff6b7c108f360e44aae008192ef6c9b21187b4bbb
 Size (xf86-video-intel-5ca3ac1a90af177eb111a965e9b4dd8a27cc58fc.tar.bz2) = 1250303 bytes
 SHA1 (patch-src_legacy_i810_i810__dri.c) = fb963b994d51c9db48457106048226214a2d986c
+SHA1 (patch-src_sna_sna__video.c) = 2771938849a475fc8c346dce0251000932add3de
diff -r 463e83f366bc -r 61046102094a x11/xf86-video-intel/patches/patch-src_sna_sna__video.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xf86-video-intel/patches/patch-src_sna_sna__video.c   Wed Sep 23 08:33:35 2020 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_sna_sna__video.c,v 1.1 2020/09/23 08:33:35 jperkin Exp $
+
+Support SunOS.
+
+--- src/sna/sna_video.c.orig   2020-05-15 16:56:58.000000000 +0000
++++ src/sna/sna_video.c
+@@ -67,6 +67,9 @@
+ #else
+ #define bswap_32 bswap32
+ #endif
++#elif defined(__sun)
++#include <sys/byteorder.h>
++#define bswap_32 BSWAP_32
+ #else
+ #include <byteswap.h>
+ #endif



Home | Main Index | Thread Index | Old Index