diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-09-15 12:12:15 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-09-15 12:12:15 +0000 |
commit | b22644f6616ddd539c97a11682b8cb5233391d78 (patch) | |
tree | d11a5c72e45d78f028faced24e10ff38ba54352d /graphics/ruby-gdchart/files | |
parent | Chase the gdchart update and bump PORTREVISION. (diff) |
Update to 0.0.9-beta and chase the gdchart update.
Diffstat (limited to 'graphics/ruby-gdchart/files')
-rw-r--r-- | graphics/ruby-gdchart/files/extconf.rb | 11 | ||||
-rw-r--r-- | graphics/ruby-gdchart/files/patch-gdchart.c | 23 |
2 files changed, 0 insertions, 34 deletions
diff --git a/graphics/ruby-gdchart/files/extconf.rb b/graphics/ruby-gdchart/files/extconf.rb deleted file mode 100644 index c7bc6233a5c1..000000000000 --- a/graphics/ruby-gdchart/files/extconf.rb +++ /dev/null @@ -1,11 +0,0 @@ -require 'mkmf' - -$CFLAGS << ' -DHAVE_JPEG' -dir_config('gd', '/usr/local') -dir_config('gdchart', '/usr/local') -have_library('z') -have_library('png') -have_library('jpeg') -have_library('gd') -have_library('gdchart') -create_makefile("GDChart") diff --git a/graphics/ruby-gdchart/files/patch-gdchart.c b/graphics/ruby-gdchart/files/patch-gdchart.c deleted file mode 100644 index fe12eeda2968..000000000000 --- a/graphics/ruby-gdchart/files/patch-gdchart.c +++ /dev/null @@ -1,23 +0,0 @@ ---- gdchart.c.orig Mon Nov 27 00:47:58 2000 -+++ gdchart.c Mon Jul 16 17:23:54 2001 -@@ -16,6 +16,11 @@ - #include "rubyio.h" - - VALUE -+mgdc_get_image_type(VALUE obj) { return INT2FIX(GDC_image_type); } -+VALUE -+mgdc_set_image_type(VALUE obj, VALUE arg) { GDC_image_type = FIX2INT(arg); } -+ -+VALUE - mgdc_get_ytitle(VALUE obj) { return rb_str_new2(GDC_ytitle); } - VALUE - mgdc_set_ytitle(VALUE obj, VALUE arg) { GDC_ytitle = STR2CSTR(arg); } -@@ -443,6 +448,8 @@ - #endif - rb_define_module_function(mGDChart, "out_graph", mgdc_out_graph, 8); - -+ rb_define_module_function(mGDChart, "image_type", mgdc_get_image_type, 0); -+ rb_define_module_function(mGDChart, "image_type=", mgdc_set_image_type, 1); - rb_define_module_function(mGDChart, "ytitle", mgdc_get_ytitle, 0); - rb_define_module_function(mGDChart, "ytitle=", mgdc_set_ytitle, 1); - rb_define_module_function(mGDChart, "xtitle", mgdc_get_xtitle, 0); |