summaryrefslogtreecommitdiff
path: root/devel/spiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-06-08 16:12:48 +0000
committerminskim <minskim@pkgsrc.org>2006-06-08 16:12:48 +0000
commit7fc5e51865ec3278c10bfdef1817dcc548c7cca2 (patch)
treeb1e3908322d47ee2c068b97ba42141f3b5990f2d /devel/spiff
parent06cfe8ee7c5a820c1909fcdf223eb95ff6f50435 (diff)
downloadpkgsrc-7fc5e51865ec3278c10bfdef1817dcc548c7cca2.tar.gz
Make this package build with gcc-4.
Diffstat (limited to 'devel/spiff')
-rw-r--r--devel/spiff/distinfo4
-rw-r--r--devel/spiff/patches/patch-ad13
-rw-r--r--devel/spiff/patches/patch-ae15
3 files changed, 31 insertions, 1 deletions
diff --git a/devel/spiff/distinfo b/devel/spiff/distinfo
index 11f790e8742..70231ce93d3 100644
--- a/devel/spiff/distinfo
+++ b/devel/spiff/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 22:24:34 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/06/08 16:12:48 minskim Exp $
SHA1 (spiff-1.0.tar.gz) = 09803fa6f946c3639bb2c7ac5b5644860ebed643
RMD160 (spiff-1.0.tar.gz) = ff651435946dd8889b9a01a598f3933e3e50c614
@@ -6,3 +6,5 @@ Size (spiff-1.0.tar.gz) = 48291 bytes
SHA1 (patch-aa) = 7385b723590f1e8ce86e830605da3ce1bd97a3ea
SHA1 (patch-ab) = 36b0ee588e64fc2716e18711099125636e95bf38
SHA1 (patch-ac) = d88280626b3d1621377d38037a52e79e6e35bb1a
+SHA1 (patch-ad) = 386f3130fdc97eb7e5472404aaf3f3bc8e94654c
+SHA1 (patch-ae) = fb98434c7cead14541cd6b8a6bf36775ade76ed9
diff --git a/devel/spiff/patches/patch-ad b/devel/spiff/patches/patch-ad
new file mode 100644
index 00000000000..fabc26374d1
--- /dev/null
+++ b/devel/spiff/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2006/06/08 16:12:48 minskim Exp $
+
+--- spiff.c.orig 1990-02-05 20:17:20.000000000 +0000
++++ spiff.c
+@@ -27,7 +27,7 @@ static char rcsid[]= "$Header: spiff.c,v
+ #include "visual.h"
+ #include "output.h"
+
+-extern void _Y_doargs();
++static void _Y_doargs();
+
+ static int _Y_eflag = 0; /* use exact match algorithm */
+ static int _Y_vflag = 0; /* use visual mode */
diff --git a/devel/spiff/patches/patch-ae b/devel/spiff/patches/patch-ae
new file mode 100644
index 00000000000..b15c175f558
--- /dev/null
+++ b/devel/spiff/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1 2006/06/08 16:12:48 minskim Exp $
+
+--- compare.c.orig 1990-02-05 20:17:15.000000000 +0000
++++ compare.c
+@@ -21,6 +21,10 @@ static char rcsid[]= "$Header: compare.c
+
+ #include <ctype.h>
+
++static int _X_strcmp(char *s1, char *s2, int flags);
++static int _X_floatdiff(F_float p1, F_float p2, T_tol the_tol);
++static int _X_cmptokens(K_token p1, K_token p2, int flags);
++
+ X_com(a,b,flags)
+ int a,b,flags;
+ {