~roshless/public-inbox

lagrange: build the_Foundation *without* werror v1 APPLIED

Dimitri Merejkowsky: 1
 lagrange: build the_Foundation *without* werror

 1 files changed, 1 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.roshless.me/~roshless/public-inbox/patches/26/mbox | git am -3
Learn more about email & git

[PATCH] lagrange: build the_Foundation *without* werror Export this patch

Otherwize the build breaks because :

* the default /etc/makepkg.conf sets -Wformat, -Werror=format-security
* the_Foundation's CMakeLists unsets -Wno-format
* a warning is produced
* ... and warning are treated as errors
---
 lagrange/PKGBUILD | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lagrange/PKGBUILD b/lagrange/PKGBUILD
index 33b70e8..f84c3d7 100644
--- a/lagrange/PKGBUILD
+++ b/lagrange/PKGBUILD
@@ -24,6 +24,7 @@ makedepends=("cmake")
build() {
    cmake -B build -S "$pkgname-${pkgver}" \
        -DCMAKE_INSTALL_PREFIX='/usr' \
        -DTFDN_ENABLE_WARN_ERROR=OFF \
        -Wno-dev
    make -C build
}
-- 
2.31.1
Thanks! Applied with bumped version.