From 5f604c0f41ef7e8c50021cd58993d06a89c9fd6e Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Sun, 2 Jun 2024 20:45:26 -0500 Subject: user/xf86-video-intel: add patch for '-fno-common' Closes: #1187 --- user/xf86-video-intel/fno-common.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 user/xf86-video-intel/fno-common.patch (limited to 'user/xf86-video-intel/fno-common.patch') 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?= +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 + -- cgit v1.2.3-70-g09d2