SHA256
1
0
forked from pool/schily

- Add schily-stksz.diff

OBS-URL: https://build.opensuse.org/package/show/utilities/schily?expand=0&rev=134
This commit is contained in:
Jan Engelhardt 2021-08-15 17:25:49 +00:00 committed by Git OBS Bridge
parent 3a165d18ab
commit 7f527155d4
3 changed files with 25 additions and 0 deletions

23
schily-stksz.diff Normal file
View File

@ -0,0 +1,23 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2021-08-15 18:31:19.413482687 +0200
Due to VLA support in gcc, the sigsegv_stack test variable needs to be outside
of a function for the test not to generate a false positive.
---
autoconf/configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: schily-2021-08-14/autoconf/configure
===================================================================
--- schily-2021-08-14.orig/autoconf/configure
+++ schily-2021-08-14/autoconf/configure
@@ -6662,8 +6662,8 @@ else
#line 6663 "configure"
#include "confdefs.h"
#include <signal.h>
-int main() {
char sigsegv_stack[SIGSTKSZ];
+int main() {
; return 0; }
EOF
if { { eval echo configure:6670: \"$ac_compile\" ;} 1>&5; { eval $ac_compile ;} 2>&5; }; then

View File

@ -8,6 +8,7 @@ Sun Aug 15 16:01:01 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
rather leaves $$ untouched.
* smake: The dynamic macros $? and $^ now work for implicit rules
as well.
- Add schily-stksz.diff
-------------------------------------------------------------------
Sat Jul 31 14:04:05 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -41,6 +41,7 @@ Source1: README-FIRST
# and submit patches upstream FIRST (cc to the bspkg maintainer perhaps).
Patch1: iconv-name.diff
Patch2: schily-2018-05-25_star_configuration.patch
Patch3: schily-stksz.diff
BuildRequires: autoconf
BuildRequires: fdupes
BuildRequires: gcc-c++