lagrange: bump to 1.10.3 (#6582)

This commit is contained in:
Nikolay Korotkiy
2022-02-02 22:50:40 +03:00
committed by GitHub
parent 99f6912f0e
commit 248e066498
2 changed files with 1 additions and 25 deletions

View File

@@ -8,9 +8,8 @@ COPYRIGHT="2020-2022 Jaakko Keränen"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="https://github.com/skyjake/lagrange/releases/download/v$portVersion/lagrange-$portVersion.tar.gz"
CHECKSUM_SHA256="d2b6ad891809183bbb46387dc84ef8fd480837a0e4784711f9861ef141236036"
CHECKSUM_SHA256="042937f466e879bd6199b4ed59b7f786b31c382918650a7a8caa1cdb75897868"
SOURCE_DIR="lagrange-$portVersion"
PATCHES="lagrange-$portVersion.patchset"
ADDITIONAL_FILES="lagrange.rdef.in"
ARCHITECTURES="all !x86_gcc2"

View File

@@ -1,23 +0,0 @@
From fb9db2c3ad23cbece3872c51cdd21f698777a247 Mon Sep 17 00:00:00 2001
From: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sat, 22 Jan 2022 15:10:10 +0300
Subject: Fix static_assert
See https://github.com/skyjake/lagrange/issues/441
diff --git a/src/prefs.c b/src/prefs.c
index 6164ca2..c939529 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -25,7 +25,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
#include <the_Foundation/fileinfo.h>
#include <assert.h>
-static_assert(offsetof(iPrefs, plainTextWrap) == offsetof(iPrefs, bools[plainTextWrap_PrefsBool]),
+_Static_assert(offsetof(iPrefs, plainTextWrap) == offsetof(iPrefs, bools[plainTextWrap_PrefsBool]),
"memory layout mismatch (needs struct packing?)");
void init_Prefs(iPrefs *d) {
--
2.30.2