summaryrefslogtreecommitdiff
path: root/mail/safecat/patches
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2003-10-19 19:58:24 +0000
committerkristerw <kristerw@pkgsrc.org>2003-10-19 19:58:24 +0000
commit787fc7becefcdf885c12013a7df5cc1f5686adb9 (patch)
treef30ec62ca90a9695e176373bd14868c38de3fde1 /mail/safecat/patches
parentf04327a8c57b2235b1bf79167e50ab960f042d31 (diff)
downloadpkgsrc-787fc7becefcdf885c12013a7df5cc1f5686adb9.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/patches')
-rw-r--r--mail/safecat/patches/patch-aa18
1 files changed, 18 insertions, 0 deletions
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
+ }