DragonFly BSD
DragonFly bugs List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: apache2 build with gcc 3.4 fails


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Fri, 10 Dec 2004 17:04:15 +0900

On Thu, Nov 11, 2004 at 11:05:39AM +0100, Jeroen Ruigrok/asmodai wrote:
> -On [20041111 07:22], Jeroen Ruigrok/asmodai (asmodai@xxxxxx) wrote:
> >It is even more funny since I have already resolved this issue with the
> >Apache guys.  At least, I hope they finally adjusted the code by now.  Need
> >to check.
> 
> http://issues.apache.org/bugzilla/show_bug.cgi?id=29858
> 
> Looks like they didn't.

This is fixed on trunk at version 106850(hey, they've migrated to subversion!)
However, it seems that the fix hasn't been backported to branches yet, and
the following small change is still needed to compile it with gcc34.

--- sendrecv.c.orig	2004-12-10 16:52:29.000000000 +0900
+++ sendrecv.c	2004-12-10 16:52:46.000000000 +0900
@@ -387,7 +387,7 @@
     return rv < 0 ? errno : APR_SUCCESS;
 }
 
-#elif defined(__FreeBSD__)
+#elif defined(__DragonFly__) || defined(__FreeBSD__)
 
 /* Release 3.1 or greater */
 apr_status_t apr_socket_sendfile(apr_socket_t * sock, apr_file_t * file,



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]