summaryrefslogtreecommitdiff
path: root/japanese/ruby-ming/files/patch-ext-ming-ming-swffont.c
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 /japanese/ruby-ming/files/patch-ext-ming-ming-swffont.c
parent- Remove ALL_TARGETS from OPTIONS_DEFAULT as target-ppc doesn't build (diff)
Remove expired ports
Keep some which are optional dependencies of non-expired ports 2014-09-18 sysutils/moreutils-parallel: Use moreutils-parallel in sysutils/moreutils instead 2014-09-20 science/ruby-netcdf: Depends on deprecated math/ruby-narray 2014-09-20 x11-toolkits/ruby-fox16: RubyForge shutdown May 15 2014 2014-09-20 math/ruby-gnuplot: Depends on deprecated math/ruby-narray 2014-09-20 science/ruby-gphys: Depends on deprecated math/ruby-narray 2014-09-20 math/ruby-fftw3: Depends on deprecated math/ruby-narray 2014-09-20 science/ruby-dcl: Depends on deprecated math/ruby-narray 2014-09-20 math/ruby-numru_misc: Depends on deprecated math/ruby-narray 2014-09-20 math/ruby-narray: RubyForge shutdown May 15 2014 2014-09-20 textproc/ruby-liquid: RubyForge shutdown May 15 2014 2014-09-20 comms/callsign: RubyForge shutdown May 15 2014 2014-09-20 misc/ruby-vpim: RubyForge shutdown May 15 2014 2014-09-20 net/ruby-ldap: RubyForge shutdown May 15 2014 2014-09-20 devel/rubygem-echoe: Depends on deprecated rubyforge 2014-09-20 www/ruby-borges: RubyForge shutdown May 15 2014 2014-09-20 www/ruby-fcgiwrap: RubyForge shutdown May 15 2014 2014-09-20 www/rubygem-scrubyt: RubyForge shutdown May 15 2014 2014-09-20 devel/ruby-multi: RubyForge shutdown May 15 2014 2014-09-20 databases/ruby-dbd_sqlite3: RubyForge shutdown May 15 2014 2014-09-20 math/ruby-gsl: RubyForge shutdown May 15 2014 2014-09-20 security/ruby-gpgme: RubyForge shutdown May 15 2014 2014-09-20 multimedia/vodcatcher: RubyForge shutdown May 15 2014 2014-09-20 japanese/ruby-ming: RubyForge shutdown May 15 2014 2014-09-20 devel/ruby-statgrab: RubyForge shutdown May 15 2014 2014-09-20 security/ruby-crypt: RubyForge shutdown May 15 2014 2014-09-20 sysutils/philesight: Depends on deprecated devel/ruby-locale2 2014-09-20 multimedia/podcatcher: RubyForge shutdown May 15 2014 2014-09-20 audio/ruby-mp3info: RubyForge shutdown May 15 2014 2014-09-20 multimedia/ruby-flvtool2: RubyForge shutdown May 15 2014 2014-09-20 audio/ruby-freedb: RubyForge shutdown May 15 2014 2014-09-20 graphics/ruby-ming: RubyForge shutdown May 15 2014 2014-09-20 devel/ruby-locale2: RubyForge shutdown May 15 2014 2014-09-20 devel/rubygem-rubyforge: RubyForge shutdown May 15 2014 2014-09-20 databases/ruby-dbd_odbc: RubyForge shutdown May 15 2014 2014-09-20 devel/ruby-fastri: RubyForge shutdown May 15 2014 2014-09-20 devel/ri-emacs: RubyForge shutdown May 15 2014 2014-09-20 security/p5-openxpki-client-html-mason: security/p5-openxpki-0.15+ abandoned Mason UI technology in favor of FastCGI
Notes
Notes: svn path=/head/; revision=368630
Diffstat (limited to 'japanese/ruby-ming/files/patch-ext-ming-ming-swffont.c')
-rw-r--r--japanese/ruby-ming/files/patch-ext-ming-ming-swffont.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/japanese/ruby-ming/files/patch-ext-ming-ming-swffont.c b/japanese/ruby-ming/files/patch-ext-ming-ming-swffont.c
deleted file mode 100644
index 7446c1295483..000000000000
--- a/japanese/ruby-ming/files/patch-ext-ming-ming-swffont.c
+++ /dev/null
@@ -1,31 +0,0 @@
---- ext/ming/ming/swffont.c.orig 2003-09-28 12:51:28.000000000 +0900
-+++ ext/ming/ming/swffont.c 2014-01-29 17:11:21.000000000 +0900
-@@ -44,16 +44,16 @@
- VALUE self, n;
- {
- struct RSWFFont *f = ALLOC(struct RSWFFont);
-- char *name = STR2CSTR(n), *ext;
-+ char *name = StringValuePtr(n), *ext;
- size_t len;
- FILE *fp;
- VALUE obj;
-
- VALUE path = rb_cv_get(rb_cSWFFont, "@@font_path");
-- len = RSTRING(n)->len;
-+ len = RSTRING_LEN(n);
-
- if(len > 4) {
-- ext = &name[RSTRING(n)->len - 4];
-+ ext = &name[RSTRING_LEN(n) - 4];
-
- if (strncmp_ignore_case(ext, ".fdb", 4) == 0) {
- fp = search_file(path, name, "rb");
-@@ -92,7 +92,7 @@
-
- Data_Get_Struct(self, struct RSWFFont, f);
-
-- return rb_float_new(SWFFont_getStringWidth(f->this, STR2CSTR(s)));
-+ return rb_float_new(SWFFont_getStringWidth(f->this, StringValuePtr(s)));
- }
-
- static VALUE