summaryrefslogtreecommitdiff
path: root/textproc/dtdparse/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/dtdparse/files/patch-aa')
-rw-r--r--textproc/dtdparse/files/patch-aa20
1 files changed, 20 insertions, 0 deletions
diff --git a/textproc/dtdparse/files/patch-aa b/textproc/dtdparse/files/patch-aa
new file mode 100644
index 000000000000..ebc0c7331257
--- /dev/null
+++ b/textproc/dtdparse/files/patch-aa
@@ -0,0 +1,20 @@
+--- dtdformat.orig Wed Aug 1 23:54:27 2001
++++ dtdformat Tue Jan 29 14:38:09 2002
+@@ -122,16 +122,8 @@
+ require $userlib;
+ }
+ } else {
+- my $plain = $0;
+- $plain =~ s/\\/\//g;
+- if ($plain =~ /\//) {
+- $plain =~ s/^(.*)\/[^\/]+$/$1\/modules\/plain.pl/;
+- } else {
+- $plain = "modules/plain.pl";
+- }
+-
+ &status("Using plain library.",1);
+- require $plain;
++ require 'modules/plain.pl';
+ }
+
+ foreach my $key (keys %option) {