diff options
author | Tyler Veness | 2023-12-11 21:22:26 -0800 |
---|---|---|
committer | Tyler Veness | 2023-12-11 21:22:26 -0800 |
commit | 6098f1f99d1ae60360e738ca02c73ebf55519120 (patch) | |
tree | d27db3522bdb146401a8d42905d808b1bd445db5 | |
parent | d371fefe801d3e130296ce1047e367c387e81af0 (diff) | |
download | aur-6098f1f99d1ae60360e738ca02c73ebf55519120.tar.gz |
upgpkg: wpimath 2024.1.1-beta-4
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | Don_t-treat-warnings-as-errors.patch | 15 | ||||
-rw-r--r-- | PKGBUILD | 6 |
3 files changed, 14 insertions, 13 deletions
@@ -1,6 +1,6 @@ pkgbase = wpimath pkgdesc = WPILib's mathematics and controls library - pkgver = 2024.1.1b3 + pkgver = 2024.1.1b4 pkgrel = 1 url = https://github.com/wpilibsuite/allwpilib arch = x86_64 @@ -12,9 +12,9 @@ pkgbase = wpimath depends = protobuf options = !strip options = staticlibs - source = git+https://github.com/wpilibsuite/allwpilib#tag=v2024.1.1-beta-3 + source = git+https://github.com/wpilibsuite/allwpilib#tag=v2024.1.1-beta-4 source = Don_t-treat-warnings-as-errors.patch md5sums = SKIP - md5sums = 06355c12d930efa26edbbe11f633831a + md5sums = 7a36b8167adea15c6d5be822a5b2a025 pkgname = wpimath diff --git a/Don_t-treat-warnings-as-errors.patch b/Don_t-treat-warnings-as-errors.patch index 9d65f0a649f5..fadd82ca9663 100644 --- a/Don_t-treat-warnings-as-errors.patch +++ b/Don_t-treat-warnings-as-errors.patch @@ -1,12 +1,13 @@ diff --git a/cmake/modules/CompileWarnings.cmake b/cmake/modules/CompileWarnings.cmake -index 93b35b8abf..bf00ad1d3a 100644 +index af21d1d001..932ff0f369 100644 --- a/cmake/modules/CompileWarnings.cmake +++ b/cmake/modules/CompileWarnings.cmake -@@ -1,6 +1,6 @@ - macro(wpilib_target_warnings target) +@@ -2,7 +2,7 @@ macro(wpilib_target_warnings target) if(NOT MSVC) -- target_compile_options(${target} PRIVATE -Wall -pedantic -Wextra -Werror -Wno-unused-parameter ${WPILIB_TARGET_WARNINGS}) -+ target_compile_options(${target} PRIVATE -Wall -pedantic -Wextra -Wno-unused-parameter ${WPILIB_TARGET_WARNINGS}) + target_compile_options( + ${target} +- PRIVATE -Wall -pedantic -Wextra -Werror -Wno-unused-parameter ${WPILIB_TARGET_WARNINGS} ++ PRIVATE -Wall -pedantic -Wextra -Wno-unused-parameter ${WPILIB_TARGET_WARNINGS} + ) else() - target_compile_options(${target} PRIVATE /wd4146 /wd4244 /wd4251 /wd4267 /WX /D_CRT_SECURE_NO_WARNINGS ${WPILIB_TARGET_WARNINGS}) - endif() + target_compile_options( @@ -1,7 +1,7 @@ # Maintainer: Tyler Veness <calcmogul at gmail dot com> pkgname=wpimath -pkgver=2024.1.1b3 +pkgver=2024.1.1b4 pkgrel=1 pkgdesc="WPILib's mathematics and controls library" arch=('x86_64') @@ -10,10 +10,10 @@ depends=('fmt' 'eigen' 'protobuf') makedepends=('cmake') license=('BSD' 'MIT') options=('!strip' 'staticlibs') -source=('git+https://github.com/wpilibsuite/allwpilib#tag=v2024.1.1-beta-3' +source=('git+https://github.com/wpilibsuite/allwpilib#tag=v2024.1.1-beta-4' 'Don_t-treat-warnings-as-errors.patch') md5sums=('SKIP' - '06355c12d930efa26edbbe11f633831a') + '7a36b8167adea15c6d5be822a5b2a025') prepare() { cd allwpilib |