Files
pmaports-rtwo/device/archived/linux-essential-mata/fix-check-lxdialog.patch
T
Aster Boese 1d0189e5b4 essential-mata: move to archived
The kernel is very broken and does not compile, event with
multiple rounds of patching. As I am not the maintainer,
the amount of patching is getting invasive enough that I
cannot be sure that the kernel will still run, even if
somebody is able to get it compiled.

[ci:skip-vercheck]

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9057>
2026-08-05 11:15:34 +00:00

16 lines
539 B
Diff

Fix pre-ANSI C code in check-lxdialog.sh.
diff --git a/scripts/kconfig/lxdialog/check-lxdialog.sh b/scripts/kconfig/lxdialog/check-lxdialog.sh
index 9d2a4c58..364eaecb 100644
--- a/scripts/kconfig/lxdialog/check-lxdialog.sh
+++ b/scripts/kconfig/lxdialog/check-lxdialog.sh
@@ -43,7 +43,7 @@ trap "rm -f $tmp" 0 1 2 3 15
check() {
$cc -x c - -o $tmp 2>/dev/null <<'EOF'
#include CURSES_LOC
-main() {}
+int main() { return 0; }
EOF
if [ $? != 0 ]; then
echo " *** Unable to find the ncurses libraries or the" 1>&2