Use `patch -p0'' instead of `patch -p'' -- the latter invocation

is not working on -current for some reason and pkg-fallout is
unhappy.

Submitted by:	pkg-fallout@
This commit is contained in:
Mikhail Teterin 2013-12-01 18:22:50 +00:00
parent 0c782e2a6f
commit 80399d5d1a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335423

View file

@ -3,8 +3,7 @@
for f in `find $1 -type f -name \*.\[ch\] -print | xargs grep -l malloc.h`
do
patch -p << END_OF_PATCH
--- $f.orig
patch -p0 << END_OF_PATCH
+++ $f
@@ -10,1 +10,1 @@
-#include <malloc.h>