From owner-freebsd-ruby@FreeBSD.ORG Wed Nov 5 23:42:00 2008 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18D801065676 for ; Wed, 5 Nov 2008 23:42:00 +0000 (UTC) (envelope-from daniel@roe.ch) Received: from calvin.ustdmz.roe.ch (calvin.ustdmz.roe.ch [IPv6:2001:41e0:ff17:face::26]) by mx1.freebsd.org (Postfix) with ESMTP id B8DF38FC23 for ; Wed, 5 Nov 2008 23:41:59 +0000 (UTC) (envelope-from daniel@roe.ch) Received: from roe ([2001:41e0:ff17:babe:205:4eff:fe4b:d088]) by calvin.ustdmz.roe.ch (envelope-from ) with LOCAL id 1KxrxT-00091H-Eh for freebsd-ruby@freebsd.org; Thu, 06 Nov 2008 00:38:43 +0100 Date: Thu, 6 Nov 2008 00:38:43 +0100 From: Daniel Roethlisberger To: freebsd-ruby@freebsd.org Message-ID: <20081105233843.GH33630@hobbes.ustdmz.roe.ch> Mail-Followup-To: freebsd-ruby@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Patches to rubygem ports X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2008 23:42:00 -0000 I maintain a rubygem port which needs a bit of gentle patching to get it to work fully. Since rubygem based ports do not unpack any sources into work, what is the `official' way to patch files contained in the rubygem? Adding files/patch-* will fail because there is no unpacked source directory... -- Daniel Roethlisberger http://daniel.roe.ch/ From owner-freebsd-ruby@FreeBSD.ORG Thu Nov 6 10:34:40 2008 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A283B1065678 for ; Thu, 6 Nov 2008 10:34:40 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id 567F18FC1D for ; Thu, 6 Nov 2008 10:34:39 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from [83.166.229.34] (helo=sputnik.SpringDaemons.com) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1Ky1NH-0005dE-11; Thu, 06 Nov 2008 12:41:59 +0300 Received: by sputnik.SpringDaemons.com (Postfix, from userid 1024) id 0EB5CB874; Thu, 6 Nov 2008 13:49:03 +0300 (MSK) Date: Thu, 6 Nov 2008 13:48:57 +0300 From: Stanislav Sedov To: Daniel Roethlisberger Message-Id: <20081106134857.edbc19dd.stas@FreeBSD.org> In-Reply-To: <20081105233843.GH33630@hobbes.ustdmz.roe.ch> References: <20081105233843.GH33630@hobbes.ustdmz.roe.ch> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprin: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Thu__6_Nov_2008_13_48_57_+0300_TSJ_lbSNllTcVmD7" Cc: freebsd-ruby@freebsd.org Subject: Re: Patches to rubygem ports X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2008 10:34:40 -0000 --Signature=_Thu__6_Nov_2008_13_48_57_+0300_TSJ_lbSNllTcVmD7 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 6 Nov 2008 00:38:43 +0100 Daniel Roethlisberger mentioned: > I maintain a rubygem port which needs a bit of gentle patching to > get it to work fully. Since rubygem based ports do not unpack > any sources into work, what is the `official' way to patch files > contained in the rubygem? Adding files/patch-* will fail because > there is no unpacked source directory... >=20 I don't think there's an easy way of doing this. Once I had to do the same task and ended with applying the patch by hand in the post-install stage. Ugly enough, but it worked. --=20 Stanislav Sedov ST4096-RIPE --Signature=_Thu__6_Nov_2008_13_48_57_+0300_TSJ_lbSNllTcVmD7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkSy58ACgkQK/VZk+smlYHHEgCePL87KNa2AEGh8wjSsdPuladi 1wcAn25jrjH6UqS9pzHJCB5L2Be+e1BH =3OJy -----END PGP SIGNATURE----- --Signature=_Thu__6_Nov_2008_13_48_57_+0300_TSJ_lbSNllTcVmD7--