[vlc-devel] [PATCH] contrib: d3d9: fix patch file path

Zhao Zhili quinkblack at foxmail.com
Thu Dec 31 13:02:00 UTC 2020


---
 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
-- 
2.25.1



More information about the vlc-devel mailing list