openbsd-ports/x11/i3/patches/patch-include_log_h
dcoppa 38febc9b19 Update to i3-4.3
OK jasper@
2012-09-21 17:16:13 +00:00

18 lines
540 B
Plaintext

$OpenBSD: patch-include_log_h,v 1.2 2012/09/21 17:16:14 dcoppa Exp $
OpenBSD lacks POSIX shared memory support (shm_open() and friends)
--- include/log.h.orig Wed Sep 19 18:08:09 2012
+++ include/log.h Thu Sep 20 14:12:10 2012
@@ -28,8 +28,10 @@
#define DLOG(fmt, ...) debuglog("%s:%s:%d - " fmt, I3__FILE__, __FUNCTION__, __LINE__, ##__VA_ARGS__)
extern char *errorfilename;
+#if !defined(__OpenBSD__)
extern char *shmlogname;
extern int shmlog_size;
+#endif
/**
* Initializes logging by creating an error logfile in /tmp (or