summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorGregoire Gentil <gregoire@gentil.com>2009-12-30 16:57:53 +0000
committerKoen Kooi <koen@openembedded.org>2010-01-02 16:50:47 +0100
commiteae7a9e4e8c26dc7ca363a4687a68ce5e02b63ab (patch)
tree5fd9ae3c2489998a90b4ba7314be9004d7c2dbda /recipes
parente197d7b594a1a6aebeb0ec476d88ff0871b7c482 (diff)
xscreensaver 5.07: Fix build with new xorg
Diffstat (limited to 'recipes')
-rw-r--r--recipes/xscreensaver/xscreensaver-5.07/dpms-header.patch10
-rw-r--r--recipes/xscreensaver/xscreensaver_5.07.bb1
2 files changed, 11 insertions, 0 deletions
diff --git a/recipes/xscreensaver/xscreensaver-5.07/dpms-header.patch b/recipes/xscreensaver/xscreensaver-5.07/dpms-header.patch
new file mode 100644
index 0000000000..5ecff4fadc
--- /dev/null
+++ b/recipes/xscreensaver/xscreensaver-5.07/dpms-header.patch
@@ -0,0 +1,10 @@
+--- xscreensaver-5.07/driver/dpms.c 2009-12-29 11:54:19.000000000 -0800
++++ xscreensaver-5.07/driver/dpms.c 2009-12-29 11:54:04.000000000 -0800
+@@ -55,6 +55,7 @@
+
+ # include <X11/Xproto.h>
+ # include <X11/extensions/dpms.h>
++# include <X11/extensions/dpmsstr.h>
+
+ /* Why this crap is not in a header file somewhere, I have no idea. Losers!
+ */
diff --git a/recipes/xscreensaver/xscreensaver_5.07.bb b/recipes/xscreensaver/xscreensaver_5.07.bb
index ab810a7e0e..ba80236f66 100644
--- a/recipes/xscreensaver/xscreensaver_5.07.bb
+++ b/recipes/xscreensaver/xscreensaver_5.07.bb
@@ -4,6 +4,7 @@ PR = "${INC_PR}.0"
SRC_URI = "http://www.jwz.org/xscreensaver/xscreensaver-${PV}.tar.gz \
file://configure.in.patch;patch=1 \
file://glfix.patch;patch=1 \
+ file://dpms-header.patch;patch=1 \
file://XScreenSaver"