aboutsummaryrefslogtreecommitdiff
path: root/graphics/ruby-ming/files
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-09-20 09:45:04 +0000
committerRene Ladan <rene@FreeBSD.org>2014-09-20 09:45:04 +0000
commit7eafff56c32b3a327a2d6f3cab6f3a5e55c2ba19 (patch)
tree69269ef3e9a7ae8477e6ffd09cd1daa5bd0bedda /graphics/ruby-ming/files
parent892b5feac5fab1cee55e411062efbdc98bc2868b (diff)
downloadports-7eafff56c32b3a327a2d6f3cab6f3a5e55c2ba19.tar.gz
ports-7eafff56c32b3a327a2d6f3cab6f3a5e55c2ba19.zip
Notes
Diffstat (limited to 'graphics/ruby-ming/files')
-rw-r--r--graphics/ruby-ming/files/patch-ext_ming_mingc_extconf.rb16
-rw-r--r--graphics/ruby-ming/files/patch-ext_ming_mingc_swfbitmap.c11
-rw-r--r--graphics/ruby-ming/files/patch-ext_ming_mingc_swfbutton.c28
-rw-r--r--graphics/ruby-ming/files/patch-ext_ming_mingc_swffiltermatrix.c14
-rw-r--r--graphics/ruby-ming/files/patch-ext_ming_mingc_swftext.c11
5 files changed, 0 insertions, 80 deletions
diff --git a/graphics/ruby-ming/files/patch-ext_ming_mingc_extconf.rb b/graphics/ruby-ming/files/patch-ext_ming_mingc_extconf.rb
deleted file mode 100644
index aba5bdb43183..000000000000
--- a/graphics/ruby-ming/files/patch-ext_ming_mingc_extconf.rb
+++ /dev/null
@@ -1,16 +0,0 @@
---- ./ext/ming/mingc/extconf.rb.orig 2012-02-20 11:14:31.882019318 -0500
-+++ ./ext/ming/mingc/extconf.rb 2012-02-20 11:14:39.481020051 -0500
-@@ -7,11 +7,11 @@
- dir_config('freetype')
- dir_config('ming')
- dir_config('png')
--dir_config('ungif')
-+dir_config('gif')
- dir_config('z')
-
- @headers = ['ming.h']
--@libs = ['freetype', 'png', 'ungif', 'z', 'ming']
-+@libs = ['freetype', 'png', 'gif', 'z', 'ming']
- @missing = {
- # 'basename' => ['char *basename(const char *path);', ['libgen.h']],
- }
diff --git a/graphics/ruby-ming/files/patch-ext_ming_mingc_swfbitmap.c b/graphics/ruby-ming/files/patch-ext_ming_mingc_swfbitmap.c
deleted file mode 100644
index 9041c9b173b4..000000000000
--- a/graphics/ruby-ming/files/patch-ext_ming_mingc_swfbitmap.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- ext/ming/mingc/swfbitmap.c.orig 2011-08-08 14:02:17.000000000 +0000
-+++ ext/ming/mingc/swfbitmap.c 2011-08-08 14:02:53.000000000 +0000
-@@ -58,7 +58,7 @@
- RAISE_NOF(filename);
-
- if(NIL_P(a)) {
-- len = RSTRING(f)->len;
-+ len = RSTRING_LEN(f);
- if(len > 5) {
- ext = &filename[len - 5];
- if(strncmp(ext, ".jpeg", 5) == 0) {
diff --git a/graphics/ruby-ming/files/patch-ext_ming_mingc_swfbutton.c b/graphics/ruby-ming/files/patch-ext_ming_mingc_swfbutton.c
deleted file mode 100644
index 52abd726b83e..000000000000
--- a/graphics/ruby-ming/files/patch-ext_ming_mingc_swfbutton.c
+++ /dev/null
@@ -1,28 +0,0 @@
---- ext/ming/mingc/swfbutton.c.orig 2011-08-08 14:03:05.000000000 +0000
-+++ ext/ming/mingc/swfbutton.c 2011-08-08 14:04:58.000000000 +0000
-@@ -49,10 +49,10 @@
- {
- if(TYPE(key) != T_STRING)
- rb_raise(rb_eMingError, "Argument must be a character on keyboard.");
-- if(RSTRING(key)->len != 1)
-+ if(RSTRING_LEN(key) != 1)
- rb_raise(rb_eMingError, "Size of argument must be just 1.");
-
-- return INT2FIX(SWFBUTTON_KEYPRESS(RSTRING(key)->ptr[0]));
-+ return INT2FIX(SWFBUTTON_KEYPRESS(RSTRING_PTR(key)[0]));
- }
-
- static VALUE
-@@ -61,10 +61,10 @@
- {
- if(TYPE(key) != T_STRING)
- rb_raise(rb_eMingError, "Argument must be a character on keyboard.");
-- if(RSTRING(key)->len != 1)
-+ if(RSTRING_LEN(key) != 1)
- rb_raise(rb_eMingError, "Size of argument must be just 1.");
-
-- return INT2FIX(SWFBUTTON_ONKEYPRESS(RSTRING(key)->ptr[0]));
-+ return INT2FIX(SWFBUTTON_ONKEYPRESS(RSTRING_PTR(key)[0]));
- }
-
- static VALUE
diff --git a/graphics/ruby-ming/files/patch-ext_ming_mingc_swffiltermatrix.c b/graphics/ruby-ming/files/patch-ext_ming_mingc_swffiltermatrix.c
deleted file mode 100644
index 329f5b171f19..000000000000
--- a/graphics/ruby-ming/files/patch-ext_ming_mingc_swffiltermatrix.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- ext/ming/mingc/swffiltermatrix.c.orig 2011-08-08 14:05:19.000000000 +0000
-+++ ext/ming/mingc/swffiltermatrix.c 2011-08-08 14:05:50.000000000 +0000
-@@ -43,9 +43,9 @@
- struct RSWFFilterMatrix *fm = ALLOC(struct RSWFFilterMatrix);
- int i;
-
-- int size = RARRAY(vals)->len;
-+ int size = RARRAY_LEN(vals);
- float *tab = (float *)malloc(cols*rows*sizeof(float));
-- VALUE *ptr = RARRAY(vals)->ptr;
-+ VALUE *ptr = RARRAY_PTR(vals);
-
- for (i=0;i<size;i++,ptr++) {
-
diff --git a/graphics/ruby-ming/files/patch-ext_ming_mingc_swftext.c b/graphics/ruby-ming/files/patch-ext_ming_mingc_swftext.c
deleted file mode 100644
index 5345005c774a..000000000000
--- a/graphics/ruby-ming/files/patch-ext_ming_mingc_swftext.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- ext/ming/mingc/swftext.c.orig 2011-08-08 14:06:21.000000000 +0000
-+++ ext/ming/mingc/swftext.c 2011-08-08 14:07:20.000000000 +0000
-@@ -150,7 +150,7 @@
- if (advance == Qnil) {
- adv = 0;
- } else {
-- len = RARRAY(advance)->len;
-+ len = RARRAY_LEN(advance);
- adv = ALLOC_N(int, len);
-
- /* unefficient, but easy to implement... */