summaryrefslogtreecommitdiff
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
commitcb4ce487d4ff79c9c160705f3c66ba48367aacfd (patch)
treec536ab6904879638c67c28d63425081bfab4a0b5
parent3a096e98e767dd42441603da63b5f0e225241d01 (diff)
downloadpkgsrc-cb4ce487d4ff79c9c160705f3c66ba48367aacfd.tar.gz
Add a patch file, which should have been committed in the previous commit.
-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
+