summaryrefslogtreecommitdiff
path: root/x11/renderproto9/patches/patch-aa
blob: 16905ae8c30646dcaa19ed26152e64031fc4e29a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-aa,v 1.1.1.1 2010/12/15 09:29:34 abs Exp $

Include X11/X.h, plus adjust RENDER_MINOR down to 9 so at least cairo does not
assume it defines XLinearGradient

--- render.h.orig	2007-08-31 21:42:38.000000000 +0000
+++ render.h
@@ -26,6 +26,8 @@
 #ifndef _RENDER_H_
 #define _RENDER_H_
 
+#include <X11/X.h>
+
 typedef XID		Glyph;
 typedef XID		GlyphSet;
 typedef XID		Picture;
@@ -33,7 +35,7 @@ typedef XID		PictFormat;
 
 #define RENDER_NAME	"RENDER"
 #define RENDER_MAJOR	0
-#define RENDER_MINOR	10
+#define RENDER_MINOR	9
 
 #define X_RenderQueryVersion		    0
 #define X_RenderQueryPictFormats	    1