diff options
Diffstat (limited to 'dev-util/confcache/files/confcache-0.4.2-argquoting.patch')
-rw-r--r-- | dev-util/confcache/files/confcache-0.4.2-argquoting.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-util/confcache/files/confcache-0.4.2-argquoting.patch b/dev-util/confcache/files/confcache-0.4.2-argquoting.patch new file mode 100644 index 000000000000..76de5119fcf1 --- /dev/null +++ b/dev-util/confcache/files/confcache-0.4.2-argquoting.patch @@ -0,0 +1,16 @@ +=== modified file 'confcache' +--- confcache ++++ confcache +@@ -259,6 +259,11 @@ + else: + myc = args[0] + args = [myc] + args[1:] ++ ++ # Make sure that arguments are properly quoted when passed to ./configure to avoid failure ++ # when passing variables like ${LDFLAGS}. ++ args = [ "'" + arg + "'" for arg in args ] ++ + if self.debug: + print "myc,args,",myc,args + # for our sanity, we flush prior to exec. buffering is good, 'cept when it makes things fugly. + |