pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ruby-base Add patch for build problem on NetBSD/a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/25f2fe94367a
branches:  trunk
changeset: 471151:25f2fe94367a
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Mar 20 04:39:33 2004 +0000

description:
Add patch for build problem on NetBSD/amd64.
This patch was provided from krister (Krister Walfridsson).

Bump package revision.

diffstat:

 lang/ruby-base/Makefile         |   4 ++--
 lang/ruby-base/distinfo         |   4 ++--
 lang/ruby-base/patches/patch-al |  20 +++++++++++++++++++-
 3 files changed, 23 insertions(+), 5 deletions(-)

diffs (64 lines):

diff -r f7b78a1b9ed8 -r 25f2fe94367a lang/ruby-base/Makefile
--- a/lang/ruby-base/Makefile   Sat Mar 20 04:30:55 2004 +0000
+++ b/lang/ruby-base/Makefile   Sat Mar 20 04:39:33 2004 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.26 2004/03/16 02:01:11 taca Exp $
+# $NetBSD: Makefile,v 1.27 2004/03/20 04:39:33 taca Exp $
 # FreeBSD Id: ports/lang/ruby/Makefile,v 1.39 2000/10/20 19:56:03 knu Exp
 
 DISTNAME=      ${RUBY_DISTNAME}
 PKGNAME=       ${RUBY_PKGNAMEPREFIX}base-${RUBY_VERSION}
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    lang ruby
 MASTER_SITES=  ${MASTER_SITE_RUBY}
 
diff -r f7b78a1b9ed8 -r 25f2fe94367a lang/ruby-base/distinfo
--- a/lang/ruby-base/distinfo   Sat Mar 20 04:30:55 2004 +0000
+++ b/lang/ruby-base/distinfo   Sat Mar 20 04:39:33 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2004/03/15 15:55:08 taca Exp $
+$NetBSD: distinfo,v 1.14 2004/03/20 04:39:33 taca Exp $
 
 SHA1 (ruby/ruby-1.6.8.tar.gz) = 4b475ac1c837cd62b6dfe85359e1502a71b08cd1
 Size (ruby/ruby-1.6.8.tar.gz) = 1023403 bytes
@@ -9,7 +9,7 @@
 SHA1 (patch-af) = 33aa9f1e524e2f4a6dd2f1310ce7358744b83a8c
 SHA1 (patch-ag) = 4b5893b55253526af687bc81a9acea3686a00d39
 SHA1 (patch-aj) = d61950c108cda41a7a5227f02c583bc6e85e43bb
-SHA1 (patch-al) = 7c51627c37229d630bfa3852b2139c862b82e553
+SHA1 (patch-al) = 8a3e5eb250f517f10bea7f52fbfe8b05957b7bb4
 SHA1 (patch-am) = 2e096dcb882be923d2ff775a4271a300954a9dec
 SHA1 (patch-an) = 72461b10296cb9a03fc37bba6af69650c8777741
 SHA1 (patch-ao) = 1070614441174b30926ba1d8a4d1a4718172ce4b
diff -r f7b78a1b9ed8 -r 25f2fe94367a lang/ruby-base/patches/patch-al
--- a/lang/ruby-base/patches/patch-al   Sat Mar 20 04:30:55 2004 +0000
+++ b/lang/ruby-base/patches/patch-al   Sat Mar 20 04:39:33 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-al,v 1.1 2004/03/12 04:59:20 taca Exp $
+$NetBSD: patch-al,v 1.2 2004/03/20 04:39:34 taca Exp $
 
 --- eval.c.orig        2002-12-16 16:34:22.000000000 +0900
 +++ eval.c
@@ -12,3 +12,21 @@
      return Qfalse;
  }
  
+@@ -4489,7 +4490,7 @@ rb_call0(klass, recv, id, argc, argv, bo
+                       rb_raise(rb_eArgError, "wrong # of arguments(%d for %d)",
+                                argc, i);
+                   }
+-                  if (node->nd_rest == -1) {
++                  if ((int)node->nd_rest == -1) {
+                       int opt = i;
+                       NODE *optnode = node->nd_opt;
+ 
+@@ -4525,7 +4526,7 @@ rb_call0(klass, recv, id, argc, argv, bo
+                               rb_eval(recv, opt);
+                           }
+                       }
+-                      if (node->nd_rest >= 0) {
++                      if ((int)node->nd_rest >= 0) {
+                           VALUE v;
+ 
+                           if (argc > 0)



Home | Main Index | Thread Index | Old Index