diff options
Diffstat (limited to 'sci-visualization/opendx/files/opendx-4.4.4-null.patch')
-rw-r--r-- | sci-visualization/opendx/files/opendx-4.4.4-null.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sci-visualization/opendx/files/opendx-4.4.4-null.patch b/sci-visualization/opendx/files/opendx-4.4.4-null.patch deleted file mode 100644 index 5d3022a3a9d1..000000000000 --- a/sci-visualization/opendx/files/opendx-4.4.4-null.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -up dx-4.4.4/src/exec/libdx/xwindow.c.null dx-4.4.4/src/exec/libdx/xwindow.c ---- dx-4.4.4/src/exec/libdx/xwindow.c.null 2000-06-12 07:45:40.000000000 +0200 -+++ dx-4.4.4/src/exec/libdx/xwindow.c 2009-11-08 15:10:13.000000000 +0100 -@@ -29,7 +29,9 @@ Error - DXRegisterWindowHandlerWithCheckProc(Error (*proc) (int, Pointer), - int (*check)(int, Pointer), Display *d, Pointer arg) - { -- int fd = ConnectionNumber(d); -+ int fd; -+ if (d) fd = ConnectionNumber(d); -+ else return ERROR; - - if (! DXRegisterInputHandlerWithCheckProc(proc, check, fd, arg)) - return ERROR; |