File libpt2-aarch64.patch of Package ptlib

---
 configure    |    6 ++++++
 configure.ac |    6 ++++++
 2 files changed, 12 insertions(+)

Index: ptlib-2.18.8/configure
===================================================================
--- ptlib-2.18.8.orig/configure
+++ ptlib-2.18.8/configure
@@ -7041,6 +7041,12 @@ fi
       LIBS="-lwinmm -lwsock32 -lws2_32 -lsnmpapi -lmpr -lcomdlg32 -lgdi32 -lavicap32 -liphlpapi -lole32 -lquartz $LIBS"
    ;;
 
+   aarch64)
+	MACHTYPE=aarch64
+	P_64BIT=1
+        LIB64=1
+	;;
+
    * )
       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Operating system $target_os not recognized - proceed with caution!" >&5
 printf "%s\n" "$as_me: WARNING: Operating system $target_os not recognized - proceed with caution!" >&2;}
Index: ptlib-2.18.8/configure.ac
===================================================================
--- ptlib-2.18.8.orig/configure.ac
+++ ptlib-2.18.8/configure.ac
@@ -172,6 +172,12 @@ case "$target_os" in
       OS_TAG="P_MINGW"
    ;;
 
+   aarch64)
+	MACHTYPE=aarch64
+	P_64BIT=1
+        LIB64=1
+	;;
+
    * )
       OS_TAG="P_TARGET_OS"
 esac
openSUSE Build Service is sponsored by