File aarch64-support.patch of Package openmcu

Index: openmcu-3.48.0/configure.ac
===================================================================
--- openmcu-3.48.0.orig/configure.ac
+++ openmcu-3.48.0/configure.ac
@@ -158,6 +158,11 @@ case "$target_cpu" in
    s390)           MACHTYPE=s390 ;
                    ;;
 
+   aarch64)        MACHTYPE=aarch64
+                   P_64BIT=1
+                   LIB64=1
+                   ;;
+
    *)              MACHTYPE=$target_cpu ;
                    AC_MSG_WARN("CPU $target_cpu not recognized - proceed with caution!") ;
                    ;;
Index: openmcu-3.48.0/ptlib/configure
===================================================================
--- openmcu-3.48.0.orig/ptlib/configure
+++ openmcu-3.48.0/ptlib/configure
@@ -2938,6 +2938,11 @@ case "$target_cpu" in
    s390)	   MACHTYPE=s390 ;
 		   ;;
 
+   aarch64)        MACHTYPE=aarch64
+                   P_64BIT=1
+                   LIB64=1
+                   ;;
+
    * )		   MACHTYPE=$target_cpu ;
 		   { $as_echo "$as_me:$LINENO: WARNING: \"CPU $target_cpu not recognized - proceed with caution!\"" >&5
 $as_echo "$as_me: WARNING: \"CPU $target_cpu not recognized - proceed with caution!\"" >&2;} ;;
Index: openmcu-3.48.0/ptlib/configure.ac
===================================================================
--- openmcu-3.48.0.orig/ptlib/configure.ac
+++ openmcu-3.48.0/ptlib/configure.ac
@@ -201,6 +201,11 @@ case "$target_cpu" in
    s390)	   MACHTYPE=s390 ;
 		   ;;
 
+   aarch64)        MACHTYPE=aarch64
+                   P_64BIT=1
+                   LIB64=1
+                   ;;
+
    * )		   MACHTYPE=$target_cpu ;
 		   AC_MSG_WARN("CPU $target_cpu not recognized - proceed with caution!") ;;
 esac
openSUSE Build Service is sponsored by