diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-19 20:36:05 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-19 20:36:05 +0000 |
commit | 67a55c471a915a0a7981181a773d0bfe6cf76af4 (patch) | |
tree | c5ebac9d2b80e8ace99d9625dbc7a3d60f30a124 | |
parent | fb028a75d4f75b2e12f6cd3a18e154136dd485ec (diff) | |
download | ports-67a55c471a915a0a7981181a773d0bfe6cf76af4.tar.gz ports-67a55c471a915a0a7981181a773d0bfe6cf76af4.zip |
Notes
-rw-r--r-- | japanese/ruby-kakasi/Makefile | 1 | ||||
-rw-r--r-- | japanese/ruby-kakasi/files/patch-kakasi.c | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/japanese/ruby-kakasi/Makefile b/japanese/ruby-kakasi/Makefile index 00497db6e379..5b25e5dc2ff9 100644 --- a/japanese/ruby-kakasi/Makefile +++ b/japanese/ruby-kakasi/Makefile @@ -7,6 +7,7 @@ PORTNAME= kakasi PORTVERSION= 000124 +PORTREVISION= 1 CATEGORIES= japanese ruby MASTER_SITES= http://www.notwork.org/~gotoken/ruby/p/kakasi/ DIST_SUBDIR= ruby diff --git a/japanese/ruby-kakasi/files/patch-kakasi.c b/japanese/ruby-kakasi/files/patch-kakasi.c new file mode 100644 index 000000000000..e56e8f2be75f --- /dev/null +++ b/japanese/ruby-kakasi/files/patch-kakasi.c @@ -0,0 +1,13 @@ +--- kakasi.c~ Sun Jan 23 19:16:28 2000 ++++ kakasi.c Wed Mar 14 15:26:42 2001 +@@ -70,7 +70,9 @@ + while (i < RSTRING(src)->len) { + if (*(RSTRING(src)->ptr + i) != '\0') { + buf = kakasi_do((RSTRING(src)->ptr + i)); +- rb_str_concat(dst, rb_str_new2(buf)); ++ if (buf) { ++ rb_str_concat(dst, rb_str_new2(buf)); ++ } + free(buf); + while (*(RSTRING(src)->ptr + i) != '\0') { + i++; |