summaryrefslogtreecommitdiff
path: root/user/rttr/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-05-29 18:54:24 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-07 10:08:07 -0500
commit371353aa83f63de9239c4c754f4f24d52f676844 (patch)
tree11fa0f03c95c959532ae586e9f0f87760fafd450 /user/rttr/APKBUILD
parentf2853d4a02ececc95fe68f4d4957fca009c0d537 (diff)
downloadpackages-371353aa83f63de9239c4c754f4f24d52f676844.tar.gz
packages-371353aa83f63de9239c4c754f4f24d52f676844.tar.bz2
packages-371353aa83f63de9239c4c754f4f24d52f676844.tar.xz
packages-371353aa83f63de9239c4c754f4f24d52f676844.zip
user/rttr: Bring upstream patches in for newer C++
Also, change the warnings we disable to ensure it builds with GCC 13. Also, replaces '-Werror' with '-Wextra' for more verbosity without causing the build to fail. Closes: #1196
Diffstat (limited to 'user/rttr/APKBUILD')
-rw-r--r--user/rttr/APKBUILD16
1 files changed, 13 insertions, 3 deletions
diff --git a/user/rttr/APKBUILD b/user/rttr/APKBUILD
index 58d0bb293..a4e5385db 100644
--- a/user/rttr/APKBUILD
+++ b/user/rttr/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=rttr
pkgver=0.9.6
-pkgrel=0
+pkgrel=1
pkgdesc="C++ reflection library"
url=" "
arch="all"
@@ -15,6 +15,11 @@ source="https://github.com/rttrorg/rttr/releases/download/v$pkgver/rttr-$pkgver-
dlclose-doesnt-work.patch
install-doc.patch
permissions.patch
+ header.patch
+ clang.patch
+ no-pessimising-moves.patch
+ gcc9.patch
+ show-warnings-not-error-out.patch
"
build() {
@@ -26,7 +31,7 @@ build() {
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
- -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=class-memaccess -DNDEBUG" \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=class-memaccess -Wno-deprecated-declarations -Wno-pessimizing-move -DNDEBUG" \
${CMAKE_CROSSOPTS} .
make
}
@@ -43,4 +48,9 @@ sha512sums="7e0d4fa87f83feda0b926d4d0e52aaf0f369f25fe7e23e5ffe86c0bba159e8353cef
559b4d55109b7021082cdd15663075312d80a896325db2b6bba43bf9d3ba17ecc2152aa30617f200be904351c7f8ba188b7e7a6b29a71612b42d48a5a0535aa7 arm64.patch
76efa45715d2a6459ae3cf5a6189de414775eed11a1f6780de563005765139ae6be86e30ead63b5ef8e9a5e84ba77a4ef2b7a75ded7506c6c8d81a696a887ff3 dlclose-doesnt-work.patch
825ca43fb35f6139db13f0b01818b49bb1556a1190ac2941c643e4d438c5b458883fa2ffb64d95625125c251632da7b3d8b703141335df8883b6e186f2e6a349 install-doc.patch
-905e4c62093ee3877a8a15a1cbd4bc20499e04916ce869a495cf4ef9f47aa94d56aa5ac861d0ca8b6079f2a3b398f92237dc423e452130f7c40b9a170a8aa625 permissions.patch"
+905e4c62093ee3877a8a15a1cbd4bc20499e04916ce869a495cf4ef9f47aa94d56aa5ac861d0ca8b6079f2a3b398f92237dc423e452130f7c40b9a170a8aa625 permissions.patch
+75ff5e06f92c94db6b7c04846bfff1dcde22b81831a40ad7533cd93fc9ca300c76ca1266081ac4784bc3b94a8b805db28b841702b10d66232c1110d57c812245 header.patch
+3bbdc8feb9b64b4a9f0db138ea0612e3e5a57004fda8b856c30a5f05824009543f396654c6ef3b6e157ce62c7057a239029dd35c749387d9ad91dcc4ac2c00e4 clang.patch
+3e7f81db25f0af6a3924e693d30cb5895fbc13dd3eac752d66082ae34c08fc779de086764f63f52170399cb85c5cf87ef182bdc8d8f054fd7f085bc90e779dc8 no-pessimising-moves.patch
+2dda29b06484bfad15fefe919bce30ab1b6a6f0b9aec10a09736e1018565151cb675874484b4bb573d27d0742fe5943e002074cfa9f822fc1d3888fd3c8a9dc0 gcc9.patch
+f42539edff3b08cf2938a489a9163e3ab81fd43422de1b22a23bae8ef198554f46b5ded4e6f09fb2840fbdd711385563bedcdbb9238569ff7c9484b84eb7bc53 show-warnings-not-error-out.patch"