tags 318516 patch
thanks

Here is a tested patch to fix this problem.  Note that I believe GCC has
since been modified to make this a warning rather than a hard error, which
means that this bug may no longer cause a FTBFS, but the patch should
really be applied regardless.  I haven't verified that the FTBFS is gone
without this patch, only with it.

For those curious, the problem is that glibc prototypes revoke but doesn't
actually provide it (instead, it provides a stub function that always
fails).  So krb4 correctly tries to build its own replacement revoke
function, but the static declaration conflicts with the glibc shared
declaration.

diff -Nru3 ./krb4-1.2.2/appl/bsd/forkpty.c 
../build-tree.new/krb4-1.2.2/appl/bsd/forkpty.c
--- ./krb4-1.2.2/appl/bsd/forkpty.c     2001-08-25 20:42:05.000000000 -0700
+++ ../build-tree.new/krb4-1.2.2/appl/bsd/forkpty.c     2005-08-16 
13:15:42.000000000 -0700
@@ -68,7 +68,6 @@
 #endif
 
 #ifndef HAVE_REVOKE
-static
 int
 revoke(const char *line)
 {

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to