You are not logged in.
Pages: 1
I put patch.diff file into the same folder with PKGBUILD, but I have to write this line in the PKGBUILD to patch file:
patch -p1 < ../../patch.diff
instead of
patch -Np -i ../patch.diff,
but if I use pkg.patch, then I can use the above without problem.
I know makepkg command will uncompress the source tarball into src/pkgname. I am wondering is there any better way to patch a file with diff file.
Thanks for your reply such stupid question.
Offline
patch -p1 < ../../patch.diff
instead of
patch -Np -i ../patch.diff,
is there any better way to patch a file with diff file
You need the name "patch.diff" in the list of files on the PKGBUILD line that begins with "source="
That will cause your patch file to be copied into the working directory.
The sturgeon general says don't smoke fish
Offline
Pages: 1