openbsd-ports/x11/kde/libs3/patches/patch-kdesu_su_h

12 lines
367 B
Plaintext

$OpenBSD: patch-kdesu_su_h,v 1.3 2005/03/29 21:18:36 espie Exp $
--- kdesu/su.h.orig Mon Nov 15 23:43:23 2004
+++ kdesu/su.h Wed Mar 23 09:35:07 2005
@@ -47,6 +47,7 @@ public:
* Checks if a password is needed.
*/
int checkNeedPassword();
+ void setUseSudo(bool sudo);
private:
enum SuErrors { error=-1, ok=0, killme=1, notauthorized=2 } ;