From 4f458bd23c4c528ce8613b31853461541d020c54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 17 Feb 2021 13:56:17 +0000 Subject: [PATCH] SIGSTKSZ redefined to sysconf(_SC_SIGSTKSZ) causing build failure --- Box2D.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Box2D.spec b/Box2D.spec index ceafa09..3cfb3e6 100644 --- a/Box2D.spec +++ b/Box2D.spec @@ -1,7 +1,7 @@ %global __cmake_in_source_build 1 Name: Box2D Version: 2.4.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A 2D Physics Engine for Games License: zlib @@ -35,7 +35,7 @@ These are the development files. rm -r extern %build -%cmake -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON -DBOX2D_BUILD_TESTBED=OFF . +%cmake -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON -DBOX2D_BUILD_TESTBED=OFF -DBOX2D_BUILD_UNIT_TESTS=OFF . %cmake_build %install @@ -54,6 +54,11 @@ rm -r extern %{_libdir}/cmake/box2d/*.cmake %changelog +* Wed Feb 17 2021 Caolán McNamara - 2.4.1-5 +- disable building BOX2D_BUILD_UNIT_TESTS due to "SIGSTKSZ ... no + longer constant on Linux ... redefined to sysconf(_SC_SIGSTKSZ)" + https://github.com/bminor/glibc/blob/master/NEWS causing build failure + * Wed Feb 17 2021 Caolán McNamara - 2.4.1-4 - reduce unnecessary dependencies