mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
editors/libreoffice: unbreak with boost 1.69
sfx2/source/appl/shutdownicon.cxx:170:12: error: no viable conversion from returned value of type 'boost::logic::tribool' to function return type 'bool' return loaded; ^~~~~~ PR: 232525
This commit is contained in:
parent
5d384d1704
commit
d27638a1de
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482786
17
editors/libreoffice/files/patch-boost-1.69
Normal file
17
editors/libreoffice/files/patch-boost-1.69
Normal file
@ -0,0 +1,17 @@
|
||||
After https://github.com/boostorg/logic/commit/23cd89d4c80f build fails:
|
||||
|
||||
sfx2/source/appl/shutdownicon.cxx:170:12: error: no viable conversion from returned value of type 'boost::logic::tribool' to function return type 'bool'
|
||||
return loaded;
|
||||
^~~~~~
|
||||
|
||||
--- sfx2/source/appl/shutdownicon.cxx.orig 2018-06-19 22:27:30 UTC
|
||||
+++ sfx2/source/appl/shutdownicon.cxx
|
||||
@@ -167,7 +167,7 @@ bool LoadModule()
|
||||
#endif // ENABLE_QUICKSTART_APPLET
|
||||
}
|
||||
assert(!boost::logic::indeterminate(loaded));
|
||||
- return loaded;
|
||||
+ return bool{loaded};
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user