about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2019-06-01 14:35:49 +0200
committerMichael Weiss <dev.primeos@gmail.com>2019-06-04 22:03:34 +0200
commit28556f054f37510da5a0ebfe7fd2af7c20d3e8e3 (patch)
tree39b18ec36f069e994063b6f62202774955eab73a /pkgs/tools
parentf8d26961de4e4e20811c4eed0db0412abc84c505 (diff)
downloadnixlib-28556f054f37510da5a0ebfe7fd2af7c20d3e8e3.tar
nixlib-28556f054f37510da5a0ebfe7fd2af7c20d3e8e3.tar.gz
nixlib-28556f054f37510da5a0ebfe7fd2af7c20d3e8e3.tar.bz2
nixlib-28556f054f37510da5a0ebfe7fd2af7c20d3e8e3.tar.lz
nixlib-28556f054f37510da5a0ebfe7fd2af7c20d3e8e3.tar.xz
nixlib-28556f054f37510da5a0ebfe7fd2af7c20d3e8e3.tar.zst
nixlib-28556f054f37510da5a0ebfe7fd2af7c20d3e8e3.zip
tdesktop: 1.7.0 -> 1.7.3
GCC 8.x is required to avoid the following error:

cc1plus: error: -Werror=class-memaccess: no option -Wclass-memaccess

If we build without "-Wno-error=class-memaccess" the build should fail
and the upstream requirements were raised from GCC 7 to GCC 8 anyway:
https://github.com/telegramdesktop/tdesktop/commit/b2f821d3deb65ade7416d28a18148176f6c40b34

The two additional patches are required to avoid build errors like this:

/build/source/Telegram/ThirdParty/qtlottie/src/bodymovin/bmbase.cpp:123:12:
error: invalid use of incomplete type 'class QDebug'
   qWarning()
            ^
In file included from
/nix/store/1qk60bhxcf95iicms7mkyjq3h7lz136p-qtbase-5.12.0-dev/include/QtCore/qglobal.h:1200,
                 from
/nix/store/1qk60bhxcf95iicms7mkyjq3h7lz136p-qtbase-5.12.0-dev/include/QtCore/qalgorithms.h:43,
                 from
/nix/store/1qk60bhxcf95iicms7mkyjq3h7lz136p-qtbase-5.12.0-dev/include/QtCore/qlist.h:43,
                 from
/nix/store/1qk60bhxcf95iicms7mkyjq3h7lz136p-qtbase-5.12.0-dev/include/QtCore/QList:1,
                 from
/build/source/Telegram/ThirdParty/qtlottie/src/bodymovin/bmbase.h:31,
                 from
/build/source/Telegram/ThirdParty/qtlottie/src/bodymovin/bmbase.cpp:29:
/nix/store/1qk60bhxcf95iicms7mkyjq3h7lz136p-qtbase-5.12.0-dev/include/QtCore/qlogging.h:57:7:
note: forward declaration of 'class QDebug'
 class QDebug;
       ^~~~~~
Diffstat (limited to 'pkgs/tools')
0 files changed, 0 insertions, 0 deletions