summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/kth-krb/files/kth-krb-1.2.2-revoke.patch')
-rw-r--r--app-crypt/kth-krb/files/kth-krb-1.2.2-revoke.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-crypt/kth-krb/files/kth-krb-1.2.2-revoke.patch b/app-crypt/kth-krb/files/kth-krb-1.2.2-revoke.patch
new file mode 100644
index 000000000000..22435a921cdc
--- /dev/null
+++ b/app-crypt/kth-krb/files/kth-krb-1.2.2-revoke.patch
@@ -0,0 +1,20 @@
+--- appl/bsd/forkpty.c.old 2006-05-04 18:06:40.000000000 +0200
++++ appl/bsd/forkpty.c 2006-05-04 18:07:05.000000000 +0200
+@@ -70,7 +70,7 @@
+ #ifndef HAVE_REVOKE
+ static
+ int
+-revoke(const char *line)
++_revoke(const char *line)
+ {
+ int slave;
+ RETSIGTYPE (*ofun)(int);
+@@ -403,7 +403,7 @@
+ if (setsid() < 0)
+ fatal(0, "setsid() failure", errno);
+
+- revoke(slave_name);
++ _revoke(slave_name);
+
+ #if defined(NeXT) || defined(ultrix)
+ /* The NeXT is severely broken, this makes things slightly