#! /bin/sh /usr/share/dpatch/dpatch-run ## 03_NXlib-xgetioerror.dpatch by ## ## 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