summaryrefslogtreecommitdiff
path: root/databases/cdb/patches
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-01-31 01:23:16 +0000
committerkristerw <kristerw@pkgsrc.org>2004-01-31 01:23:16 +0000
commit8babcb102dd7d7ce18ecf35ecfe1a08bcf3cb2f3 (patch)
tree753eaacf3599ac752245274da5abe7c4eec4056f /databases/cdb/patches
parentbd4b6ac1842c546e84a8e71ea3a3aa4fbe08c2b3 (diff)
downloadpkgsrc-8babcb102dd7d7ce18ecf35ecfe1a08bcf3cb2f3.tar.gz
Compilation of the tryulong32.c configuration test takes ~forever on
arm/gcc 2.95.3. Add a workaround.
Diffstat (limited to 'databases/cdb/patches')
-rw-r--r--databases/cdb/patches/patch-aa19
1 files changed, 19 insertions, 0 deletions
diff --git a/databases/cdb/patches/patch-aa b/databases/cdb/patches/patch-aa
new file mode 100644
index 00000000000..edb55cc007c
--- /dev/null
+++ b/databases/cdb/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1 2004/01/31 01:23:16 kristerw Exp $
+
+--- tryulong32.c.orig Sat Jan 31 02:15:54 2004
++++ tryulong32.c Sat Jan 31 02:16:38 2004
+@@ -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
+ }