Fixed to work with portage fakeroot patch, ebuild tries to overwrite a
authorJ Robert Ray <jrray@gentoo.org>
Mon, 28 Oct 2002 22:13:02 +0000 (22:13 +0000)
committerJ Robert Ray <jrray@gentoo.org>
Mon, 28 Oct 2002 22:13:02 +0000 (22:13 +0000)
file with 0444 perms and non-root can't do that.

x11-base/xfree/ChangeLog
x11-base/xfree/xfree-4.2.1.ebuild

index 17b2c82cff08e584f6ecc9010b42528eb1154cef..a2209f65ee848fac78539962f31400fd6720643e 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for x11-base/xfree
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/ChangeLog,v 1.53 2002/10/28 10:07:27 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/ChangeLog,v 1.54 2002/10/28 22:13:02 jrray Exp $
+
+  28 Oct 2002; J Robert Ray <jrray@jrray.org> xfree-4.2.1.ebuild :
+
+  Allow unpriviliged user install, non-root fails to overwrite file
+  with 0444 perms.
 
   28 Oct 2002; Martin Schlemmer <azarah@gentoo.org> xfree-4.2.1.ebuild,
                                                     xfs.start :
index 4cf37cf04aaa2b9e2e36157bd309afe526121002..15e643110a22d0b2a61d1182809adfa4a45ea1ea 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.2.1.ebuild,v 1.26 2002/10/28 15:42:57 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.2.1.ebuild,v 1.27 2002/10/28 22:13:02 jrray Exp $
 
 IUSE="sse nls mmx truetype 3dnow 3dfx"
 
@@ -277,6 +277,7 @@ src_unpack() {
        # Get Xrender to also install its extension headers, as they need to
        # be updated.
        cp ${S}/lib/Xrender/Imakefile ${S}/lib/Xrender/Imakefile.orig
+       chmod 0644 ${S}/lib/Xrender/Imakefile
        sed -e '2i NONSTANDARD_HEADERS = extutil.h region.h render.h renderproto.h' \
                ${S}/lib/Xrender/Imakefile.orig > ${S}/lib/Xrender/Imakefile