89d4c18cd6
initial port, most things appear to work after fixes to handle new gd, to get plugins to work, and to fix xlib output). Set up as a MULTI_PACKAGES so that we can sort further components into distinct parts later.
18 lines
598 B
Plaintext
18 lines
598 B
Plaintext
$OpenBSD: patch-plugin_xlib_gvdevice_xlib_c,v 1.1 2007/02/20 11:47:07 espie Exp $
|
|
--- plugin/xlib/gvdevice_xlib.c.orig2 Tue Feb 20 12:08:22 2007
|
|
+++ plugin/xlib/gvdevice_xlib.c Tue Feb 20 12:09:06 2007
|
|
@@ -493,11 +493,13 @@ static void finalize_xlib(GVJ_t *firstjo
|
|
bool watching_p = FALSE;
|
|
static char *dir;
|
|
char *p, *cwd = NULL;
|
|
+#endif
|
|
|
|
dpy = (Display *)(firstjob->display);
|
|
scr = firstjob->screen;
|
|
keycodes = firstjob->keycodes;
|
|
|
|
+#ifdef HAVE_SYS_INOTIFY_H
|
|
inotify_fd = inotify_init();
|
|
if (inotify_fd < 0) {
|
|
fprintf(stderr,"inotify_init() failed\n");
|