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

Jeremy Messenger mezz7 at cox.net
Mon Apr 12 20:00:44 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list