]> git.pld-linux.org Git - packages/qscintilla2.git/blob - qscintilla2-outoftree.patch
- added qt5 patch to fix PyQt5 module build
[packages/qscintilla2.git] / qscintilla2-outoftree.patch
1 --- QScintilla-gpl-2.8.4/Python/configure.py.orig       2014-11-04 16:22:47.229532126 +0100
2 +++ QScintilla-gpl-2.8.4/Python/configure.py    2014-11-07 22:03:55.811128882 +0100
3 @@ -278,7 +278,7 @@
4              return None
5  
6          path = os.path.join(target_configuration.qsci_sip_dir, 'Qsci')
7 -        files = glob.glob('sip/*.sip')
8 +        files = glob.glob(os.path.join(target_configuration.src_dir, 'sip/*.sip'))
9  
10          return path, files
11  
12 @@ -1257,7 +1257,7 @@
13      argv.append('-c')
14      argv.append('.')
15  
16 -    argv.append(module_config.get_sip_file(target_config))
17 +    argv.append(os.path.join(target_config.src_dir, module_config.get_sip_file(target_config)))
18  
19      check_file = 'sipAPI%s.h' % module_config.name
20      _remove_file(check_file)
21 @@ -1611,8 +1611,11 @@
22      line arguments.  module_config is the module configuration.
23      """
24  
25 +    src_dir = os.path.dirname(os.path.abspath(__file__))
26 +
27      # Create the default target configuration.
28      target_config = _TargetConfiguration(module_config)
29 +    target_config.src_dir = src_dir
30  
31      # Parse the command line.
32      p = _create_optparser(target_config, module_config)
This page took 0.055424 seconds and 3 git commands to generate.