summaryrefslogtreecommitdiff
path: root/x11/sessreg/patches/patch-ab
blob: c568dd53825807874df870d81787a1c1f95becc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ab,v 1.1 2007/11/23 12:23:40 bjs Exp $

Ugh ... more arbitrary per-OS preprocessor fun; let's replace this
with something we can keep track of more intuitively.

--- sessreg.h.orig	2007-06-11 18:41:04.000000000 -0400
+++ sessreg.h
@@ -86,7 +86,7 @@
 #endif
 
 #ifdef CSRG_BASED
-#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
+#ifdef NO_COLON_ZERO_IN_UTMP
 /* *BSD doesn't like a ':0' type entry in utmp */
 #define NO_UTMP
 #endif