[med-svn] [Git][med-team/maude][master] 2 commits: Add patch to fix FTBFS against glibc 2.34
Nilesh Patra (@nilesh)
gitlab at salsa.debian.org
Tue Jul 12 15:27:16 BST 2022
Nilesh Patra pushed to branch master at Debian Med / maude
Commits:
def11359 by Nilesh Patra at 2022-07-12T19:53:08+05:30
Add patch to fix FTBFS against glibc 2.34
- - - - -
339f0e59 by Nilesh Patra at 2022-07-12T19:54:10+05:30
Upload to unstable
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/glibc-2.34.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+maude (3.2-2) unstable; urgency=medium
+
+ * Team upload.
+ * Add patch to fix FTBFS against glibc 2.34
+ + Thanks vorlon for the patch (Closes: #1014627)
+
+ -- Nilesh Patra <nilesh at debian.org> Tue, 12 Jul 2022 19:53:44 +0530
+
maude (3.2-1) unstable; urgency=medium
* Point watch file to Github
=====================================
debian/patches/glibc-2.34.patch
=====================================
@@ -0,0 +1,24 @@
+Description: handle non-constant SIGSTKSZ
+ As of glibc 2.34, SIGSTKSZ is no longer a constant, but rather a runtime
+ call to sysconf(). Allocate our stack at runtime instead of at compile
+ time.
+Author: Steve Langasek <steve.langasek at ubuntu.com>
+Last-Update: 2022-07-08
+Forwarded: no
+
+Index: maude-3.2/src/Mixfix/interact.cc
+===================================================================
+--- maude-3.2.orig/src/Mixfix/interact.cc
++++ maude-3.2/src/Mixfix/interact.cc
+@@ -117,9 +117,9 @@
+ // Stack overflows are reported as SIGSEGV signals and so we need to use the
+ // libsigsegv library to heuristically distinguish the two conditions.
+ //
+- static char altStack[SIGSTKSZ];
++ static char *altStack = malloc(SIGSTKSZ);
+ sigsegv_install_handler(sigsegvHandler); // illegal memory access or stack overflow
+- stackoverflow_install_handler(stackOverflowHandler, altStack, sizeof(altStack));
++ stackoverflow_install_handler(stackOverflowHandler, altStack, SIGSTKSZ);
+ #else
+ //
+ // If we can't use the library we will will catch SIGSEGVs but not install
=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ search-datadir.patch
getinput-size_t.patch
strip-build-date.patch
skip_failing_test.patch
+glibc-2.34.patch
View it on GitLab: https://salsa.debian.org/med-team/maude/-/compare/35c153afd10838bbd3de380b6a15a885f4e50ff2...339f0e5964fd7405efe217def50c4ddba48e67bd
--
View it on GitLab: https://salsa.debian.org/med-team/maude/-/compare/35c153afd10838bbd3de380b6a15a885f4e50ff2...339f0e5964fd7405efe217def50c4ddba48e67bd
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220712/4d48c7aa/attachment-0001.htm>
More information about the debian-med-commit
mailing list