ports/65466: Maintainer update: databases/ruby-libgda, fix build on 4.x.

Jeremy Messenger mezz7 at cox.net
Mon Apr 12 21:40:22 UTC 2004


The following reply was made to PR ports/65466; it has been noted by GNATS.

From: Jeremy Messenger <mezz7 at cox.net>
To: freebsd-gnats-submit at FreeBSD.org, mezz7 at 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--
 



More information about the freebsd-ports-bugs mailing list