pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/syncterm comms/syncterm: also recognize __powerp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d72b64791e50
branches:  trunk
changeset: 383018:d72b64791e50
user:      he <he%pkgsrc.org@localhost>
date:      Wed Aug 10 18:49:39 2022 +0000

description:
comms/syncterm: also recognize __powerpc__.

Fixes build on NetBSD/macppc.

diffstat:

 comms/syncterm/distinfo                          |   3 ++-
 comms/syncterm/patches/patch-src_xpdev_genwrap.h |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r a0948384592b -r d72b64791e50 comms/syncterm/distinfo
--- a/comms/syncterm/distinfo   Wed Aug 10 18:01:41 2022 +0000
+++ b/comms/syncterm/distinfo   Wed Aug 10 18:49:39 2022 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1 2022/01/16 13:11:07 nia Exp $
+$NetBSD: distinfo,v 1.2 2022/08/10 18:49:39 he Exp $
 
 BLAKE2s (syncterm-1.1-src.tgz) = 2de2559b621ab8a8249e2321ed617cc3a73aa44f74ca2d49b82c141bf9d97eb6
 SHA512 (syncterm-1.1-src.tgz) = b5280e8f64ce12101f810dbee38a113e03450356a1fbc46a7c63a57eb8ca382e99ec1586b0a3527e336c9725efedae2ce80c5d4b372456eba1f090ec0f8c80eb
 Size (syncterm-1.1-src.tgz) = 18270212 bytes
 SHA1 (patch-src_syncterm_GNUmakefile) = 0c8739341c1c86b7455fc50f2265a02a87333a30
 SHA1 (patch-src_syncterm_syncterm.man.in) = 8bc6eed865883b3e2c49638e9fc08abb8ac8e617
+SHA1 (patch-src_xpdev_genwrap.h) = c004b77f8ce6874527d957f172e46f59ceca500f
diff -r a0948384592b -r d72b64791e50 comms/syncterm/patches/patch-src_xpdev_genwrap.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/syncterm/patches/patch-src_xpdev_genwrap.h  Wed Aug 10 18:49:39 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_xpdev_genwrap.h,v 1.1 2022/08/10 18:49:39 he Exp $
+
+Recognize __powerpc__ as well.
+
+--- ./src/xpdev/genwrap.h.orig 2020-06-26 23:40:21.000000000 +0000
++++ ./src/xpdev/genwrap.h
+@@ -203,7 +203,7 @@ extern "C" {
+       #define ARCHITECTURE_DESC "mips"
+ #elif defined(__arm__)
+       #define ARCHITECTURE_DESC "arm"
+-#elif defined(_M_PPC) || defined(__ppc__)
++#elif defined(_M_PPC) || defined(__ppc__) || defined(__powerpc__)
+       #define ARCHITECTURE_DESC "ppc"
+ #elif defined(_M_IA64) || defined(__ia64__)
+       #define ARCHITECTURE_DESC "ia64"



Home | Main Index | Thread Index | Old Index