linamh/net-misc/nxcompext/files/nxcompext-3.4.0-NXlib-xgetioerror.patch

22 lines
668 B
Diff
Raw Normal View History

#! /bin/sh /usr/share/dpatch/dpatch-run
## 03_NXlib-xgetioerror.dpatch by <mshima@centrino-laptop>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Copied and description at the site:
## DP: http://www.felipe-alfaro.org/blog/2007/11/24/installing-freenx-071-on-ubuntu/
@DPATCH@
diff -urNad nxcompext-3.3.0-2~/NXlib.c nxcompext-3.3.0-2/NXlib.c
--- nxcompext-3.3.0-2~/NXlib.c 2007-11-12 13:01:30.000000000 -0200
+++ nxcompext-3.3.0-2/NXlib.c 2008-11-20 23:13:43.000000000 -0200
@@ -56,6 +56,9 @@
#include "MD5.h"
+#define _XGetIOError(dpy) \
+ (dpy -> flags & XlibDisplayIOError)
+
#define PANIC
#define WARNING
#undef TEST