pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xf86-video-ati6 xf86-video-ati: fix bitrot, make i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40bfe2825abf
branches:  trunk
changeset: 390870:40bfe2825abf
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Jan 27 11:54:57 2019 +0000

description:
xf86-video-ati: fix bitrot, make it build again

diffstat:

 x11/xf86-video-ati6/distinfo                       |   5 +++--
 x11/xf86-video-ati6/patches/patch-configure.ac     |  17 ++++++++++++++++-
 x11/xf86-video-ati6/patches/patch-src_compat-api.h |  17 +++++++++++++++++
 3 files changed, 36 insertions(+), 3 deletions(-)

diffs (69 lines):

diff -r ece5f1e4c7ef -r 40bfe2825abf x11/xf86-video-ati6/distinfo
--- a/x11/xf86-video-ati6/distinfo      Sun Jan 27 11:04:53 2019 +0000
+++ b/x11/xf86-video-ati6/distinfo      Sun Jan 27 11:54:57 2019 +0000
@@ -1,13 +1,14 @@
-$NetBSD: distinfo,v 1.9 2016/09/05 12:08:53 richard Exp $
+$NetBSD: distinfo,v 1.10 2019/01/27 11:54:57 tnn Exp $
 
 SHA1 (xf86-video-ati-6.14.6.tar.bz2) = b30383c7e5487c1df403a3af19fce8626d617a8d
 RMD160 (xf86-video-ati-6.14.6.tar.bz2) = e285bff97a23f6e6f8553f1c010c840e6df882a8
 SHA512 (xf86-video-ati-6.14.6.tar.bz2) = 7ed64bb3596703f7c575aec37a6918bac251819fe638acc66a29aab7648d8a81dedd8d416f970faa1f757fa8e9e3ccdc43e4499d06271cc2751288040d1d957e
 Size (xf86-video-ati-6.14.6.tar.bz2) = 1139495 bytes
-SHA1 (patch-configure.ac) = a7a99e75acc2f6f962fe7cfed084c7451a89c45c
+SHA1 (patch-configure.ac) = 4558ecd87af3ed7c8c13c66340ccb6c4de835140
 SHA1 (patch-src_AtomBios_CD__Operations.c) = bf368936c44dd3f8daf0d79348783268ad9701e0
 SHA1 (patch-src_atombios__crtc.c) = e6ec24fdc63e3744db9442ab5e12ffe6949eef19
 SHA1 (patch-src_atombios__output.c) = ce3720c1d1cfd1f65023cea2745259af30a59add
+SHA1 (patch-src_compat-api.h) = e01560f8421254acf5fb150872827de7ed0dc08f
 SHA1 (patch-src_legacy__crtc.c) = 6be802fa29797265efeceaadec9607de334dbfc8
 SHA1 (patch-src_r600__exa.c) = 009ff3a42b95c1b1c825c54825316ab31e4fe43c
 SHA1 (patch-src_r600__textured__videofuncs.c) = ec8eca51e27d4f3899d9a5e040f313b92c87d1d0
diff -r ece5f1e4c7ef -r 40bfe2825abf x11/xf86-video-ati6/patches/patch-configure.ac
--- a/x11/xf86-video-ati6/patches/patch-configure.ac    Sun Jan 27 11:04:53 2019 +0000
+++ b/x11/xf86-video-ati6/patches/patch-configure.ac    Sun Jan 27 11:54:57 2019 +0000
@@ -1,4 +1,6 @@
-$NetBSD: patch-configure.ac,v 1.1 2015/04/02 22:16:46 tnn Exp $
+$NetBSD: patch-configure.ac,v 1.2 2019/01/27 11:54:57 tnn Exp $
+
+Remove duplicate bswap definitions, like x11/xf86-video-ati
 
 --- configure.ac.orig  2012-06-29 13:46:11.000000000 +0000
 +++ configure.ac
@@ -31,3 +33,16 @@
  
  # Properly handle EXA.
  AC_MSG_CHECKING([whether to enable EXA support])
+@@ -309,12 +329,6 @@ b = bswap16(a);
+       if test "$USE_SYS_ENDIAN_H" = "yes" ; then
+           AC_DEFINE([USE_SYS_ENDIAN_H], 1, 
+               [Define to use byteswap macros from <sys/endian.h>])
+-          AC_DEFINE_UNQUOTED([bswap_16], ${BSWAP}16, 
+-                      [Define to 16-bit byteswap macro])
+-          AC_DEFINE_UNQUOTED([bswap_32], ${BSWAP}32, 
+-                      [Define to 32-bit byteswap macro])
+-          AC_DEFINE_UNQUOTED([bswap_64], ${BSWAP}64, 
+-                      [Define to 64-bit byteswap macro])
+       fi
+ fi
+ 
diff -r ece5f1e4c7ef -r 40bfe2825abf x11/xf86-video-ati6/patches/patch-src_compat-api.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xf86-video-ati6/patches/patch-src_compat-api.h        Sun Jan 27 11:54:57 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_compat-api.h,v 1.1 2019/01/27 11:54:57 tnn Exp $
+
+Adapt to current server API
+
+--- src/compat-api.h.orig      2012-06-15 13:26:20.000000000 +0000
++++ src/compat-api.h
+@@ -73,8 +73,8 @@
+ 
+ #define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv
+ 
+-#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask
+-#define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask
++#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout
++#define BLOCKHANDLER_ARGS arg, pTimeout
+ 
+ #define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen
+ #define CLOSE_SCREEN_ARGS pScreen



Home | Main Index | Thread Index | Old Index