summaryrefslogtreecommitdiff
path: root/devel/clint/files/patch-python_plugin.cc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-01 07:49:16 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-01 07:49:16 +0000
commit66e47a582239d9ba90fd4cf35fdf621dde28012b (patch)
tree520060b75bb84df4705053f38e8ccbeaee177496 /devel/clint/files/patch-python_plugin.cc
parent- Use USE_DOS2UNIX (diff)
- Unbreak on 5.X
PR: ports/106110 Submitted by: Peter Johnson <johnson.peter@gmail.com>
Notes
Notes: svn path=/head/; revision=178437
Diffstat (limited to 'devel/clint/files/patch-python_plugin.cc')
-rw-r--r--devel/clint/files/patch-python_plugin.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/clint/files/patch-python_plugin.cc b/devel/clint/files/patch-python_plugin.cc
new file mode 100644
index 000000000000..15f50a49b9b5
--- /dev/null
+++ b/devel/clint/files/patch-python_plugin.cc
@@ -0,0 +1,15 @@
+--- plugins/python/python_plugin.cc.orig Mon Apr 16 13:23:28 2001
++++ plugins/python/python_plugin.cc Thu Nov 30 22:35:49 2006
+@@ -51,11 +51,11 @@
+ rules.push_back( rule );
+ }
+ }
++ closedir(curdir);
+ } else {
+ // There is something wrong with the directory. Probably doesn't
+ // exist
+ }
+- closedir(curdir);
+ return;
+ }
+