[vlc-commits] contrib: d3d9: fix patch file path

Zhao Zhili git at videolan.org
Fri Jan 8 07:17:37 UTC 2021


vlc/vlc-3.0 | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Thu Dec 31 14:02:00 2020 +0100| [ef615ff0cb6390656e84f7218c561e21bc4c39d8] | committer: Steve Lhomme

contrib: d3d9: fix patch file path

Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=ef615ff0cb6390656e84f7218c561e21bc4c39d8
---

 contrib/src/d3d9/rules.mak | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/src/d3d9/rules.mak b/contrib/src/d3d9/rules.mak
index b3b3b61aea..13b41b35db 100644
--- a/contrib/src/d3d9/rules.mak
+++ b/contrib/src/d3d9/rules.mak
@@ -36,11 +36,11 @@ $(TARBALLS)/dxva2api.idl:
 
 $(DST_D3D9CAPS_H): $(TARBALLS)/d3d9caps.h .sum-d3d9
 	mkdir -p -- "$(PREFIX)/include/"
-	cd $(TARBALLS) && patch -fp1 < $(SRC)/d3d9/d3d9caps.patch -o $@
+	(cd $(TARBALLS) && patch -fp1 -o $@) < $(SRC)/d3d9/d3d9caps.patch
 
 $(DST_D3D9_H): $(TARBALLS)/d3d9.h .sum-d3d9
 	mkdir -p -- "$(PREFIX)/include/"
-	cd $(TARBALLS) && patch -fp1 < $(SRC)/d3d9/d3d9.patch -o $@
+	(cd $(TARBALLS) && patch -fp1 -o $@) < $(SRC)/d3d9/d3d9.patch
 
 dxva2api/dxva2api.idl: .sum-d3d9
 	mkdir -p dxva2api



More information about the vlc-commits mailing list