diff options
author | joerg <joerg@pkgsrc.org> | 2015-03-31 15:25:22 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-03-31 15:25:22 +0000 |
commit | b4370cc4ddbb14862d48f75d506833f789daa922 (patch) | |
tree | a3b1294e69c1dc6f8aaf725ac6b17207bbcf2fcb | |
parent | 44a8dad41823c6811a90439b07e371f35948aa24 (diff) | |
download | pkgsrc-b4370cc4ddbb14862d48f75d506833f789daa922.tar.gz |
Use regparm calling convention only on i386.
-rw-r--r-- | emulators/pearpc/distinfo | 3 | ||||
-rw-r--r-- | emulators/pearpc/patches/patch-src_system_types.h | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/emulators/pearpc/distinfo b/emulators/pearpc/distinfo index f322b1ca9a9..b6d382df664 100644 --- a/emulators/pearpc/distinfo +++ b/emulators/pearpc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2012/11/01 19:45:12 joerg Exp $ +$NetBSD: distinfo,v 1.9 2015/03/31 15:25:22 joerg Exp $ SHA1 (pearpc-0.4.tar.bz2) = 1cfa4f19f9a1de73c209a38d8fda174c0ebe6ad5 RMD160 (pearpc-0.4.tar.bz2) = 84c831b3ede69721d0fa48d71a30ee0e7ec512fc @@ -12,3 +12,4 @@ SHA1 (patch-af) = dd2b1c23ab00313be04ca144fbceb3416b1d7d8f SHA1 (patch-ag) = 8ec459446fd666b99345d4a8963bcf47e35b0435 SHA1 (patch-ah) = 0ba6c0f72f3fe382aa07bf2304813417ce2fd6f9 SHA1 (patch-src_cpu_mem.h) = cb21242ef53e72e0f75fc8ea6119ebad3d08b2e9 +SHA1 (patch-src_system_types.h) = 90cce88a9936616901e43a5c21cb5db11e9ce2da diff --git a/emulators/pearpc/patches/patch-src_system_types.h b/emulators/pearpc/patches/patch-src_system_types.h new file mode 100644 index 00000000000..677cad05abb --- /dev/null +++ b/emulators/pearpc/patches/patch-src_system_types.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_system_types.h,v 1.1 2015/03/31 15:25:22 joerg Exp $ + +--- src/system/types.h.orig 2015-03-26 10:25:25.000000000 +0000 ++++ src/system/types.h +@@ -42,7 +42,7 @@ + #ifdef __GNUC__ + + // FIXME: configure +-# ifndef __ppc__ ++# ifdef __i386__ + # define FASTCALL __attribute__((regparm (3))) + # else + # define FASTCALL |