pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/abs Make this package gcc-3.3 friendly
details: https://anonhg.NetBSD.org/pkgsrc/rev/0930cba0156f
branches: trunk
changeset: 479081:0930cba0156f
user: agc <agc%pkgsrc.org@localhost>
date: Wed Aug 04 20:44:34 2004 +0000
description:
Make this package gcc-3.3 friendly
diffstat:
math/abs/distinfo | 3 ++-
math/abs/patches/patch-ac | 40 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+), 1 deletions(-)
diffs (56 lines):
diff -r f4dc8c67d979 -r 0930cba0156f math/abs/distinfo
--- a/math/abs/distinfo Wed Aug 04 20:08:38 2004 +0000
+++ b/math/abs/distinfo Wed Aug 04 20:44:34 2004 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2002/09/26 15:46:47 jschauma Exp $
+$NetBSD: distinfo,v 1.4 2004/08/04 20:44:34 agc Exp $
SHA1 (abs-src-0.8.tar.gz) = 2123f3c80981a9fe7535645ed8b9726d81751157
Size (abs-src-0.8.tar.gz) = 287965 bytes
SHA1 (patch-aa) = 06f3adca298ebba3ce5ffe801342e870ceaf9a58
SHA1 (patch-ab) = 89e02f62b116d49a87011ff5a7aac304e8a980f4
+SHA1 (patch-ac) = cb7f9c99a58ac1705e0f7d63e84089a98f810160
diff -r f4dc8c67d979 -r 0930cba0156f math/abs/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/abs/patches/patch-ac Wed Aug 04 20:44:34 2004 +0000
@@ -0,0 +1,40 @@
+$NetBSD: patch-ac,v 1.1 2004/08/04 20:44:34 agc Exp $
+
+--- Database/cell.c 2004/08/04 19:39:39 1.1
++++ Database/cell.c 2004/08/04 20:40:59
+@@ -1319,7 +1319,7 @@
+ }
+
+ char *
+-strcasestr (char *str1, char *str2)
++abs_strcasestr (char *str1, char *str2)
+ {
+ char *s1;
+ char *s2;
+@@ -1367,7 +1367,7 @@
+ return -1;
+ if (!strcmp (oldname, newname))
+ return 0;
+- if (strcasestr (cell->formula, oldname) == NULL)
++ if (abs_strcasestr (cell->formula, oldname) == NULL)
+ return 0;
+
+ diffsize = strlen (oldname) - strlen (newname);
+@@ -1375,7 +1375,7 @@
+ absmalloc ((strlen (oldname) + 2) * sizeof (char), "cell_chgwksname:old");
+ sprintf (old, "%s!", oldname);
+
+- pos = strcasestr (cell->formula, old);
++ pos = abs_strcasestr (cell->formula, old);
+ while (pos != NULL)
+ {
+ len = strlen (cell->formula);
+@@ -1388,7 +1388,7 @@
+ sprintf (newformula, "%s%s%s", cell->formula, newname, end);
+ absfree (cell->formula, "cell_chgwksname:cell->formula");
+ cell->formula = newformula;
+- end = strcasestr (cell->formula, old);
++ end = abs_strcasestr (cell->formula, old);
+ if (end > cell->formula + i)
+ pos = end;
+ else
Home |
Main Index |
Thread Index |
Old Index