Merge /u/jrubio/cdesktopenv/ branch dtksh_include_sys_sysmacros into master
authorJon Trulson <allura@localhost>
Thu, 12 Sep 2019 22:02:51 +0000 (22:02 +0000)
committerJon Trulson <allura@localhost>
Thu, 12 Sep 2019 22:02:51 +0000 (22:02 +0000)
https://sourceforge.net/p/cdesktopenv/code/merge-requests/10/

cde/config/cf/Imake.cf
cde/config/cf/linux.cf
cde/programs/dtksh/ksh93/src/cmd/pax/format.c
cde/programs/dtksh/ksh93/src/cmd/pax/misc.c
cde/programs/dtksh/ksh93/src/lib/libast/string/fmtdev.c

index e9e944ec3d7bb4f6219ef52f711521f86711bc75..b9587ddc7139d4ffd84eae8c11b2e0024e5535c6 100644 (file)
@@ -79,7 +79,7 @@ XCOMM $TOG: Imake.cf /main/30 1998/04/28 13:55:25 barstow $
 #   undef amd64
 # endif
 # if defined(__arm__)
-#   define Arm32Architecture
+#   define ARMArchitecture
 #   undef __arm__
 #   if defined(zaurus)
 #     undef zaurus
@@ -474,14 +474,19 @@ XCOMM $TOG: Imake.cf /main/30 1998/04/28 13:55:25 barstow $
 #   define AMD64Architecture
 #  endif
 # endif
-# if defined(__arm__)
-# undef __arm__
+# if defined(__arm__) || defined(__arm32__)
 # define ARMArchitecture
+#   undef __arm__
+#   undef __arm32__
 # endif
 # if defined(__sparc__) || defined(sparc)
 # define SparcArchitecture
 # undef sparc
 # endif
+# if defined(__aarch64__)
+#   define AArch64Architecture
+#   undef __aarch64__
+# endif
 #endif /* linux */
 
 #if defined(sequent) || defined(_SEQUENT_)
index 15136b8d15ee3fd59c31a9f0d191d364455ee649..a93176ad4c83934412593cd7860584244307cd7b 100644 (file)
@@ -238,6 +238,16 @@ TIRPCINC =
 # endif
 #endif /* AMD64Architecture */
 
+#ifdef AArch64Architecture
+# ifndef OptimizedCDebugFlags
+#  define OptimizedCDebugFlags -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -fno-strict-aliasing
+# endif
+# define LinuxMachineDefines   -D__aarch64__
+# define ServerOSDefines   XFree86ServerOSDefines -DDDXTIME
+# define ServerExtraDefines    -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
+#endif /* AArch64Architecture */
+
+
 #ifdef PpcArchitecture
 # ifndef OptimizedCDebugFlags
 #  define OptimizedCDebugFlags    DefaultGcc2i386Opt
index 4ac96eab5f0d911b87438f6e936663325656a5dd..5422ac8b3549d5d45016d657e5e8a5c68c0b5058 100644 (file)
 #define __VA_START__(p,a)      va_start(p)
 #endif
 #endif
+
+#if defined(__linux__)
+#include <sys/sysmacros.h>
+#endif
+
 #include "pax.h"
 #include "options.h"
 
index ac06fc143c87fd17ecc812a5ba86a5c8787cb36a..edffb0d197b008ef501cc58b6d96bd02b8bf4fa3 100644 (file)
 #define __VA_START__(p,a)      va_start(p)
 #endif
 #endif
+
+#if defined(__linux__)
+#include <sys/sysmacros.h>
+#endif
+
 #include "pax.h"
 #include "options.h"
 
index b3d862e520c37a794bce34684839df1580bf1b6d..3ec25edc65150af93306b968d3af73e7edbc7a98 100644 (file)
 #define __VA_START__(p,a)      va_start(p)
 #endif
 #endif
+
+#if defined(__linux__)
+#include <sys/sysmacros.h>
+#endif
+
 #include <ast.h>
 #include <ctype.h>
 #include <ls.h>