summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-02-19 15:46:42 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2017-02-19 16:36:34 -0800
commit448b5d8a832f56338ef9120886c60ab9efe6bb85 (patch)
treed31d96467c40651f9ec71599b0d51d42abf6955b /media-sound/mp3val/files
parentnet-nds/openldap: drop unused ICU linkage (diff)
downloadgentoo-448b5d8a832f56338ef9120886c60ab9efe6bb85.tar.gz
gentoo-448b5d8a832f56338ef9120886c60ab9efe6bb85.tar.bz2
gentoo-448b5d8a832f56338ef9120886c60ab9efe6bb85.zip
media-sound/mp3val: new package, dependency for media-sound/beets[badfiles]
Package-Manager: portage-2.3.2
Diffstat (limited to 'media-sound/mp3val/files')
-rw-r--r--media-sound/mp3val/files/mp3val-0.1.8-open.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-sound/mp3val/files/mp3val-0.1.8-open.patch b/media-sound/mp3val/files/mp3val-0.1.8-open.patch
new file mode 100644
index 000000000000..2b844c1fac1e
--- /dev/null
+++ b/media-sound/mp3val/files/mp3val-0.1.8-open.patch
@@ -0,0 +1,11 @@
+--- mp3val-0.1.8-src/crossapi.cpp.orig 2010-05-03 10:45:53.000000000 -0700
++++ mp3val-0.1.8-src/crossapi.cpp 2017-02-19 23:38:21.000000000 -0000
+@@ -241,7 +241,7 @@
+ //Moving failed due to different logical drives of source and destination. Let's copy:
+ id=open(szOldName,O_RDONLY);
+ if(id==-1) return 0;
+- od=open(szNewName,O_WRONLY|O_CREAT|O_TRUNC);
++ od=open(szNewName, O_WRONLY|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
+ if(od==-1) {
+ close(id);
+ return 0;