openbsd-ports/x11/i3/patches/patch-src_x_c
dcoppa 6b4c61c671 Update to i3-4.2
OK jasper@
2012-05-09 11:56:49 +00:00

18 lines
676 B
Plaintext

$OpenBSD: patch-src_x_c,v 1.5 2012/05/09 11:56:49 dcoppa Exp $
OpenBSD lacks POSIX shared memory support (shm_open() and friends)
--- src/x.c.orig Wed Apr 25 23:21:25 2012
+++ src/x.c Wed May 9 12:27:20 2012
@@ -1019,8 +1019,10 @@ void x_set_i3_atoms(void) {
current_socketpath);
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
}
/*