net-misc/nxcompext: Initial checkin

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2257 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2010-06-14 21:28:26 +00:00
parent b5b8cce95c
commit d0177bce30
7 changed files with 181 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#! /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