summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2008-05-20 13:15:10 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-05-20 13:15:10 +0000
commitac20fb4e211705cb6ed73ca0936fe2dad2fa34ef (patch)
tree310bdfb9b6b9460a92af8ed4f421f70bcf784430
parent6173f7532bb00da9ba3c73be6c51f8de904fc564 (diff)
xserver-xorg-1.3.0.0: Fix compile error by adding a missing header
-rw-r--r--packages/xorg-xserver/xserver-xorg-1.3.0.0/glyphstr.patch10
-rw-r--r--packages/xorg-xserver/xserver-xorg_1.3.0.0.bb3
2 files changed, 12 insertions, 1 deletions
diff --git a/packages/xorg-xserver/xserver-xorg-1.3.0.0/glyphstr.patch b/packages/xorg-xserver/xserver-xorg-1.3.0.0/glyphstr.patch
new file mode 100644
index 0000000000..6955727405
--- /dev/null
+++ b/packages/xorg-xserver/xserver-xorg-1.3.0.0/glyphstr.patch
@@ -0,0 +1,10 @@
+--- xorg-server-1.3.0.0/render/glyphstr.h~ 2006-09-18 03:04:18.000000000 -0300
++++ xorg-server-1.3.0.0/render/glyphstr.h 2008-02-03 22:14:23.187159732 -0200
+@@ -25,6 +25,7 @@
+ #ifndef _GLYPHSTR_H_
+ #define _GLYPHSTR_H_
+
++#include <X11/X.h>
+ #include <X11/extensions/renderproto.h>
+ #include "picture.h"
+ #include "screenint.h"
diff --git a/packages/xorg-xserver/xserver-xorg_1.3.0.0.bb b/packages/xorg-xserver/xserver-xorg_1.3.0.0.bb
index 0a37ab39fd..a9b8afc8b3 100644
--- a/packages/xorg-xserver/xserver-xorg_1.3.0.0.bb
+++ b/packages/xorg-xserver/xserver-xorg_1.3.0.0.bb
@@ -4,7 +4,8 @@ require xorg-xserver-common.inc
PE = "1"
PR = "r4"
-SRC_URI += "file://drmfix.patch;patch=1"
+SRC_URI += "file://drmfix.patch;patch=1 \
+ file://glyphstr.patch;patch=1"
EXTRA_OECONF += " ac_cv_file__usr_share_sgml_X11_defs_ent=no "