mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-07 20:27:02 +01:00
libraries/libqxt: Patch for gcc >= 6.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
935a9e4b71
commit
de4c46419a
2 changed files with 14 additions and 0 deletions
11
libraries/libqxt/libqxt-gcc6.patch
Normal file
11
libraries/libqxt/libqxt-gcc6.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/src/core/qxtslotjob.cpp 2011-11-24 16:10:32.000000000 -0600
|
||||
+++ b/src/core/qxtslotjob.cpp 2016-03-07 16:20:32.758268253 -0600
|
||||
@@ -174,7 +174,7 @@ This uses QxtSignalWaiter so it will _no
|
||||
|
||||
QVariant QxtFuture::delayedResult(int msec)
|
||||
{
|
||||
- if (!waiter->wait(msec, false))
|
||||
+ if (!waiter->wait(msec, NULL))
|
||||
return QVariant();
|
||||
return job->result();
|
||||
}
|
|
@ -74,6 +74,9 @@ find -L . \
|
|||
# Fix linking during the xrandr test
|
||||
sed -i "s|lXrandr$|lXrandr -lX11|" config.tests/xrandr/xrandr.pro
|
||||
|
||||
# Thanks to Archlinux for this
|
||||
patch -p1 < $CWD/libqxt-gcc6.patch
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure -prefix /usr -libdir /usr/lib$LIBDIRSUFFIX
|
||||
|
|
Loading…
Reference in a new issue