summaryrefslogtreecommitdiff
path: root/textproc/asciidoc
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2008-12-04 04:05:39 +0000
committerminskim <minskim@pkgsrc.org>2008-12-04 04:05:39 +0000
commitbbf252ddcf5750d614480f79948d327f41c276f4 (patch)
treec536ab6904879638c67c28d63425081bfab4a0b5 /textproc/asciidoc
parentbfb1080a21abf860374e2040990a0ed4ecc8bdc5 (diff)
downloadpkgsrc-bbf252ddcf5750d614480f79948d327f41c276f4.tar.gz
Add a patch file, which should have been committed in the previous commit.
Diffstat (limited to 'textproc/asciidoc')
-rw-r--r--textproc/asciidoc/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/asciidoc/patches/patch-ab b/textproc/asciidoc/patches/patch-ab
new file mode 100644
index 00000000000..408721d89ff
--- /dev/null
+++ b/textproc/asciidoc/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2008/12/04 04:05:39 minskim Exp $
+
+--- asciidoc.py.orig 2008-12-03 18:56:53.000000000 -0800
++++ asciidoc.py
+@@ -124,7 +124,7 @@ def file_in(fname, directory):
+ directory = os.getcwd()
+ else:
+ assert os.path.isdir(directory)
+- directory = os.path.abspath(directory)
++ directory = os.path.realpath(directory)
+ fname = os.path.realpath(fname)
+ return os.path.commonprefix((directory, fname)) == directory
+