summaryrefslogtreecommitdiff
path: root/mail/safecat
diff options
context:
space:
mode:
authorkristerw <kristerw>2003-10-19 19:58:24 +0000
committerkristerw <kristerw>2003-10-19 19:58:24 +0000
commit05e6bdc44a277831384c1a754f6020e8f854cd46 (patch)
treef30ec62ca90a9695e176373bd14868c38de3fde1 /mail/safecat
parent730f7c424e1c196c8a98c61227b1997e507cd627 (diff)
downloadpkgsrc-05e6bdc44a277831384c1a754f6020e8f854cd46.tar.gz
Work around a gcc-2.95 arm bug that makes compiling the tryulong32.c
configuration test take ~forever.
Diffstat (limited to 'mail/safecat')
-rw-r--r--mail/safecat/distinfo3
-rw-r--r--mail/safecat/patches/patch-aa18
2 files changed, 20 insertions, 1 deletions
diff --git a/mail/safecat/distinfo b/mail/safecat/distinfo
index 5ffe4856cac..b6e7d1929c9 100644
--- a/mail/safecat/distinfo
+++ b/mail/safecat/distinfo
@@ -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 --git a/mail/safecat/patches/patch-aa b/mail/safecat/patches/patch-aa
new file mode 100644
index 00000000000..29c2e4c929a
--- /dev/null
+++ b/mail/safecat/patches/patch-aa
@@ -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
+ }