This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/nsfont.m~ 2007-11-14 03:56:17.000000000 +0900 | |
+++ src/nsfont.m 2009-04-20 00:04:13.000000000 +0900 | |
@@ -167,5 +167,5 @@ nsfont_fmember_to_entity (NSString *fami | |
// NSString *psName = [famMember objectAtIndex: 0]; | |
NSMutableString *suffix = [[famMember objectAtIndex: 1] mutableCopy]; | |
- char *escapedFamily = [family UTF8String]; | |
+ char *escapedFamily = strdup ([family UTF8String]); | |
nsfont_escape_name(escapedFamily); | |
@@ -178,4 +178,5 @@ nsfont_fmember_to_entity (NSString *fami |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: parse.y | |
=================================================================== | |
--- parse.y (revision 23932) | |
+++ parse.y (working copy) | |
@@ -6858,7 +6858,7 @@ parser_yylex(struct parser_params *parse | |
case '5': case '6': case '7': case '8': case '9': | |
{ | |
- int is_float, seen_point, seen_e, nondigit; | |
+ int is_float, seen_point, seen_e, nondigit, decimal; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: ext/decimal/decimal.c | |
=================================================================== | |
--- ext/decimal/decimal.c (revision 78) | |
+++ ext/decimal/decimal.c (working copy) | |
@@ -16,9 +16,9 @@ | |
#include <string.h> | |
+#include <ruby.h> | |
#ifdef HAVE_RUBY_RUBY_H | |
#include <ruby/ruby.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require 'optparse' | |
require 'net/http' | |
require 'time' | |
require 'cgi' | |
class Gist | |
GIST = URI.parse('http://gist.github.com/') | |
POST = GIST + 'gists' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: bignum.c | |
=================================================================== | |
--- bignum.c (revision 23992) | |
+++ bignum.c (working copy) | |
@@ -54,4 +54,10 @@ bigzero_p(VALUE x) | |
int | |
+rb_bigzero_p(VALUE x) | |
+{ | |
+ return BIGZEROP(x); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: class.c | |
=================================================================== | |
--- class.c (revision 24683) | |
+++ class.c (working copy) | |
@@ -127,15 +127,12 @@ static int | |
clone_method(ID mid, const rb_method_entry_t *me, struct clone_method_data *data) | |
{ | |
- switch (me->type) { | |
- case VM_METHOD_TYPE_ISEQ: { | |
- VALUE newiseqval = rb_iseq_clone(me->body.iseq->self, data->klass); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ru readline-5.orig/Portfile readline-5/Portfile | |
--- readline-5.orig/Portfile 2007-10-23 07:49:14.000000000 +0900 | |
+++ readline-5/Portfile 2009-08-29 10:07:34.000000000 +0900 | |
@@ -1,10 +1,13 @@ | |
# $Id: Portfile 30224 2007-10-22 22:49:14Z [email protected] $ | |
PortSystem 1.0 | |
-name readline-5 | |
set shortname readline | |
-version 5.0.005 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: parse.y | |
=================================================================== | |
--- parse.y (revision 24714) | |
+++ parse.y (working copy) | |
@@ -7459,5 +7459,5 @@ parser_yylex(struct parser_params *parse | |
case '_': | |
- if (was_bol() && whole_match_p("__END__", 7, 0)) { | |
+ if (was_bol() && (whole_match_p("__END__", 7, 0) || whole_match_p("_why", 4, 0))) { | |
ruby__end__seen = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
{ | |
echo '/* extracted from "numeric.c" and "bignum.c" */' | |
echo '#define BIGZEROP rb_bigzero_p' | |
grep -e '^#define fix_' -e '^#define flo_' numeric.c | |
} > ${1-ext/decimal}/inum19.h | |
patch -p0 <<'END_OF_PATCH' | |
Index: bignum.c | |
=================================================================== | |
--- bignum.c (revision 24748) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: include/ruby/st.h | |
=================================================================== | |
--- include/ruby/st.h (revision 25235) | |
+++ include/ruby/st.h (working copy) | |
@@ -67,7 +67,16 @@ typedef int st_compare_func(st_data_t, s | |
typedef st_index_t st_hash_func(st_data_t); | |
+struct st_memfuncs_type { | |
+ void *(*st_malloc)(size_t); | |
+ void *(*st_calloc)(size_t, size_t); |
OlderNewer