Projects
home:dercol
mixxx-unstable
mixxx.py.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mixxx.py.patch of Package mixxx-unstable
diff -Nur mixxx-release-2.3.0beta_190819.orig/build/mixxx.py mixxx-release-2.3.0beta_190819/build/mixxx.py --- mixxx-release-2.3.0beta_190819.orig/build/mixxx.py 2019-08-17 20:13:50.000000000 +0200 +++ mixxx-release-2.3.0beta_190819/build/mixxx.py 2019-08-19 16:15:36.280032575 +0200 @@ -214,15 +214,18 @@ import subprocess process = subprocess.Popen("%s %s" %(self.env['CC'], '--version'), stdout=subprocess.PIPE, shell=True) # nosec (stdout, stderr) = process.communicate() - self.compiler_is_gcc = 'gcc' in stdout.lower() - self.compiler_is_clang = 'clang' in stdout.lower() + print (stdout) + strstdout=stdout.decode('utf-8'); + self.compiler_is_gcc = 'gcc' in strstdout.lower() + self.compiler_is_clang = 'clang' in strstdout.lower() + # Determine the major compiler version (only GCC) if self.compiler_is_gcc: self.gcc_major_version = None process = subprocess.Popen("%s %s" %(self.env['CC'], '-dumpversion'), stdout=subprocess.PIPE, shell=True) # nosec (stdout, stderr) = process.communicate() - gcc_version = stdout + gcc_version = stdout.decode('utf-8') # If match is None we don't know the version. if not gcc_version is None: version_split = gcc_version.split('.')
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.