diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-04-17 00:57:37 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-04-17 00:57:37 +0000 |
commit | 2e1202a3115d454dde87a96095420ff642554389 (patch) | |
tree | 40c5fcda5b46d31e02de1b7f5638ac4142ed63ce /databases/ruby-libgda | |
parent | c2a3de67148d108c9d2f761b9b9e4844600a26cf (diff) | |
download | ports-2e1202a3115d454dde87a96095420ff642554389.tar.gz ports-2e1202a3115d454dde87a96095420ff642554389.zip |
Notes
Diffstat (limited to 'databases/ruby-libgda')
-rw-r--r-- | databases/ruby-libgda/Makefile | 2 | ||||
-rw-r--r-- | databases/ruby-libgda/files/patch-libgda::src::rbgdacommand.c | 15 |
2 files changed, 15 insertions, 2 deletions
diff --git a/databases/ruby-libgda/Makefile b/databases/ruby-libgda/Makefile index 4868f7db5aef..80542ac1d4b5 100644 --- a/databases/ruby-libgda/Makefile +++ b/databases/ruby-libgda/Makefile @@ -19,8 +19,6 @@ COMMENT= Ruby binding for libgda (GNOME-DB Project) RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2 -BROKEN= "Does not compile" - USE_RUBY= yes USE_GNOME= libgda2 USE_RUBY_EXTCONF= yes diff --git a/databases/ruby-libgda/files/patch-libgda::src::rbgdacommand.c b/databases/ruby-libgda/files/patch-libgda::src::rbgdacommand.c new file mode 100644 index 000000000000..62825042fe67 --- /dev/null +++ b/databases/ruby-libgda/files/patch-libgda::src::rbgdacommand.c @@ -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) { |