diff -Nru ptlib-2.10.10~dfsg/debian/changelog ptlib-2.10.10~dfsg/debian/changelog --- ptlib-2.10.10~dfsg/debian/changelog 2014-01-17 17:19:56.000000000 +0800 +++ ptlib-2.10.10~dfsg/debian/changelog 2014-10-08 10:20:51.000000000 +0800 @@ -1,3 +1,10 @@ +ptlib (2.10.10~dfsg-4.1) unstable; urgency=low + + * Non-mantainer upload. + * Define P_64BIT and LIB64 for arm64, mips64(el) and ppc64el (Closes: #748911). + + -- YunQiang Su Wed, 08 Oct 2014 10:18:48 +0800 + ptlib (2.10.10~dfsg-4) unstable; urgency=medium * patches/bison-fix: Update patch to fix crash (Closes: Bug#735600). diff -Nru ptlib-2.10.10~dfsg/debian/patches/ppc64el-arm64-mips64.diff ptlib-2.10.10~dfsg/debian/patches/ppc64el-arm64-mips64.diff --- ptlib-2.10.10~dfsg/debian/patches/ppc64el-arm64-mips64.diff 1970-01-01 08:00:00.000000000 +0800 +++ ptlib-2.10.10~dfsg/debian/patches/ppc64el-arm64-mips64.diff 2014-10-08 10:18:13.000000000 +0800 @@ -0,0 +1,62 @@ +Index: ptlib-2.10.10~dfsg/configure.ac +=================================================================== +--- ptlib-2.10.10~dfsg.orig/configure.ac 2034-11-21 10:56:41.345832345 +0800 ++++ ptlib-2.10.10~dfsg/configure.ac 2034-11-21 10:56:41.330207343 +0800 +@@ -324,7 +324,7 @@ + MACHTYPE=ppc + ;; + +- ppc64 | powerpc64 ) ++ ppc64 | powerpc64 | ppc64el | powerpc64el ) + MACHTYPE=ppc64 + P_64BIT=1 + LIB64=1 +@@ -345,6 +345,17 @@ + MACHTYPE=s390 + ;; + ++ aarch64 ) ++ MACHTYPE=arm64 ++ P_64BIT=1 ++ LIB64=1 ++ ;; ++ mips64 | mips64el ) ++ MACHTYPE=mips64 ++ P_64BIT=1 ++ LIB64=1 ++ ;; ++ + * ) + MACHTYPE=$target_cpu + AC_MSG_WARN("CPU $target_cpu not recognized - proceed with caution!") +Index: ptlib-2.10.10~dfsg/configure +=================================================================== +--- ptlib-2.10.10~dfsg.orig/configure 2013-02-20 10:12:27.000000000 +0800 ++++ ptlib-2.10.10~dfsg/configure 2034-11-21 10:57:54.220838053 +0800 +@@ -4649,7 +4649,7 @@ + MACHTYPE=ppc + ;; + +- ppc64 | powerpc64 ) ++ ppc64 | powerpc64 | ppc64el | powerpc64el ) + MACHTYPE=ppc64 + P_64BIT=1 + LIB64=1 +@@ -4670,6 +4670,17 @@ + MACHTYPE=s390 + ;; + ++ aarch64 ) ++ MACHTYPE=arm64 ++ P_64BIT=1 ++ LIB64=1 ++ ;; ++ mips64 | mips64el ) ++ MACHTYPE=mips64 ++ P_64BIT=1 ++ LIB64=1 ++ ;; ++ + * ) + MACHTYPE=$target_cpu + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"CPU $target_cpu not recognized - proceed with caution!\"" >&5 diff -Nru ptlib-2.10.10~dfsg/debian/patches/series ptlib-2.10.10~dfsg/debian/patches/series --- ptlib-2.10.10~dfsg/debian/patches/series 2014-01-13 19:41:11.000000000 +0800 +++ ptlib-2.10.10~dfsg/debian/patches/series 2014-10-08 10:18:13.000000000 +0800 @@ -1,2 +1,3 @@ hurd-fix bison-fix +ppc64el-arm64-mips64.diff