aboutsummaryrefslogtreecommitdiff
path: root/devel/ros-documentation/files/patch-3085
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ros-documentation/files/patch-3085')
-rw-r--r--devel/ros-documentation/files/patch-308524
1 files changed, 24 insertions, 0 deletions
diff --git a/devel/ros-documentation/files/patch-3085 b/devel/ros-documentation/files/patch-3085
new file mode 100644
index 000000000000..6e12ca575fe3
--- /dev/null
+++ b/devel/ros-documentation/files/patch-3085
@@ -0,0 +1,24 @@
+Index: core/roslib/src/roslib/packages.py
+===================================================================
+--- core/roslib/src/roslib/packages.py (revision 11635)
++++ core/roslib/src/roslib/packages.py (working copy)
+@@ -502,7 +502,8 @@
+ if m in files:
+ test_path = os.path.join(p, node_type)
+ s = os.stat(test_path)
+- if (s.st_mode & stat.S_IRWXU == stat.S_IRWXU):
++ if (s.st_mode & (stat.S_IRUSR | stat.S_IXUSR) ==
++ (stat.S_IRUSR | stat.S_IXUSR)):
+ return test_path
+ if '.svn' in dirs:
+ dirs.remove('.svn')
+@@ -514,7 +515,8 @@
+ if node_type in files:
+ test_path = os.path.join(p, node_type)
+ s = os.stat(test_path)
+- if (s.st_mode & stat.S_IRWXU == stat.S_IRWXU):
++ if (s.st_mode & (stat.S_IRUSR | stat.S_IXUSR) ==
++ (stat.S_IRUSR | stat.S_IXUSR)):
+ return test_path
+ if '.svn' in dirs:
+ dirs.remove('.svn')