From dd33fdbc742aceaec45bfa973c9b725dd26b99b4 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Sun, 18 Dec 2005 01:49:40 +0000 Subject: Added patch to respect user umask setting, from David Brown in bug #97577. Package-Manager: portage-2.1_pre1 --- .../dvdbackup/files/digest-dvdbackup-0.1.1-r2 | 1 + .../dvdbackup/files/dvdbackup-0.1.1-mkdir.patch | 29 ++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 media-video/dvdbackup/files/digest-dvdbackup-0.1.1-r2 create mode 100644 media-video/dvdbackup/files/dvdbackup-0.1.1-mkdir.patch (limited to 'media-video/dvdbackup/files') diff --git a/media-video/dvdbackup/files/digest-dvdbackup-0.1.1-r2 b/media-video/dvdbackup/files/digest-dvdbackup-0.1.1-r2 new file mode 100644 index 000000000000..caea4610d6a4 --- /dev/null +++ b/media-video/dvdbackup/files/digest-dvdbackup-0.1.1-r2 @@ -0,0 +1 @@ +MD5 53a071d1def5ee49d702a4dd080d25ac dvdbackup-0.1.1.tar.gz 24806 diff --git a/media-video/dvdbackup/files/dvdbackup-0.1.1-mkdir.patch b/media-video/dvdbackup/files/dvdbackup-0.1.1-mkdir.patch new file mode 100644 index 000000000000..0b16285a37c1 --- /dev/null +++ b/media-video/dvdbackup/files/dvdbackup-0.1.1-mkdir.patch @@ -0,0 +1,29 @@ +--- src/dvdbackup.c.orig 2005-07-01 00:12:36.000000000 -0700 ++++ src/dvdbackup.c 2005-07-01 00:12:52.000000000 -0700 +@@ -2506,7 +2506,7 @@ + fprintf(stderr,"The target directory is not valid, it may be a ordinary file\n"); + } + } else { +- if (mkdir(targetname, S_IRUSR | S_IWUSR | S_IXUSR) != 0) { ++ if (mkdir(targetname, 0777) != 0) { + fprintf(stderr,"Faild creating target directory\n"); + perror(""); + DVDClose(_dvd); +@@ -2522,7 +2522,7 @@ + fprintf(stderr,"The title directory is not valid, it may be a ordinary file\n"); + } + } else { +- if (mkdir(targetname, S_IRUSR | S_IWUSR | S_IXUSR) != 0) { ++ if (mkdir(targetname, 0777) != 0) { + fprintf(stderr,"Faild creating title directory\n"); + perror(""); + DVDClose(_dvd); +@@ -2537,7 +2537,7 @@ + fprintf(stderr,"The VIDEO_TS directory is not valid, it may be a ordinary file\n"); + } + } else { +- if (mkdir(targetname, S_IRUSR | S_IWUSR | S_IXUSR) != 0) { ++ if (mkdir(targetname, 0777) != 0) { + fprintf(stderr,"Faild creating VIDEO_TS directory\n"); + perror(""); + DVDClose(_dvd); -- cgit v1.2.3-65-gdbad