Fix gcc 14 build ncpfs

This commit is contained in:
Mario Fetka
2024-12-10 13:55:28 +01:00
parent 96ea326bd7
commit 5f902f1645
30 changed files with 3263 additions and 478 deletions

View File

@@ -61,6 +61,8 @@ PATCHES=(
#"${FILESDIR}"/${P}-gcc10.patch
"${FILESDIR}"/${P}-usr-merge.patch
"${FILESDIR}"/${P}-fix-build-with-gcc14.patch
)
DOCS=( FAQ README )
@@ -68,7 +70,7 @@ DOCS=( FAQ README )
src_prepare() {
# Bug #273484.
sed -i '/ldconfig/d' lib/Makefile.in || die
append-cflags -fcommon
append-cflags -fcommon -Wincompatible-pointer-types
default
}