From ae47ba445c632ec4cfac54d3f28a704b2ca5f221 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 27 Sep 2013 15:50:08 +0200 Subject: [PATCH] python-gyp: Fix no-xcode.patch for Darwin. The last hunk of the patch doesn't apply anymore and causes a build failure on Darwin systems: https://hydra.nixos.org/build/6294943 Fixed the hunk manually. Signed-off-by: aszlig --- pkgs/development/python-modules/gyp/no-xcode.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/gyp/no-xcode.patch b/pkgs/development/python-modules/gyp/no-xcode.patch index 951be7b005ac..eb33a2b9987c 100644 --- a/pkgs/development/python-modules/gyp/no-xcode.patch +++ b/pkgs/development/python-modules/gyp/no-xcode.patch @@ -56,11 +56,11 @@ index b2aab986a427d5285d70558bf97f0a42bfe1556e..20592c73fae660009aac621097cf3c4f l = '-l' + m.group(1) else: l = library -- return l.replace('$(SDKROOT)', self._SdkPath()) +- return l.replace('$(SDKROOT)', self._SdkPath(config_name)) + if self._SdkPath(): -+ return l.replace('$(SDKROOT)', self._SdkPath()) ++ return l.replace('$(SDKROOT)', self._SdkPath(config_name)) + else: + return l - def AdjustLibraries(self, libraries): + def AdjustLibraries(self, libraries, config_name=None): """Transforms entries like 'Cocoa.framework' in libraries into entries like