summaryrefslogtreecommitdiff
path: root/textproc/dtdparse/files
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-02-06 07:37:00 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-02-06 07:37:00 +0000
commita327f891f881c8beb77f18947175871a06f7543f (patch)
tree44082181e31eed947e0f2cfc746ee1880816fe68 /textproc/dtdparse/files
parentUpdate to 1.3 (diff)
Add dtdparse 2.0.b6,
parse a DTD and produce an XML document that represents it. PR: ports/34400 Submitted by: Kimura Fuyuki <fuyuki@mj.0038.net>
Diffstat (limited to 'textproc/dtdparse/files')
-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) {