Date: Wednesday, December 22, 2021 @ 21:19:16 Author: foutrelis Revision: 1082918
Fix build (missing include) Added: mixxx/trunk/add-missing-include.patch Modified: mixxx/trunk/PKGBUILD ---------------------------+ PKGBUILD | 14 +++++++++++--- add-missing-include.patch | 11 +++++++++++ 2 files changed, 22 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-12-22 21:16:38 UTC (rev 1082917) +++ PKGBUILD 2021-12-22 21:19:16 UTC (rev 1082918) @@ -21,10 +21,18 @@ 'lv2' 'qt5-tools' 'portaudio' 'portmidi' 'protobuf' 'rubberband' 'vamp-plugin-sdk') checkdepends=('xorg-server-xvfb') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}dj/${pkgname}/archive/${pkgver}.tar.gz") -sha512sums=('17cf8dee2aaca2ed85067474d40b0955abd22268767a9c68dbc8126554e6b216ddab9a42b6c888606aca61fdcccccda3062f5b4f1f550722c5033c516e046816') -b2sums=('08edfe19f5d0f16072762c3800e34ff37dcad478bde04356b0aae6a02ab99b115a5d1e8a33846f7f142228860bb5b19ded16b52dd464e4738462f6634b9fd6be') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}dj/${pkgname}/archive/${pkgver}.tar.gz" + add-missing-include.patch) +sha512sums=('17cf8dee2aaca2ed85067474d40b0955abd22268767a9c68dbc8126554e6b216ddab9a42b6c888606aca61fdcccccda3062f5b4f1f550722c5033c516e046816' + '3a3de0ca03652cb203c5627f37f7cf1fa661f8f0adb542f2569feff61d39232f9eb92e4ba86bae044dfd10c915d65fac6bd9330c93893643633dce0ccc45321c') +b2sums=('08edfe19f5d0f16072762c3800e34ff37dcad478bde04356b0aae6a02ab99b115a5d1e8a33846f7f142228860bb5b19ded16b52dd464e4738462f6634b9fd6be' + 'ff844bb91a284883e54daf3912962cc256bbabc530c2dff9693081165ecf4e7b85f70fb6a49691b5dedb91347b038fc69ea3e78a81f51bd1869c502eaaf22848') +prepare() { + cd "${pkgname}-${pkgver}" + patch -Np1 -i ../add-missing-include.patch +} + build() { cd "${pkgname}-${pkgver}" cmake -DCMAKE_INSTALL_PREFIX=/usr \ Added: add-missing-include.patch =================================================================== --- add-missing-include.patch (rev 0) +++ add-missing-include.patch 2021-12-22 21:19:16 UTC (rev 1082918) @@ -0,0 +1,11 @@ +diff -upr mixxx-2.3.1.orig/lib/benchmark/src/benchmark_register.h mixxx-2.3.1/lib/benchmark/src/benchmark_register.h +--- mixxx-2.3.1.orig/lib/benchmark/src/benchmark_register.h 2021-09-29 16:23:02.000000000 +0300 ++++ mixxx-2.3.1/lib/benchmark/src/benchmark_register.h 2021-12-22 23:15:18.935803347 +0200 +@@ -1,6 +1,7 @@ + #ifndef BENCHMARK_REGISTER_H + #define BENCHMARK_REGISTER_H + ++#include <limits> + #include <vector> + + #include "check.h"