void-packages/srcpkgs/zxcvbn-c/patches/cross-run-dictgen.patch
Đoàn Trần Công Danh b0929c194e New package: zxcvbn-c-2.5
2024-03-05 22:12:08 +07:00

15 lines
503 B
Diff

--- a/makefile
+++ b/makefile
@@ -57,10 +57,10 @@ zxcvbn-inline.o: zxcvbn.c dict-src.h zxc
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o zxcvbn-inline.o zxcvbn.c
dict-src.h: dictgen $(WORDS)
- ./dictgen -o dict-src.h $(WORDS)
+ $(VOID_QEMU) ./dictgen -o dict-src.h $(WORDS)
dict-crc.h: dictgen $(WORDS)
- ./dictgen -b -o zxcvbn.dict -h dict-crc.h $(WORDS)
+ $(VOID_QEMU) ./dictgen -b -o zxcvbn.dict -h dict-crc.h $(WORDS)
dictgen: dict-generate.cpp makefile
$(CXX) $(CPPFLAGS) -std=c++11 $(CXXFLAGS) \