1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-14 15:59:18 -04:00
ports/devel/scons/files/patch-scanner-__init__.py
Pav Lucistnik bf708b7ae2 - Add patches to fix build of blender-devel. Other scons using ports
were tested to continue working.

PR:		ports/79064
Submitted by:	Michal Varga <varga@stonehenge.sk>
Approved by:	maintainer timeout (14 days)
Obtained from:	scons CVS
2005-04-04 21:57:07 +00:00

24 lines
909 B
Python

--- engine/SCons/Scanner/__init__.py.orig Wed Feb 16 03:12:10 2005
+++ engine/SCons/Scanner/__init__.py Tue Mar 1 22:00:50 2005
@@ -338,9 +338,7 @@
def find_include(self, include, source_dir, path):
"__cacheable__"
if callable(path): path = path()
- n = SCons.Node.FS.find_file(include,
- (source_dir,) + tuple(path),
- SCons.Node.FS.File)
+ n = SCons.Node.FS.find_file(include, (source_dir,) + tuple(path))
return n, include
def sort_key(self, include):
@@ -398,9 +396,7 @@
else:
paths = Binder( tuple(path) + (source_dir,) )
- n = SCons.Node.FS.find_file(include[1],
- paths,
- self.fs.File)
+ n = SCons.Node.FS.find_file(include[1], paths)
return n, include[1]