mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Add patches to find dict/words in the right location.
This commit is contained in:
parent
d4bfe817b9
commit
ec965f1498
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21528
14
x11/xscreensaver/files/patch-ac
Normal file
14
x11/xscreensaver/files/patch-ac
Normal file
@ -0,0 +1,14 @@
|
||||
--- hacks/webcollage.orig Thu Sep 9 20:45:45 1999
|
||||
+++ hacks/webcollage Thu Sep 9 20:46:42 1999
|
||||
@@ -81,6 +81,11 @@
|
||||
if (!-r $wordlist) {
|
||||
$wordlist = "/usr/share/lib/dict/words"; # irix
|
||||
}
|
||||
+
|
||||
+if (!-r $wordlist) {
|
||||
+ $wordlist = "/usr/share/dict/words"; # BSD
|
||||
+}
|
||||
+
|
||||
die "$wordlist doesn't exist!\n" unless (-r $wordlist);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user