~roshless/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] lagrange: build the_Foundation *without* werror

Dimitri Merejkowsky <dimitri@dmerej.info>
Details
Message ID
<20210503143842.73020-1-dimitri@dmerej.info>
DKIM signature
pass
Download raw message
Patch: +1 -0
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
Details
Message ID
<20210503224519.5ffbef01@desktop>
In-Reply-To
<20210503143842.73020-1-dimitri@dmerej.info> (view parent)
DKIM signature
missing
Download raw message
Thanks! Applied with bumped version.
Reply to thread Export thread (mbox)