From owner-svn-ports-head@FreeBSD.ORG Wed Apr 16 08:01:48 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CECBDE7; Wed, 16 Apr 2014 08:01:48 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BBA881ADD; Wed, 16 Apr 2014 08:01:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3G81mF2003589; Wed, 16 Apr 2014 08:01:48 GMT (envelope-from dinoex@svn.freebsd.org) Received: (from dinoex@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3G81mAE003587; Wed, 16 Apr 2014 08:01:48 GMT (envelope-from dinoex@svn.freebsd.org) Message-Id: <201404160801.s3G81mAE003587@svn.freebsd.org> From: Dirk Meyer Date: Wed, 16 Apr 2014 08:01:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351374 - in head/textproc/eruby: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2014 08:01:48 -0000 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) {