Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2004 14:40:19 -0700 (PDT)
From:      Jeremy Messenger <mezz7@cox.net>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/65466: Maintainer update: databases/ruby-libgda, fix build on 4.x.
Message-ID:  <200404122140.i3CLeJKB019354@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/65466; it has been noted by GNATS.

From: Jeremy Messenger <mezz7@cox.net>
To: freebsd-gnats-submit@FreeBSD.org, mezz7@cox.net
Cc:  
Subject: Re: ports/65466: Maintainer update: databases/ruby-libgda, fix build on 4.x.
Date: Mon, 12 Apr 2004 16:38:42 -0500

 ------------DazIo6merVGiYqf3es6Qyn
 Content-Type: text/plain; format=flowed; charset=iso-8859-1
 Content-Transfer-Encoding: 8bit
 
 Oops, I forgot to save it in the gvim.. Here's an attach to patch it 
 correct.
 
 Cheers,
 Mezz
 
 
 -- 
 bsdforums.org 's moderator, mezz.
 ------------DazIo6merVGiYqf3es6Qyn
 Content-Disposition: attachment; filename=ruby-libgda.diff
 Content-Type: text/plain; name=ruby-libgda.diff
 Content-Transfer-Encoding: 8bit
 
 diff -urN ruby-libgda.orig/files/patch-libgda::src::rbgdacommand.c ruby-libgda/files/patch-libgda::src::rbgdacommand.c
 --- ruby-libgda.orig/files/patch-libgda::src::rbgdacommand.c	Wed Dec 31 18:00:00 1969
 +++ ruby-libgda/files/patch-libgda::src::rbgdacommand.c	Mon Apr 12 16:36:12 2004
 @@ -0,0 +1,15 @@
 +--- src/rbgdacommand.c.orig	Mon Apr 12 14:43:02 2004
 ++++ src/rbgdacommand.c	Mon Apr 12 14:45:53 2004
 +@@ -62,10 +62,11 @@
 +     int argc;
 +     VALUE *argv, self;
 + {
 ++    GdaCommand *cmd;
 +     VALUE text, command_type, options;
 + 
 +     rb_scan_args(argc, argv, "21", &text, &command_type, &options);
 +-    GdaCommand *cmd = gda_command_new(RVAL2CSTR(text),
 ++    cmd = gda_command_new(RVAL2CSTR(text),
 +                                       RVAL2GENUM(command_type, GDA_TYPE_COMMAND_TYPE),
 +                                       NIL_P(options) ? GDA_COMMAND_OPTION_STOP_ON_ERRORS : RVAL2GFLAGS(options, GDA_TYPE_COMMAND_OPTIONS));
 +     if (cmd != NULL) {
 
 ------------DazIo6merVGiYqf3es6Qyn--
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404122140.i3CLeJKB019354>