summaryrefslogtreecommitdiff
path: root/devel/ruby-locale/files/patch-rblocale.c
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2017-01-28 11:18:44 +0000
committerRene Ladan <rene@FreeBSD.org>2017-01-28 11:18:44 +0000
commita8d756b01f9ff706209bd632b8c453969017e0d9 (patch)
tree0f032f2026aa998d5465c60da29d3e0e749a50c7 /devel/ruby-locale/files/patch-rblocale.c
parentjapanese/xyaku: expire on March 1st, this port is unmaintained and it (diff)
Remove expired ports:
2017-01-28 databases/ruby-rdbc1: Upstream no longer active 2017-01-28 databases/ruby-sybct: Upstream no longer active 2017-01-28 databases/ruby-o_dbm: Upstream no longer active 2017-01-28 databases/ruby-cdb: Upstream no longer active 2017-01-28 devel/ruby-rbison: Does not work on modern ruby 2017-01-28 devel/ruby-property: Upstream no longer exists 2017-01-28 devel/ruby-dialogs: Upstream no longer active 2017-01-28 devel/ruby-byaccr: Upstream no longer active 2017-01-28 devel/ruby-aspectr: Use rubygem-aspectr instead 2017-01-28 devel/ruby-locale: No longer useful 2017-01-28 devel/ruby-wirble: Upstream no longer active 2017-01-28 devel/ruby-tzfile: Upstream no longer exists 2017-01-28 devel/ruby-rreadline: Upstream no longer exists 2017-01-28 devel/ruby-intl: Use devel/rubygem-gettext instead 2017-01-28 graphics/ruby-imlib2: Upstream no longer active 2017-01-28 graphics/ruby-image_size: Upstream no longer active 2017-01-28 graphics/ruby-svg: Use graphics/rubygem-rsvg2 instead 2017-01-28 irc/ruby-rice: Upstream no longer active 2017-01-28 irc/ruby-rica: Upstream no longer active 2017-01-28 irc/ruby-irc: Upstream no longer active 2017-01-28 japanese/ruby-usersguide: Does not exist upstream 2017-01-28 japanese/ruby-mecab: Upstream no longer active 2017-01-28 mail/ruby-rmail: Upstream no longer active 2017-01-28 mail/ruby-rfilter: Upstream no longer active 2017-01-28 math/ruby-algebra: Use rubygem-algebra instead 2017-01-28 net/ruby-tserver: Upstream no longer active 2017-01-28 net/ruby-tcpsocketpipe: Upstream no longer active 2017-01-28 net/ruby-icmp: Upstream no longer active 2017-01-28 net/ruby-dict: Upstream no longer active 2017-01-28 palm/palmos-sdk: Upstream no longer exists 2017-01-28 security/ruby-hmac: Use www/rubygem-ruby-hmac instead 2017-01-28 security/ruby-tcpwrap: Upstream no longer active 2017-01-28 security/ruby-password: Upstream no longer active 2017-01-28 sysutils/ruby-quota: Upstream no longer active 2017-01-28 textproc/ruby-rss.alt: Upstream no longer active 2017-01-28 textproc/ruby-rss: Upstream no longer exists 2017-01-28 textproc/ruby-htmlrepair: Upstream no longer exists 2017-01-28 textproc/ruby-xmlscan: Upstream no longer active 2017-01-28 textproc/ruby-xml-configfile: Upstream no longer exists 2017-01-28 textproc/ruby-htmlsplit: Upstream no longer exists 2017-01-28 www/ruby-google: Upstream no longer active 2017-01-28 archivers/ruby-lha: Upstream no longer active 2017-01-28 x11/ruby-X11: Upstream no longer active 2017-01-28 audio/ruby-audiofile: Broken on modern versions of Ruby 2017-01-28 audio/ruby-mp3tag: Upstream no longer active 2017-01-28 converters/ruby-dump.rb: Upstream no longer active
Diffstat (limited to '')
-rw-r--r--devel/ruby-locale/files/patch-rblocale.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/devel/ruby-locale/files/patch-rblocale.c b/devel/ruby-locale/files/patch-rblocale.c
deleted file mode 100644
index 3b131522b2e5..000000000000
--- a/devel/ruby-locale/files/patch-rblocale.c
+++ /dev/null
@@ -1,32 +0,0 @@
---- rblocale.c.orig 2000-04-14 06:20:58.000000000 +0200
-+++ rblocale.c 2013-06-21 12:52:36.000000000 +0200
-@@ -27,10 +27,20 @@
- {
- char *ret;
-
-- ret = setlocale(NUM2INT(category), locale == Qnil ? "" : STR2CSTR(locale));
-+ ret = setlocale(NUM2INT(category), locale == Qnil ? "" : StringValuePtr(locale));
- return ret == NULL ? Qnil : rb_str_new2(ret);
- }
-
-+VALUE
-+locale_get( self, category )
-+ VALUE self, category;
-+{
-+ char *ret;
-+
-+ ret = setlocale(NUM2INT(category), NULL );
-+ return ret == NULL ? Qnil : rb_str_new2(ret);
-+}
-+
- void Init_locale()
- {
- char *curr_locale;
-@@ -44,6 +54,7 @@
- }
-
- rb_define_module_function(mLocale, "set", locale_set, 2);
-+ rb_define_module_function(mLocale, "get", locale_get, 1);
-
- rb_define_const(mLocale, "ALL", INT2FIX(LC_ALL));
- rb_define_const(mLocale, "COLLATE", INT2FIX(LC_COLLATE));