wok-current rev 25595
Patch asunder to build with gcc 6.3.0
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Aug 31 19:56:54 2023 +0000 (10 months ago) |
parents | ee9139502aad |
children | bd8ebca6ea25 |
files | asunder/receipt asunder/stuff/asunder_gcc6.patch |
line diff
1.1 --- a/asunder/receipt Thu Aug 31 19:10:51 2023 +0000 1.2 +++ b/asunder/receipt Thu Aug 31 19:56:54 2023 +0000 1.3 @@ -30,6 +30,10 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 + # Remove unknow flag for gcc 6.3.0 1.8 + # -Wno-format-truncation -Wstringop-overflow=0 -Wno-stringop-truncation 1.9 + patch -p1 < $stuff/asunder_gcc6.patch 1.10 + 1.11 ./configure \ 1.12 --prefix=/usr \ 1.13 $CONFIGURE_ARGS &&
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/asunder/stuff/asunder_gcc6.patch Thu Aug 31 19:56:54 2023 +0000 2.3 @@ -0,0 +1,11 @@ 2.4 +--- a/configure 2.5 ++++ b/configure 2.6 +@@ -7352,7 +7352,7 @@ 2.7 + < $srcdir/po/POTFILES.in > po/POTFILES 2.8 + 2.9 + 2.10 +-CFLAGS="$CFLAGS -Wall -pedantic -std=gnu99 -Wundef -Wcast-align -W -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-format-truncation -Wstringop-overflow=0 -Wno-stringop-truncation" 2.11 ++CFLAGS="$CFLAGS -Wall -pedantic -std=gnu99 -Wundef -Wcast-align -W -Wpointer-arith -Wwrite-strings -Wno-unused-parameter" 2.12 + 2.13 + # GTK-2.3.1 deprecated the thread API but I am not going to drop support for 2.14 + # everything older than that (pretty much all of GTK2!). Just silence the