diff options
author | wiz <wiz@pkgsrc.org> | 2008-11-15 19:36:09 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2008-11-15 19:36:09 +0000 |
commit | f7ab8891073c4837ce7c75aa9659d7b2fb3e04f1 (patch) | |
tree | df95af4a555da229c6fb1e1a9e810acf86658e3b /sysutils/libgksu/patches/patch-aa | |
parent | bc7a213a6eacd41b17094c4c143cbf5fa0ceb8d6 (diff) | |
download | pkgsrc-f7ab8891073c4837ce7c75aa9659d7b2fb3e04f1.tar.gz |
Initial import of libgksu-2.0.7. I packaged it for Gnome, but currently
it looks like it's not really needed, so it's untested.
GKSu is a library that provides a Gtk+ frontend to su and sudo. It
supports login shells and preserving environment when acting as a
su frontend. It is useful to menu items or other graphical programs
that need to ask a user's password to run another program as another
user.
Diffstat (limited to 'sysutils/libgksu/patches/patch-aa')
-rw-r--r-- | sysutils/libgksu/patches/patch-aa | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/libgksu/patches/patch-aa b/sysutils/libgksu/patches/patch-aa new file mode 100644 index 00000000000..18c0c6154d7 --- /dev/null +++ b/sysutils/libgksu/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/11/15 19:36:09 wiz Exp $ + +--- libgksu/libgksu.c.orig 2008-05-28 00:00:44.000000000 +0000 ++++ libgksu/libgksu.c +@@ -23,7 +23,12 @@ + #include <unistd.h> + #include <string.h> + #include <fcntl.h> ++#ifdef __linux__ + #include <pty.h> ++#endif ++#ifdef __NetBSD__ ++#include <util.h> ++#endif + #include <pwd.h> + #include <sys/types.h> + #include <sys/wait.h> |