$OpenBSD: patch-src_xfedefs_h,v 1.4 2016/07/01 08:46:52 landry Exp $

Unbreak launching Xfe as root with sudo or su (fix gnuisms)

--- src/xfedefs.h.orig	Tue Nov 24 13:59:56 2015
+++ src/xfedefs.h	Fri Jul  1 09:55:29 2016
@@ -162,11 +162,11 @@
 
 // Command to launch Xfe as root with sudo or su, using Xvt as a terminal
 #ifndef SUDOCMD
-#define SUDOCMD    "-fn 7x14 -geometry 60x4 -e sudo su -c 'nohup xfe >& /dev/null & sleep 1'"
+#define SUDOCMD    "-fn 7x14 -geometry 60x4 -e doas su root -c 'nohup xfe >& /dev/null & sleep 1'"
 #endif
 
 #ifndef SUCMD
-#define SUCMD    "-fn 7x14 -geometry 60x4 -e su -c 'nohup xfe >& /dev/null & sleep 1'"
+#define SUCMD    "-fn 7x14 -geometry 60x4 -e su root -c 'nohup xfe >& /dev/null & sleep 1'"
 #endif
 
 // Tooltips setup time and duration
