openbsd-ports/x11/i3/patches/patch-include_log_h

18 lines
540 B
Plaintext
Raw Normal View History

2012-09-21 17:16:13 +00:00
$OpenBSD: patch-include_log_h,v 1.2 2012/09/21 17:16:14 dcoppa Exp $
2012-05-09 11:56:49 +00:00
OpenBSD lacks POSIX shared memory support (shm_open() and friends)
2012-09-21 17:16:13 +00:00
--- 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__)
2012-05-09 11:56:49 +00:00
extern char *errorfilename;
+#if !defined(__OpenBSD__)
extern char *shmlogname;
extern int shmlog_size;
+#endif
/**
* Initializes logging by creating an error logfile in /tmp (or