From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: Re: ntfs-3g: Does it build? Date: Sat, 18 Feb 2017 18:11:34 -0500 Message-ID: <87lgt314d5.fsf@openmailbox.org> References: <20170218183255.7c1368a7@scratchpost.org> <87tw7rffba.fsf@openmailbox.org> <20170218231340.7c8127da@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfEAW-0005C0-NQ for guix-devel@gnu.org; Sat, 18 Feb 2017 18:11:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfEAS-00062p-3w for guix-devel@gnu.org; Sat, 18 Feb 2017 18:11:56 -0500 Received: from lb1.openmailbox.org ([5.79.108.160]:35367 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfEAR-000621-OL for guix-devel@gnu.org; Sat, 18 Feb 2017 18:11:52 -0500 In-Reply-To: <20170218231340.7c8127da@scratchpost.org> (Danny Milosavljevic's message of "Sat, 18 Feb 2017 23:13:40 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Danny Milosavljevic writes: > Hi Kei, > > I think the empty line except for the whitespace is the only important li= ne - see below. The number of spaces is different. > > diff --git a/gnu/packages/patches/ntfs-3g-CVE-2017-0358.patch b/gnu/packa= ges/patches/ntfs-3g-CVE-2017-0358.patch > index 6edd676e3..dfaeca080 100644 > --- a/gnu/packages/patches/ntfs-3g-CVE-2017-0358.patch > +++ b/gnu/packages/patches/ntfs-3g-CVE-2017-0358.patch > @@ -12,7 +12,7 @@ diff -ur ntfs-3g.old/src/lowntfs-3g.c ntfs-3g/src/lownt= fs-3g.c > + char *env =3D (char*)NULL; > struct timespec req =3D { 0, 100000000 }; /* 100 msec */ > fuse_fstype fstype; > -=20=20=20=20=20=20=20=20 > +=20=20=20=20=20=20=20=20=20 > if (!stat(cmd, &st) && !geteuid()) { > pid =3D fork(); > if (!pid) { Indeed. It looks like diff adds an extra space at the beginning of code lines to leave space for the + and - signs. Applying the patch let ntfs-3g build again on my side. Was there any change for you using the patch I just sent? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAlio1KYACgkQ5qXuPBlG eg3d0Q//aBOi1jhfyXMnFjnzUSgLRUkWvSKa3P3ylwD4fcK44AsU1Azn1ZT1JTA+ +pWZJ4OTiPxSNYjBkr4mHVQIwYPmY2gFA3EBlK80c95nn7AhnMLhZQ7r6pVctrdP VMpvOs2cCyaU8LVmS2/ZwdihqP2puCgWgEANR19apYsxyH4sSv/telikoJOhpsXr pEkJMMfgBM7XwHKPcn/c9f4doK6zmzotSYz3W2Uf669Kt2Tvcb6L0VibCXtzoeXA 0/4a8Kh0+0GlfXTYMMVWHo+yv/zDG58Ya3htWwW4vhQHZpS47zyruvHLRrCpPFTd eF+8T7We4saoqRMBdoZax/p9B+FHi/CnmiL8sefc5T8tO+WLZYfc5ZnKigwNFY6B /FNmjRCLeqnZsoMsIFyrnZ7BQj7Uy59QcXt7rYNHgM4xabzfNMXxHY5RT2jGHnpG dWfeoJOhZqpt8VaTA+furd62u3jEv4ngm6DysOzVbDqdbk+MNZp1NBGny8rnCdLK 408L6hHz2H8h1esD/E08W2s2lzoz+74VVtWls5/zOTeep/8ehNkpqA/aafKF4/D/ TlLs78VKzplyr+iGf3+ZjFlkS6x7kd5iuHB2JvloEBovdVIE+l4w63YzR6fK1Nca UwVM7Fu3EcXeMzh6kdFiwkuwu67Ocdbir2DEJcY4MJBQGwymqpY= =tJjc -----END PGP SIGNATURE----- --=-=-=--