python.pkgs.pysideShiboken: fix gcc6 build
This commit is contained in:
18
pkgs/development/python-modules/pyside/gcc6.patch
Normal file
18
pkgs/development/python-modules/pyside/gcc6.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
--- Shiboken-1.2.4.org/tests/libsample/simplefile.cpp 2017-08-26 09:06:27.216859143 +0100
|
||||
+++ Shiboken-1.2.4/tests/libsample/simplefile.cpp 2017-08-26 09:05:40.037029652 +0100
|
||||
@@ -90,13 +90,13 @@
|
||||
SimpleFile::exists() const
|
||||
{
|
||||
std::ifstream ifile(p->m_filename);
|
||||
- return ifile;
|
||||
+ return (bool)ifile;
|
||||
}
|
||||
|
||||
bool
|
||||
SimpleFile::exists(const char* filename)
|
||||
{
|
||||
std::ifstream ifile(filename);
|
||||
- return ifile;
|
||||
+ return (bool)ifile;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user