Odd issue with pod2man when building on Fedora build server

Jochen Schmitt Jochen at herr-schmitt.de
Tue May 28 16:38:19 UTC 2013


On Mon, May 27, 2013 at 07:50:12PM +0200, Julien ÉLIE wrote:
> Hi Russ,

> Besides, the patch for Fedora does not currently work because of
> typos in the names:  MADV_SEQUENTAL, POSIX_MADV_SEQENTIAL,
> MADV_SEQUITIAL.

Thank you for this information. I have tried to fix the typos.

It may be nice, if you can review the attached patch.

Best Regards:

Jochen Schmitt

diff -up inn-2.5.2/storage/cnfs/cnfs.h.posix inn-2.5.2/storage/cnfs/cnfs.h
--- inn-2.5.2/storage/cnfs/cnfs.h.posix	2010-03-24 21:10:36.000000000 +0100
+++ inn-2.5.2/storage/cnfs/cnfs.h	2010-06-28 17:33:11.106804964 +0200
@@ -18,4 +18,12 @@ void cnfs_printfiles(FILE *file, TOKEN t
 char *cnfs_explaintoken(const TOKEN token);
 void cnfs_shutdown(void);
 
+/* Patch for POSIX  */
+
+#ifndef MADV_SEQUENTAL
+  #ifdef POSIX_MADV_SEQUENTIAL
+    #define MADV_SEQUENTIAL POSIX_MADV_SEQUENTIAL
+  #endif
+#endif
+
 #endif


More information about the inn-workers mailing list