In Ubuntu, we've applied the attached patch to achieve the following:

  * debian/patches/901_fchmod-prototype.patch: glibc now
    includes an fchmod prototype which doesn't match hylafax's.
    (Closes: #565001)

We thought you might be interested in doing the same.
Description: glibc already defines fchmod prototype, but differently, with __THROW.
Author: Stefano Rivera <stefa...@ubuntu.com>
Last-Update: 2010-09-05
Bug: http://bugs.hylafax.org/show_bug.cgi?id=924
Bug-Debian: http://bugs.debian.org/565001
--- a/configure
+++ b/configure
@@ -2881,7 +2881,7 @@
     CheckForFunc fchmod && {
 	echo '#define HAS_FCHMOD 1'
 	Note "... configure use of fchmod"
-	CheckFuncDecl fchmod 'extern int fchmod(int, mode_t);' \
+	CheckFuncDecl fchmod 'extern int fchmod(int, mode_t) __THROW;' \
 	    unistd.h libc.h $OSFCNH sys/stat.h
     }
     CheckFuncDecl mknod 'extern int mknod(const char*, mode_t, dev_t);' \

Reply via email to