Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2020 18:29:01 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r559009 - head/www/lighttpd/files
Message-ID:  <202012231829.0BNIT1nw088006@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Dec 23 18:29:00 2020
New Revision: 559009
URL: https://svnweb.freebsd.org/changeset/ports/559009

Log:
  www/lighttpd: fix build on head
  
  head introduces copy_file_range, but doesn't define loff_t.

Added:
  head/www/lighttpd/files/patch-src_mod__webdav.c   (contents, props changed)

Added: head/www/lighttpd/files/patch-src_mod__webdav.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/lighttpd/files/patch-src_mod__webdav.c	Wed Dec 23 18:29:00 2020	(r559009)
@@ -0,0 +1,11 @@
+--- src/mod_webdav.c.orig	2020-12-23 18:18:24 UTC
++++ src/mod_webdav.c
+@@ -4574,7 +4574,7 @@ mod_webdav_put_deprecated_unsafe_partial_put_compat (r
+         return HANDLER_FINISHED;
+     }
+ 
+-  #ifdef HAVE_COPY_FILE_RANGE
++  #if defined(HAVE_COPY_FILE_RANGE) && !defined(__FreeBSD__)
+     /* use Linux copy_file_range() if available
+      * (Linux 4.5, but glibc 2.27 provides a user-space emulation)
+      * fd_in and fd_out must be on same mount (handled in mod_webdav_put_prep())



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012231829.0BNIT1nw088006>