pkgsrc/devel/distcc/patches/patch-ab
adam b8bba3c379 Changes 3.1:
* New options: --scan-includes, --disable-Werror
* Document all of the exit codes in the man page.
* Handle "-Wp,-MMD,...".
* Report a better error message if a host specification contains ",cpp"
  but not ",lzo".
* Fix a bug where the "m4" directory wasn't included in the
  source distribution tarball, which caused it to stop working
  if you ran autogen.sh.
* Fixed a bug where the pump script was hard-coding /etc/distcc/hosts
  rather than using the prefix specified to configure.
* Fixed build errors on Gentoo Linux and some other systems.

Changes 3.0:
* New "--without-avahi" option to configure.
* Fixed a problem where pump mode was falling back to local compilation
  when compiling with -I options that refer to a subdirectory of one
  of the default system include directories (Nils Klarlund, Fergus Henderson).
* Allow distcc to distribute commands that use "-MF<filename>"
  rather than "-MF <filename>", and likewise for "-MT<target>".
* Fixed a build problem on ARM and Solaris systems.
* Fixed a build problem on some Linux systems.
* Fixed failure of "make install" on Cygwin.
* Fallback to local compilation for "-march=native" or "mtune=native"
* Fix for deadlock in pump mode.
* New protocol, version 3, allowing for preprocessing on distcc
  servers ("pump" mode).
* New component: an include server for incremental static analysis of include
  dependencies.  This software is written in Python 2.4.
* Support for getting hosts via avahi.
* gcc debug option -d must be run locally because it produces secondary files.
* Improved checking for errors on socket connection.
2009-01-17 13:27:48 +00:00

13 lines
335 B
Text

$NetBSD: patch-ab,v 1.4 2009/01/17 13:27:48 adam Exp $
--- src/sendfile.c.orig 2008-06-20 17:26:04.000000000 +0200
+++ src/sendfile.c
@@ -82,7 +82,7 @@
**/
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || (__DragonFly__)
static ssize_t sys_sendfile(int ofd, int ifd, off_t *offset, size_t size)
{
off_t sent_bytes;