[prev in list] [next in list] [prev in thread] [next in thread] 

List:       inn-workers
Subject:    Re: Odd issue with pod2man when building on Fedora build server
From:       Jochen Schmitt <Jochen () herr-schmitt ! de>
Date:       2013-05-28 16:38:19
Message-ID: 20130528163819.GA1585 () omega ! in ! herr-schmitt ! de
[Download RAW message or body]

On Mon, May 27, 2013 at 07:50:12PM +0200, Julien =C9LIE 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
_______________________________________________
inn-workers mailing list
inn-workers@lists.isc.org
https://lists.isc.org/mailman/listinfo/inn-workers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic