summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-07-30 22:05:53 +0000
committerrillig <rillig@pkgsrc.org>2005-07-30 22:05:53 +0000
commit29bcba5ffceb303491c62effc8b337194b4184ba (patch)
tree888ebce46c40eb608bebe8416b794a2b41183f79
parent42b8b5312d8e81fc97127114cc4303f2980c727b (diff)
downloadpkgsrc-29bcba5ffceb303491c62effc8b337194b4184ba.tar.gz
Added a patch that avoids non-constant initializers for automatic arrays.
Needed for IRIX 6.5.
-rw-r--r--devel/subversion/distinfo3
-rw-r--r--devel/subversion/patches/patch-aj16
2 files changed, 18 insertions, 1 deletions
diff --git a/devel/subversion/distinfo b/devel/subversion/distinfo
index dfd33338690..b29710ebc85 100644
--- a/devel/subversion/distinfo
+++ b/devel/subversion/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.45 2005/07/06 21:16:32 epg Exp $
+$NetBSD: distinfo,v 1.46 2005/07/30 22:05:53 rillig Exp $
SHA1 (subversion-1.2.1.tar.gz) = 88d3dd6e8c191933c8966faa5c69dc4ee84411cf
RMD160 (subversion-1.2.1.tar.gz) = 7768a29ad96746285cb4ed9b32fc54c07f97f4f4
@@ -7,3 +7,4 @@ SHA1 (patch-ad) = b2975d9b9aebd045cc7db22f79e03b2efbbbe285
SHA1 (patch-ag) = faa890d811ca2d5d0240647fac6d115e714dc2a3
SHA1 (patch-ah) = 195aeabc711b229cb402312357cad143c19d7b53
SHA1 (patch-ai) = 9b209d2d436a5ed3ac2ca02a2dac80c8cad0e98c
+SHA1 (patch-aj) = fed724d1ac7a9422f4f3b089970ba272fbb38bf5
diff --git a/devel/subversion/patches/patch-aj b/devel/subversion/patches/patch-aj
new file mode 100644
index 00000000000..dea01ada568
--- /dev/null
+++ b/devel/subversion/patches/patch-aj
@@ -0,0 +1,16 @@
+$NetBSD: patch-aj,v 1.3 2005/07/30 22:05:53 rillig Exp $
+
+Don't use non-constant initializers for arrays.
+
+--- subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c.orig Tue Mar 22 15:42:12 2005
++++ subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c Sat Jul 30 23:59:26 2005
+@@ -61,7 +61,8 @@ typedef struct hash_to_apr_hash_data_t
+ static VALUE
+ rb_ary_aref1(VALUE ary, VALUE arg)
+ {
+- VALUE args[1] = {arg};
++ VALUE args[1];
++ args[0] = arg;
+ return rb_ary_aref(1, args, ary);
+ }
+