openbsd-ports/x11/i3/patches/patch-src_x_c
2012-12-13 12:10:13 +00:00

18 lines
734 B
Plaintext

$OpenBSD: patch-src_x_c,v 1.10 2012/12/13 12:10:14 dcoppa Exp $
OpenBSD lacks POSIX shared memory support (shm_open() and friends)
--- src/x.c.orig Wed Dec 12 00:08:17 2012
+++ src/x.c Thu Dec 13 09:45:54 2012
@@ -1057,8 +1057,10 @@ void x_set_i3_atoms(void) {
xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, A_I3_PID, XCB_ATOM_CARDINAL, 32, 1, &pid);
xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, A_I3_CONFIG_PATH, A_UTF8_STRING, 8,
strlen(current_configpath), current_configpath);
+#if !defined(__OpenBSD__)
xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, A_I3_SHMLOG_PATH, A_UTF8_STRING, 8,
strlen(shmlogname), shmlogname);
+#endif
}
/*