$NetBSD: patch-ak,v 1.4 1999/12/12 19:06:37 jdolecek Exp $ A bit different patch pulled into KDE2 jdolecek 1999/12/12 --- ./kdm/kdmshutdown.h Fri Sep 4 17:33:00 1998 +++ /usr/pkgsrc/x11/kdebase/work.i386.unpatched/kdebase-1.1.2/kdm/kdmshutdown.h Fri Nov 12 05:10:32 1999 @@ -49,9 +49,21 @@ class KDMShutdown : public FDialog { Q_OBJECT public: +#ifdef __NetBSD__ + KDMShutdown( int mode, QWidget* _parent=0, const char* _name=0, + const char* _shutdown = "/sbin/shutdown -h now", + const char* _restart = "/sbin/shutdown -r now"); +#else /* !__NetBSD__ */ +#ifdef __SVR4 + KDMShutdown( int mode, QWidget* _parent=0, const char* _name=0, + const char* _shutdown = "/usr/sbin/halt", + const char* _restart = "/usr/sbin/reboot"); +#else /* !__SVR4 */ KDMShutdown( int mode, QWidget* _parent=0, const char* _name=0, const char* _shutdown = "/sbin/halt", const char* _restart = "/sbin/reboot"); +#endif /* __SVR4 */ +#endif /* __NetBSD__ */ private slots: void rb_clicked(int); void pw_entered();