summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2018-05-20 07:11:10 +0000
committerwiz <wiz@pkgsrc.org>2018-05-20 07:11:10 +0000
commit4ed747bfdd0a4df6bd950e73b66156c19d6a3181 (patch)
treec5c330cf1e861656b38f5db5476014b145376728 /x11
parent69311340004c4a98633b47692e7b19e5ce86458b (diff)
downloadpkgsrc-4ed747bfdd0a4df6bd950e73b66156c19d6a3181.tar.gz
xf86-video-ati: Fix build with modular-xorg-server-1.20
Diffstat (limited to 'x11')
-rw-r--r--x11/xf86-video-ati/distinfo3
-rw-r--r--x11/xf86-video-ati/patches/patch-configure27
2 files changed, 29 insertions, 1 deletions
diff --git a/x11/xf86-video-ati/distinfo b/x11/xf86-video-ati/distinfo
index 0e910617f08..c70eb30a0b2 100644
--- a/x11/xf86-video-ati/distinfo
+++ b/x11/xf86-video-ati/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.33 2018/03/15 23:45:25 wiz Exp $
+$NetBSD: distinfo,v 1.34 2018/05/20 07:11:10 wiz Exp $
SHA1 (xf86-video-ati-18.0.1.tar.bz2) = b5a0b6a2fa839d668a3fb90280fede95f0bc130d
RMD160 (xf86-video-ati-18.0.1.tar.bz2) = 5a60d8a4c06a7d57f4c3f9e7e7ee29a1f0fe3ea7
SHA512 (xf86-video-ati-18.0.1.tar.bz2) = b468a78503a596bbf71a1b91b231ce1fa32908f619ff2dfe249352d046696a3641f2a9ff065e32545fff77100134b4b237591215e78ef885b6509d6b16112d14
Size (xf86-video-ati-18.0.1.tar.bz2) = 881457 bytes
+SHA1 (patch-configure) = bdd1014b215af69c2bb837d36829e12e86eb5764
diff --git a/x11/xf86-video-ati/patches/patch-configure b/x11/xf86-video-ati/patches/patch-configure
new file mode 100644
index 00000000000..5285587a13f
--- /dev/null
+++ b/x11/xf86-video-ati/patches/patch-configure
@@ -0,0 +1,27 @@
+$NetBSD: patch-configure,v 1.1 2018/05/20 07:11:10 wiz Exp $
+
+Remove duplicate definitions - src/radeon.h defines these as well.
+
+--- configure.orig 2018-03-15 16:21:20.000000000 +0000
++++ configure
+@@ -19933,20 +19933,6 @@ $as_echo "$SYS_ENDIAN_BSWAP" >&6; }
+ $as_echo "#define USE_SYS_ENDIAN_H 1" >>confdefs.h
+
+
+-cat >>confdefs.h <<_ACEOF
+-#define bswap_16 ${BSWAP}16
+-_ACEOF
+-
+-
+-cat >>confdefs.h <<_ACEOF
+-#define bswap_32 ${BSWAP}32
+-_ACEOF
+-
+-
+-cat >>confdefs.h <<_ACEOF
+-#define bswap_64 ${BSWAP}64
+-_ACEOF
+-
+ fi
+ fi
+