1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-12 11:12:18 +00:00

Made a workaround to not use the sh_access

The sh_access was defined to two arguments
Made a workaround to not use the sh_access
that was outputting the error.
Not ideal, but it will hopefully compile on Arch Linux

Also added mksh for compatibility
Ksh is unmaintained in the Arch User Repository

Signed-off-by: Nilton Perim Neto <niltonperimneto@gmail.com>
This commit is contained in:
Nilton Perim Neto 2025-02-03 14:47:17 -03:00
parent fbc9488037
commit e4c1e173fa
No known key found for this signature in database
GPG key ID: BC31AFF247546BCD
7 changed files with 16 additions and 1 deletions

View file

@ -377,10 +377,13 @@ dnl - KSH, some systems call it as ksh93
AC_PATH_PROG(KSH, ksh)
if test -z "$ac_cv_path_KSH"; then
AC_PATH_PROG(KSH, ksh93)
if test -z "$ac_cv_path_KSH"; then
AC_PATH_PROG(KSH, mksh)
if test -z "$ac_cv_path_KSH"; then
MISSING_PROGS="[ksh or ksh93] ${MISSING_PROGS}"
fi
fi
fi
AC_PATH_PROG(XRDB, xrdb)
if test -z "$ac_cv_path_XRDB"; then

View file

@ -33,6 +33,8 @@
#include "name.h"
#include "shell.h"
#undef access
#include <X11/Xauth.h>
#include <signal.h>
#include <fcntl.h>
#include <X11/X.h>

View file

@ -33,6 +33,8 @@
/* X includes */
#include "shell.h"
#undef access
#include <X11/Xauth.h>
#include <signal.h>
#include <fcntl.h>
#include <X11/X.h>

View file

@ -32,6 +32,8 @@
#include "name.h"
#include "shell.h"
#undef access
#include <X11/Xauth.h>
#include <string.h>
#include <dlfcn.h>
#include <X11/Intrinsic.h>

View file

@ -30,6 +30,8 @@
/* actual or intended publication of such source code. */
#include "shell.h"
#undef access
#include <X11/Xauth.h>
#include <signal.h>
#include <stdlib.h>
#include <fcntl.h>

View file

@ -32,6 +32,8 @@
#include "shell.h"
#undef access
#include <X11/Xauth.h>
#include <signal.h>
#include <fcntl.h>
#include <X11/X.h>

View file

@ -32,6 +32,8 @@
#include "name.h"
#include "shell.h"
#undef access
#include <X11/Xauth.h>
#include <X11/Intrinsic.h>
#include <X11/Shell.h>
#include <X11/StringDefs.h>