pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/safecat Work around a gcc-2.95 arm bug that makes...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/91ceae2a19b7
branches:  trunk
changeset: 462940:91ceae2a19b7
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sun Oct 19 19:58:24 2003 +0000

description:
Work around a gcc-2.95 arm bug that makes compiling the tryulong32.c
configuration test take ~forever.

diffstat:

 mail/safecat/distinfo         |   3 ++-
 mail/safecat/patches/patch-aa |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 680c7c04ea20 -r 91ceae2a19b7 mail/safecat/distinfo
--- a/mail/safecat/distinfo     Sun Oct 19 16:05:21 2003 +0000
+++ b/mail/safecat/distinfo     Sun Oct 19 19:58:24 2003 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/08/15 09:50:03 zuntum Exp $
+$NetBSD: distinfo,v 1.2 2003/10/19 19:58:24 kristerw Exp $
 
 SHA1 (safecat-1.11.tar.gz) = feae513ccd8dcd7968a35590d08f6a5670adb784
 Size (safecat-1.11.tar.gz) = 33011 bytes
+SHA1 (patch-aa) = c3970abb4291f5e67f9510e8b2b51fb5e48861f8
diff -r 680c7c04ea20 -r 91ceae2a19b7 mail/safecat/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/safecat/patches/patch-aa     Sun Oct 19 19:58:24 2003 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1 2003/10/19 19:58:24 kristerw Exp $
+--- tryulong32.c.orig  Sun Oct 19 21:38:12 2003
++++ tryulong32.c       Sun Oct 19 21:40:37 2003
+@@ -1,5 +1,8 @@
+ void main()
+ {
++#ifdef __arm__
++ _exit(0);
++#else
+  unsigned long u;
+  u = 1;
+  u += u; u += u; u += u; u += u; u += u; u += u; u += u; u += u;
+@@ -8,4 +11,5 @@
+  u += u; u += u; u += u; u += u; u += u; u += u; u += u; u += u;
+  if (!u) _exit(0);
+  _exit(1);
++#endif
+ }



Home | Main Index | Thread Index | Old Index