diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-11-14 23:31:54 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-11-14 23:31:54 +0000 |
commit | 8448e8c24dcccb4fcd074f84072ccc54b19c1467 (patch) | |
tree | 151caf88ae89a5fe55192aedf780828126462188 /sysutils/libgksu/files | |
parent | 84e38ad43ca834fca7305dd93f037987fc3474a2 (diff) | |
download | ports-8448e8c24dcccb4fcd074f84072ccc54b19c1467.tar.gz ports-8448e8c24dcccb4fcd074f84072ccc54b19c1467.zip |
Notes
Diffstat (limited to 'sysutils/libgksu/files')
-rw-r--r-- | sysutils/libgksu/files/patch-libgksu_gksu-context.c | 3 | ||||
-rw-r--r-- | sysutils/libgksu/files/patch-libgksu_gksu-run-helper.c | 15 |
2 files changed, 2 insertions, 16 deletions
diff --git a/sysutils/libgksu/files/patch-libgksu_gksu-context.c b/sysutils/libgksu/files/patch-libgksu_gksu-context.c index fbb87b47320a..8c89f66b93ba 100644 --- a/sysutils/libgksu/files/patch-libgksu_gksu-context.c +++ b/sysutils/libgksu/files/patch-libgksu_gksu-context.c @@ -1,6 +1,6 @@ --- libgksu/gksu-context.c.orig Sun Oct 17 21:43:32 2004 +++ libgksu/gksu-context.c Fri Nov 5 01:01:45 2004 -@@ -23,9 +23,13 @@ +@@ -23,9 +24,14 @@ #include <unistd.h> #include <string.h> #include <fcntl.h> @@ -11,6 +11,7 @@ +#include <sys/ioctl.h> +#include <termios.h> +#include <libutil.h> ++#include <signal.h> + +#include <pwd.h> #include <sys/wait.h> diff --git a/sysutils/libgksu/files/patch-libgksu_gksu-run-helper.c b/sysutils/libgksu/files/patch-libgksu_gksu-run-helper.c deleted file mode 100644 index 91ba7703ccda..000000000000 --- a/sysutils/libgksu/files/patch-libgksu_gksu-run-helper.c +++ /dev/null @@ -1,15 +0,0 @@ ---- libgksu/gksu-run-helper.c.orig Thu Sep 30 20:40:25 2004 -+++ libgksu/gksu-run-helper.c Thu Sep 30 19:09:05 2004 -@@ -127,9 +127,9 @@ - chmod (tmpfilename, S_IRUSR|S_IWUSR); - - command = -- g_strdup_printf ("/usr/bin/env -u XAUTHORITY=%s /usr/X11R6/bin/xauth add %s . \"`cat %s.tmp`\" > /dev/null 2>&1; /usr/bin/env -u XAUTHORITY=%s %s", -- xauth_file, xauth_display, -- xauth_file, xauth_file, -+ g_strdup_printf ("/bin/sh -c unset XAUTHORITY; /usr/X11R6/bin/xauth add %s . \"`cat %s.tmp`\" > /dev/null 2>&1; /bin/sh -c unset XAUTHORITY; %s", -+ xauth_display, -+ xauth_file, - argv[1]); - - return_code = system (command); |