Obsolete VTE pre-2.91 ABI
[oi-userland.git] / components / x11 / xorg-server / patches / 25-16418361.patch
blob8a6c6508fd48fbfccaa216447f13e428b10c05e8
1 diff --git a/hw/xfree86/utils/cvt/cvt.c b/hw/xfree86/utils/cvt/cvt.c
2 index 9483964..752b35c 100644
3 --- a/hw/xfree86/utils/cvt/cvt.c
4 +++ b/hw/xfree86/utils/cvt/cvt.c
5 @@ -23,6 +23,16 @@
7 /* Standalone VESA CVT standard timing modelines generator. */
10 +/* These are needed for building the standalone cvt utility using code that
11 + was built against headers expecting these to be defined in dix/regions.o
12 + Oracle bug 16418361 */
13 +#if (defined(__sparc__) || defined(__sparc))
14 +#include "regionstr.h"
15 +_X_EXPORT BoxRec RegionEmptyBox = { 0, 0, 0, 0 };
16 +_X_EXPORT RegDataRec RegionEmptyData = { 0, 0 };
17 +#endif
19 #include "xf86.h"
21 /* FatalError implementation used by the server code we built in */