On Thu, 2018-11-29 at 14:57 +0000, Debian Bug Tracking System wrote:
>    * Add upstream patch 02-fsync.

This patch file is completely broken:

> # Upstream patch to fix a performance problem.
> # Closes: #907429
> # URL: https://hg.icculus.org/icculus/physfs/rev/c17f025e7a92
> 
> diff -Naur libphysfs-3.0.1.orig/physfs.c libphysfs-3.0.1/physfs.c
> --- libphysfs-3.0.1.orig/physfs.c       1970-01-01 01:00:00.000000000
> +0100
> +++ libphysfs-3.0.1/physfs.c    2018-11-29 15:05:50.430790919 +0100
> @@ -0,0 +1,44 @@
> +
> +diff -r ece6769c0676 -r c17f025e7a92 src/physfs.c
> +--- a/src/physfs.c     Wed Oct 03 22:40:57 2018 -0400
> ++++ b/src/physfs.c     Tue Nov 27 23:53:33 2018 -0500
> +@@ -2669,7 +2669,6 @@
> + {

This adds a top-level file physfs.c (instead of modifying src/physfs.c)
which contains the text of what looks like the actual intended patch
for src/physfs.c. Obviously adding this new invalid .c file without any
build system changes is just ignored, and does not have any effect on
the build result.

Reply via email to