diff options
author | Sebastian Pipping <sping@gentoo.org> | 2012-03-22 14:04:19 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2012-03-22 14:04:19 +0000 |
commit | 78918a8e7f52def7be2022319b75fa552293dd49 (patch) | |
tree | 403cd7a231b2f10a9a7bad078d7956d4be93f951 /app-misc/spacenavd/files | |
parent | Stable for amd64, wrt bug #408161 (diff) | |
download | gentoo-2-78918a8e7f52def7be2022319b75fa552293dd49.tar.gz gentoo-2-78918a8e7f52def7be2022319b75fa552293dd49.tar.bz2 gentoo-2-78918a8e7f52def7be2022319b75fa552293dd49.zip |
app-misc/spacenavd:Fix compilation for USE=-X (bug #409143)
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/spacenavd/files')
-rw-r--r-- | app-misc/spacenavd/files/spacenavd-0.5-no-x11.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-misc/spacenavd/files/spacenavd-0.5-no-x11.patch b/app-misc/spacenavd/files/spacenavd-0.5-no-x11.patch new file mode 100644 index 000000000000..bbdd7d6196ec --- /dev/null +++ b/app-misc/spacenavd/files/spacenavd-0.5-no-x11.patch @@ -0,0 +1,13 @@ +diff -Npur spacenavd-0.5.old/src/event.c spacenavd-0.5/src/event.c +--- src/event.c 2012-03-21 22:15:37.093401293 +0100 ++++ src/event.c 2012-03-21 22:14:10.734401301 +0100 +@@ -20,7 +20,9 @@ along with this program. If not, see <h + #include <stdlib.h> + #include "event.h" + #include "client.h" ++#ifdef USE_X11 + #include "proto_x11.h" ++#endif + #include "proto_unix.h" + #include "spnavd.h" + |