From owner-svn-ports-all@freebsd.org Thu Jan 4 20:12:44 2018 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 A95EEEB39E9; Thu, 4 Jan 2018 20:12:44 +0000 (UTC) (envelope-from sunpoet@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 711F67E8D2; Thu, 4 Jan 2018 20:12:44 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w04KChtS056418; Thu, 4 Jan 2018 20:12:43 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w04KChbM056416; Thu, 4 Jan 2018 20:12:43 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201801042012.w04KChbM056416@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 4 Jan 2018 20:12:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458080 - in head/devel/rubygem-msgpack: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel/rubygem-msgpack: . files X-SVN-Commit-Revision: 458080 X-SVN-Commit-Repository: ports 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.25 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, 04 Jan 2018 20:12:44 -0000 Author: sunpoet Date: Thu Jan 4 20:12:43 2018 New Revision: 458080 URL: https://svnweb.freebsd.org/changeset/ports/458080 Log: Fix build with Ruby 2.4+ and unbreak this port Approved by: portmgr (blanket) MFH: 2018Q1 Added: head/devel/rubygem-msgpack/files/ head/devel/rubygem-msgpack/files/patch-ext-msgpack-core_ext.c (contents, props changed) Modified: head/devel/rubygem-msgpack/Makefile Modified: head/devel/rubygem-msgpack/Makefile ============================================================================== --- head/devel/rubygem-msgpack/Makefile Thu Jan 4 20:12:38 2018 (r458079) +++ head/devel/rubygem-msgpack/Makefile Thu Jan 4 20:12:43 2018 (r458080) @@ -14,8 +14,6 @@ USE_RUBY= yes USES= gem STRIPDIR= ${STAGEDIR}${PREFIX}/${GEMS_BASE_DIR} -BROKEN_RUBY24= yes - post-install: ${FIND} ${STRIPDIR} -type f \( -name '*.o' -o -name '*.so' \) | ${XARGS} ${STRIP_CMD} Added: head/devel/rubygem-msgpack/files/patch-ext-msgpack-core_ext.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-msgpack/files/patch-ext-msgpack-core_ext.c Thu Jan 4 20:12:43 2018 (r458080) @@ -0,0 +1,13 @@ +--- ext/msgpack/core_ext.c.orig 2018-01-03 15:29:36 UTC ++++ ext/msgpack/core_ext.c +@@ -118,8 +118,8 @@ void MessagePack_core_ext_module_init() + rb_define_method(rb_cNilClass, "to_msgpack", NilClass_to_msgpack, -1); + rb_define_method(rb_cTrueClass, "to_msgpack", TrueClass_to_msgpack, -1); + rb_define_method(rb_cFalseClass, "to_msgpack", FalseClass_to_msgpack, -1); +- rb_define_method(rb_cFixnum, "to_msgpack", Fixnum_to_msgpack, -1); +- rb_define_method(rb_cBignum, "to_msgpack", Bignum_to_msgpack, -1); ++ rb_define_method(rb_cInteger, "to_msgpack", Fixnum_to_msgpack, -1); ++ rb_define_method(rb_cInteger, "to_msgpack", Bignum_to_msgpack, -1); + rb_define_method(rb_cFloat, "to_msgpack", Float_to_msgpack, -1); + rb_define_method(rb_cString, "to_msgpack", String_to_msgpack, -1); + rb_define_method(rb_cArray, "to_msgpack", Array_to_msgpack, -1);