summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2018-05-20 07:15:21 +0000
committerwiz <wiz@pkgsrc.org>2018-05-20 07:15:21 +0000
commitb33346d7646d46b1610eb3b360e7d4103b07a239 (patch)
treee5e212c64146274b0f5c46d62da0b1ab1b05acc6 /x11
parent4ed747bfdd0a4df6bd950e73b66156c19d6a3181 (diff)
downloadpkgsrc-b33346d7646d46b1610eb3b360e7d4103b07a239.tar.gz
xf86-video-amdgpu: fix build with modular-xorg-server-1.20.
Diffstat (limited to 'x11')
-rw-r--r--x11/xf86-video-amdgpu/distinfo3
-rw-r--r--x11/xf86-video-amdgpu/patches/patch-configure27
2 files changed, 29 insertions, 1 deletions
diff --git a/x11/xf86-video-amdgpu/distinfo b/x11/xf86-video-amdgpu/distinfo
index 194c03f7346..ff39bb2b2f2 100644
--- a/x11/xf86-video-amdgpu/distinfo
+++ b/x11/xf86-video-amdgpu/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.11 2018/03/15 23:43:17 wiz Exp $
+$NetBSD: distinfo,v 1.12 2018/05/20 07:15:21 wiz Exp $
SHA1 (xf86-video-amdgpu-18.0.1.tar.bz2) = a9c7125eae9870f26afa5167d5683f8d5e1b43c0
RMD160 (xf86-video-amdgpu-18.0.1.tar.bz2) = b8ddf051c0a2e9a8f86eb27cc1aba3f529aeedf0
SHA512 (xf86-video-amdgpu-18.0.1.tar.bz2) = eb3b76240d4e5084d68b5063b5b19ad5f5bb1f93ea9929301d9e17a48ddc1cb713b76529cb93d133b3547fe78ae8a4455f6b15f6ddf88c29349f82bb1a0db1c4
Size (xf86-video-amdgpu-18.0.1.tar.bz2) = 414683 bytes
+SHA1 (patch-configure) = 0434336e8b6fd83ebaa7b0a69f1fc5fbd2b89bf7
diff --git a/x11/xf86-video-amdgpu/patches/patch-configure b/x11/xf86-video-amdgpu/patches/patch-configure
new file mode 100644
index 00000000000..b660a44c1dd
--- /dev/null
+++ b/x11/xf86-video-amdgpu/patches/patch-configure
@@ -0,0 +1,27 @@
+$NetBSD: patch-configure,v 1.1 2018/05/20 07:15:21 wiz Exp $
+
+Avoid redefinition of bswap macros.
+
+--- configure.orig 2018-03-15 15:40:33.000000000 +0000
++++ configure
+@@ -20049,20 +20049,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
+