svn commit: r351374 - in head/textproc/eruby: . files

Dirk Meyer dinoex at FreeBSD.org
Wed Apr 16 08:01:48 UTC 2014


Author: dinoex
Date: Wed Apr 16 08:01:48 2014
New Revision: 351374
URL: http://svnweb.freebsd.org/changeset/ports/351374
QAT: https://qat.redports.org/buildarchive/r351374/

Log:
  - fix unknown encodings with ruby 1.9.3

Modified:
  head/textproc/eruby/Makefile
  head/textproc/eruby/files/patch-eruby_main.c

Modified: head/textproc/eruby/Makefile
==============================================================================
--- head/textproc/eruby/Makefile	Wed Apr 16 06:30:31 2014	(r351373)
+++ head/textproc/eruby/Makefile	Wed Apr 16 08:01:48 2014	(r351374)
@@ -3,7 +3,7 @@
 
 PORTNAME=	eruby
 PORTVERSION=	1.0.5
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	textproc www ruby
 MASTER_SITES=	ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
 PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}

Modified: head/textproc/eruby/files/patch-eruby_main.c
==============================================================================
--- head/textproc/eruby/files/patch-eruby_main.c	Wed Apr 16 06:30:31 2014	(r351373)
+++ head/textproc/eruby/files/patch-eruby_main.c	Wed Apr 16 08:01:48 2014	(r351374)
@@ -1,5 +1,5 @@
---- eruby_main.c.orig	2010-02-17 16:59:10.000000000 +0100
-+++ eruby_main.c	2010-02-17 17:11:08.000000000 +0100
+--- eruby_main.c.orig	2013-12-01 21:58:55.000000000 +0100
++++ eruby_main.c	2014-04-15 17:33:49.000000000 +0200
 @@ -29,20 +29,37 @@
  #endif
  
@@ -92,7 +92,15 @@
      if (eclass == rb_eRuntimeError && RSTRING_LEN(einfo) == 0) {
  	fprintf(out, ": unhandled exception\n");
      }
-@@ -540,7 +564,7 @@
+@@ -455,6 +479,7 @@
+     rb_ary_push(rb_load_path, rb_str_new2("."));
+ #endif
+ #endif
++    rb_enc_find_index("encdb");
+     if (eruby_mode == MODE_CGI || eruby_mode == MODE_NPHCGI)
+ 	rb_set_safe_level(1);
+     eruby_init();
+@@ -540,7 +565,7 @@
  
  static void error(int state, VALUE code)
  {


More information about the svn-ports-all mailing list