mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-10 08:01:50 +01:00
- use cracklib-words for test since there is no /usr/share/dict/words in Alpine (really?); - built-in test passes on x86_64 and mipsel at least; - the real motivation was to fix build on mips* (fix-name-collision.patch -- could be safely dropped);
12 lines
309 B
Diff
12 lines
309 B
Diff
--- a/test/rtpw.c
|
|
+++ b/test/rtpw.c
|
|
@@ -93,7 +93,7 @@
|
|
#ifdef RTPW_USE_WINSOCK2
|
|
# define DICT_FILE "words.txt"
|
|
#else
|
|
-# define DICT_FILE "/usr/share/dict/words"
|
|
+# define DICT_FILE "/usr/share/dict/cracklib-words"
|
|
#endif
|
|
#define USEC_RATE (5e5)
|
|
#define MAX_WORD_LEN 128
|