Date: Mon, 12 Apr 2004 14:26:56 -0500 (CDT) From: Jeremy Messenger <mezz7@cox.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/65466: Maintainer update: databases/ruby-libgda, fix build on 4.x. Message-ID: <200404121926.i3CJQucB024730@ns1.mezzweb.com> Resent-Message-ID: <200404122000.i3CK0hBg004312@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65466 >Category: ports >Synopsis: Maintainer update: databases/ruby-libgda, fix build on 4.x. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Apr 12 13:00:43 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Mezz >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD ns1.mezzweb.com 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Mar 30 01:17:23 CST 2004 mezz@mezz.mezzweb.com:/usr/src/sys/i386/compile/BSDROCKS i386 >Description: Fix build on 4.x. Reported by: bento via FreeBSD ports monitoring system[1] [1] http://portsmon.firepipe.net/ >How-To-Repeat: n/a >Fix: I am not skill on C, so please let me know if this isn't correct patch. It's untest patch, since I don't have any 4.x box. I am planning to create a chroot of 4.x on 5.x box in future. --- ruby-libgda.diff begins here --- 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 14:46:17 2004 @@ -0,0 +1,15 @@ +--- libgda/src/rbgdacommand.c.orig Mon Apr 12 14:43:02 2004 ++++ libgda/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) { --- ruby-libgda.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404121926.i3CJQucB024730>