From owner-svn-ports-all@freebsd.org Thu Dec 3 14:20:37 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05736A3FAC2; Thu, 3 Dec 2015 14:20:37 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 A84D819BC; Thu, 3 Dec 2015 14:20:36 +0000 (UTC) (envelope-from dinoex@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tB3EKZiA019393; Thu, 3 Dec 2015 14:20:35 GMT (envelope-from dinoex@FreeBSD.org) Received: (from dinoex@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB3EKZp1019391; Thu, 3 Dec 2015 14:20:35 GMT (envelope-from dinoex@FreeBSD.org) Message-Id: <201512031420.tB3EKZp1019391@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dinoex set sender to dinoex@FreeBSD.org using -f From: Dirk Meyer Date: Thu, 3 Dec 2015 14:20:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r402875 - in head/graphics/ruby-gd: . 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-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 14:20:37 -0000 Author: dinoex Date: Thu Dec 3 14:20:35 2015 New Revision: 402875 URL: https://svnweb.freebsd.org/changeset/ports/402875 Log: - fix build for ruby >= 2.1 Modified: head/graphics/ruby-gd/Makefile head/graphics/ruby-gd/files/patch-GD.c Modified: head/graphics/ruby-gd/Makefile ============================================================================== --- head/graphics/ruby-gd/Makefile Thu Dec 3 13:05:49 2015 (r402874) +++ head/graphics/ruby-gd/Makefile Thu Dec 3 14:20:35 2015 (r402875) @@ -3,7 +3,7 @@ PORTNAME= gd PORTVERSION= 0.8.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics ruby MASTER_SITES= http://www.daifukuya.com/archive/kagemai/lib/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} @@ -17,8 +17,7 @@ COMMENT= Ruby extension library to use T LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ libgd.so:${PORTSDIR}/graphics/gd -BROKEN_RUBY21= yes -BROKEN_RUBY22= yes +BROKEN_RUBY20= yes USE_RUBY= yes USE_RUBY_EXTCONF= yes Modified: head/graphics/ruby-gd/files/patch-GD.c ============================================================================== --- head/graphics/ruby-gd/files/patch-GD.c Thu Dec 3 13:05:49 2015 (r402874) +++ head/graphics/ruby-gd/files/patch-GD.c Thu Dec 3 14:20:35 2015 (r402875) @@ -1,6 +1,6 @@ ---- GD.c.orig Tue Feb 6 15:47:42 2001 -+++ GD.c Mon Feb 12 19:39:15 2001 -@@ -1200,7 +1200,7 @@ +--- GD.c.orig 2001-05-30 16:14:17.000000000 +0200 ++++ GD.c 2015-12-03 15:03:58.428323000 +0100 +@@ -1191,7 +1191,7 @@ Check_Type(fontname, T_STRING); Check_Type(string, T_STRING); @@ -9,7 +9,7 @@ &brect[0], NUM2INT(fgcolor), RSTRING(fontname)->ptr, -@@ -1232,7 +1232,7 @@ +@@ -1223,7 +1223,7 @@ Check_Type(string, T_STRING); Data_Get_Struct(img, gdImage, im); @@ -18,7 +18,16 @@ &brect[0], NUM2INT(fgcolor), RSTRING(fontname)->ptr, -@@ -1971,7 +1971,9 @@ +@@ -1613,7 +1613,7 @@ + { + VALUE self = rb_ary_new(); + +- RBASIC(self)->klass = klass; ++ rb_obj_reveal(self, klass); + return self; + } + +@@ -2508,7 +2508,9 @@ #endif #ifdef HAVE_GDIMAGESTRINGFT