summaryrefslogtreecommitdiff
path: root/user/xf86-video-intel/fno-common.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2024-06-02 20:45:26 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-07 10:08:10 -0500
commit5f604c0f41ef7e8c50021cd58993d06a89c9fd6e (patch)
treefc2ab3e4067bc8fa28f57d8c35d0f34a65b594a1 /user/xf86-video-intel/fno-common.patch
parent9a59714f61a458c115b7c7d54df7b05bc5538de7 (diff)
downloadpackages-5f604c0f41ef7e8c50021cd58993d06a89c9fd6e.tar.gz
packages-5f604c0f41ef7e8c50021cd58993d06a89c9fd6e.tar.bz2
packages-5f604c0f41ef7e8c50021cd58993d06a89c9fd6e.tar.xz
packages-5f604c0f41ef7e8c50021cd58993d06a89c9fd6e.zip
user/xf86-video-intel: add patch for '-fno-common'
Closes: #1187
Diffstat (limited to 'user/xf86-video-intel/fno-common.patch')
-rw-r--r--user/xf86-video-intel/fno-common.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/user/xf86-video-intel/fno-common.patch b/user/xf86-video-intel/fno-common.patch
new file mode 100644
index 000000000..5c0640f9f
--- /dev/null
+++ b/user/xf86-video-intel/fno-common.patch
@@ -0,0 +1,24 @@
+From 7ca3a0d0d9a2de49db30708d38195b6585df4ed8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Hanno=20B=C3=B6ck?= <hanno@gentoo.org>
+Date: Sun, 2 Feb 2020 14:18:39 +0100
+Subject: [PATCH] Avoid duplicate definition of I810CopyROP in i810.h and
+ i810_accel.c, fixes compilation with -fno-common/gcc-10.
+
+---
+ src/legacy/i810/i810.h | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/legacy/i810/i810.h b/src/legacy/i810/i810.h
+index 347188c9..901b7e64 100644
+--- a/src/legacy/i810/i810.h
++++ b/src/legacy/i810/i810.h
+@@ -322,6 +322,5 @@ extern void I810InitMC(ScreenPtr pScreen);
+ extern const OptionInfoRec *I810AvailableOptions(int chipid, int busid);
+
+ extern const int I810CopyROP[16];
+-const int I810PatternROP[16];
+
+ #endif /* _I810_H_ */
+--
+2.24.1
+