Overview

Request 5011 (accepted)

- Add 9c91b8.patch to fix wromng directory access which leads to EACCESS

Submit package home:bitstreamout:Multimedia / grip to package Multimedia / grip

grip.changes Changed
x
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Thu Feb 27 12:51:48 UTC 2020 - Werner Fink <werner@suse.de>
4
+
5
+- Add 9c91b8.patch to fix wromng directory access which leads to EACCESS 
6
+
7
+-------------------------------------------------------------------
8
 Mon Feb 17 13:45:35 UTC 2020 - Werner Fink <werner@suse.de>
9
 
10
 - Update to version v4.1.0
11
grip.spec Changed
17
 
1
@@ -25,6 +25,7 @@
2
 URL:            https://sourceforge.net/projects/grip
3
 Source:         https://sourceforge.net/projects/grip/files/%{version}/%{name}-%{version}.tar.gz
4
 Patch0:         grip-configure.patch
5
+Patch1:         9c91b8.patch
6
 BuildRequires:  autoconf
7
 BuildRequires:  automake
8
 BuildRequires:  cdparanoia-devel
9
@@ -63,6 +64,7 @@
10
 %prep
11
 %setup -q
12
 %patch0 -p1
13
+%patch1 -p0
14
 
15
 %build
16
 autoreconf -fiv
17
9c91b8.patch Added
27
 
1
@@ -0,0 +1,25 @@
2
+From 9c91b83a1035ca41f304d5fe66bb028b87240247 Mon Sep 17 00:00:00 2001
3
+From: "Johnny A. Solbu" <johnny@solbu.net>
4
+Date: Wed, 5 Feb 2020 14:31:49 +0100
5
+Subject: [PATCH] Patch from Till Bargheer: fix directory creation
6
+
7
+---
8
+ src/rip.c | 2 +-
9
+ 1 file changed, 1 insertion(+), 1 deletion(-)
10
+
11
+diff --git src/rip.c src/rip.c
12
+index dd87ceb..3141759 100644
13
+--- src/rip.c
14
++++ src/rip.c
15
+@@ -503,7 +503,7 @@ gboolean CanWrite(char *path)
16
+ 
17
+ static void MakeDirs(char *path)
18
+ {
19
+-  char *dir = g_path_get_basename(path);
20
++  char *dir = g_path_get_dirname(path);
21
+   g_mkdir_with_parents(dir, 0777);
22
+   g_free(dir);
23
+ }
24
+-- 
25
+2.16.4
26
+
27
Refresh
Refresh
Request History
bitstreamout's avatar

bitstreamout created request about 5 years ago

- Add 9c91b8.patch to fix wromng directory access which leads to EACCESS


Olaf Hering's avatar

olh accepted request about 5 years ago