Fix recordmydesktop build under Xorg 7.5
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 31 Oct 2009 00:28:58 +0000 (00:28 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Sat, 31 Oct 2009 00:28:58 +0000 (00:28 +0000)
SVN-Revision: 18243

desktop/apps/recordmydesktop/patches/001-fix-shm-header.patch [new file with mode: 0644]

diff --git a/desktop/apps/recordmydesktop/patches/001-fix-shm-header.patch b/desktop/apps/recordmydesktop/patches/001-fix-shm-header.patch
new file mode 100644 (file)
index 0000000..ec53f4a
--- /dev/null
@@ -0,0 +1,26 @@
+diff --git a/src/rmd_getzpixmap.c b/src/rmd_getzpixmap.c
+index 33c31c2..ef31561 100644
+--- a/src/rmd_getzpixmap.c
++++ b/src/rmd_getzpixmap.c
+@@ -32,7 +32,7 @@
+ #include <X11/Xlib.h>
+ #include <X11/Xlibint.h>
+-#include <X11/extensions/shmstr.h>
++#include <X11/extensions/shmproto.h>
+ #include <X11/extensions/XShm.h>
+diff --git a/src/rmd_update_image.c b/src/rmd_update_image.c
+index 502b859..d8033b5 100644
+--- a/src/rmd_update_image.c
++++ b/src/rmd_update_image.c
+@@ -32,7 +32,7 @@
+ #include "rmd_types.h"
+ #include <X11/Xlibint.h>
+-#include <X11/extensions/shmstr.h>
++#include <X11/extensions/shmproto.h>
+ #include <X11/extensions/XShm.h>