summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-07 08:47:29 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-07 08:47:29 +0000
commit9f64f2c714fb4bacb2f527dd7c1f78f1ebb5f82e (patch)
tree2a4dc54626a34486c7d918d8602930ada9af919f
parentinitial import (diff)
downloadgentoo-2-9f64f2c714fb4bacb2f527dd7c1f78f1ebb5f82e.tar.gz
gentoo-2-9f64f2c714fb4bacb2f527dd7c1f78f1ebb5f82e.tar.bz2
gentoo-2-9f64f2c714fb4bacb2f527dd7c1f78f1ebb5f82e.zip
dont create mp3 files +x
(Portage version: 2.0.51.21-r1)
-rw-r--r--media-sound/poc/files/poc-0.4.1-file-perms.patch9
-rw-r--r--media-sound/poc/poc-0.4.1.ebuild3
2 files changed, 11 insertions, 1 deletions
diff --git a/media-sound/poc/files/poc-0.4.1-file-perms.patch b/media-sound/poc/files/poc-0.4.1-file-perms.patch
new file mode 100644
index 000000000000..ee23d90ab82b
--- /dev/null
+++ b/media-sound/poc/files/poc-0.4.1-file-perms.patch
@@ -0,0 +1,9 @@
+Creating mp3 files with u+x attributes is just silly
+
+--- file.c
++++ file.c
+@@ -136,3 +136,3 @@
+ file->fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC,
+- S_IRWXU | S_IRGRP | S_IROTH);
++ S_IRUSR|S_IWUSR | S_IRGRP | S_IROTH);
+
diff --git a/media-sound/poc/poc-0.4.1.ebuild b/media-sound/poc/poc-0.4.1.ebuild
index 91f08a2be78b..89ffb3ec5bf3 100644
--- a/media-sound/poc/poc-0.4.1.ebuild
+++ b/media-sound/poc/poc-0.4.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/poc/poc-0.4.1.ebuild,v 1.1 2005/05/07 08:42:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/poc/poc-0.4.1.ebuild,v 1.2 2005/05/07 08:47:29 vapier Exp $
inherit eutils
@@ -25,6 +25,7 @@ src_unpack() {
-e '/^PREFIX/s:/local::' \
Makefile
epatch "${FILESDIR}"/${P}-fec-pkt-prototype.patch
+ epatch "${FILESDIR}"/${P}-file-perms.patch
}
src_install() {