git: e1a2b43a9d2a - main - math/libfixmath: update g20220915 → 2023.08.08
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 26 Jan 2025 19:59:47 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e1a2b43a9d2a3f32394c874d4b08fab1ee87feda commit e1a2b43a9d2a3f32394c874d4b08fab1ee87feda Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2025-01-26 18:01:14 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2025-01-26 19:59:42 +0000 math/libfixmath: update g20220915 → 2023.08.08 --- math/libfixmath/Makefile | 6 ++-- math/libfixmath/distinfo | 6 ++-- math/libfixmath/files/patch-CMakeLists.txt | 45 +++++++++++++++--------------- 3 files changed, 29 insertions(+), 28 deletions(-) diff --git a/math/libfixmath/Makefile b/math/libfixmath/Makefile index 70419da7eb79..8ead5b459add 100644 --- a/math/libfixmath/Makefile +++ b/math/libfixmath/Makefile @@ -1,5 +1,5 @@ PORTNAME= libfixmath -PORTVERSION= g20220915 +PORTVERSION= 2023.08.08 # release unlikely, project is semi-deprecated, see https://github.com/PetteriAimonen/libfixmath/issues/51#issuecomment-2614311140 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org @@ -13,7 +13,7 @@ USES= cmake:testing compiler:c++11-lang USE_GITHUB= yes GH_ACCOUNT= PetteriAimonen -GH_TAGNAME= 1416c99 +GH_TAGNAME= d308e46 CMAKE_ON= BUILD_SHARED_LIBS @@ -24,4 +24,6 @@ do-install: # library ${INSTALL_LIB} ${BUILD_WRKSRC}/libfixmath.so ${STAGEDIR}${PREFIX}/lib +# tests are broken due to cmake issues + .include <bsd.port.mk> diff --git a/math/libfixmath/distinfo b/math/libfixmath/distinfo index 22ce4ad2a711..b26f0ccd5d9b 100644 --- a/math/libfixmath/distinfo +++ b/math/libfixmath/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1667802450 -SHA256 (PetteriAimonen-libfixmath-g20220915-1416c99_GH0.tar.gz) = 3e9ee9cb4c6aa06763c5be01ae24486ebc888fd51f8412f33424154e78c6eca3 -SIZE (PetteriAimonen-libfixmath-g20220915-1416c99_GH0.tar.gz) = 267430 +TIMESTAMP = 1737913417 +SHA256 (PetteriAimonen-libfixmath-2023.08.08-d308e46_GH0.tar.gz) = f715c54f254eecfe7ba824adaa11724e478d51f5f9e60c0013d87f0c255f3034 +SIZE (PetteriAimonen-libfixmath-2023.08.08-d308e46_GH0.tar.gz) = 268645 diff --git a/math/libfixmath/files/patch-CMakeLists.txt b/math/libfixmath/files/patch-CMakeLists.txt index 0647c6b3251c..1639b21ab4b6 100644 --- a/math/libfixmath/files/patch-CMakeLists.txt +++ b/math/libfixmath/files/patch-CMakeLists.txt @@ -1,28 +1,27 @@ ---- CMakeLists.txt.orig 2022-09-15 10:24:31 UTC +--- CMakeLists.txt.orig 2023-08-08 06:08:53 UTC +++ CMakeLists.txt -@@ -11,17 +11,23 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra -Werror=return-type") +@@ -14,16 +14,22 @@ if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) - include(libfixmath/libfixmath.cmake) -+if (BUILD_TESTING) - include(tests/tests.cmake) -+endif() + if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) + # We're in the root, define additional targets for developers. ++ if (BUILD_TESTING) + include(tests/tests.cmake) ++ endif() - file(GLOB fixsingen-srcs fixsingen/*.c) -+if (BUILD_TESTING) - file(GLOB fixtest-srcs fixtest/*.c fixtest/*.h) -+endif() - -+if (BUILD_TESTING) - add_executable(fixtest ${fixtest-srcs}) --target_link_libraries(fixtest PRIVATE libfixmath m) -+target_link_libraries(fixtest PRIVATE fixmath m) - target_include_directories(fixtest PRIVATE ${CMAKE_SOURCE_DIR}) -+endif() - - add_executable(fixsingen ${fixsingen-srcs}) --target_link_libraries(fixsingen PRIVATE libfixmath m) -+target_link_libraries(fixsingen PRIVATE fixmath m) - target_include_directories(fixsingen PRIVATE ${CMAKE_SOURCE_DIR}) + file(GLOB fixsingen-srcs fixsingen/*.c) ++ if (BUILD_TESTING) + file(GLOB fixtest-srcs fixtest/*.c fixtest/*.h) ++ endif() ++ if (BUILD_TESTING) + add_executable(fixtest ${fixtest-srcs}) +- target_link_libraries(fixtest PRIVATE libfixmath m) ++ target_link_libraries(fixtest PRIVATE m) + target_include_directories(fixtest PRIVATE ${CMAKE_SOURCE_DIR}) ++ endif() + add_executable(fixsingen ${fixsingen-srcs}) +- target_link_libraries(fixsingen PRIVATE libfixmath m) ++ target_link_libraries(fixsingen PRIVATE m) + target_include_directories(fixsingen PRIVATE ${CMAKE_SOURCE_DIR}) + endif()