aboutsummaryrefslogtreecommitdiff
path: root/devel/glib20
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2020-09-23 15:37:37 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2020-09-23 15:37:37 +0000
commit9c491d7c0f531ffaa275d5585c3cbaefc97936c5 (patch)
treeea58ff43f2e457b740414da827cb861ea9f6fce1 /devel/glib20
parent527499e0ed62a2c89e0991d61e9056bcdc3b4525 (diff)
downloadports-9c491d7c0f531ffaa275d5585c3cbaefc97936c5.tar.gz
ports-9c491d7c0f531ffaa275d5585c3cbaefc97936c5.zip
Fix bad patch
Notes
Notes: svn path=/head/; revision=549742
Diffstat (limited to 'devel/glib20')
-rw-r--r--devel/glib20/files/patch-glib_gfileutils.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/devel/glib20/files/patch-glib_gfileutils.c b/devel/glib20/files/patch-glib_gfileutils.c
index 80de8e2d3056..f26011803925 100644
--- a/devel/glib20/files/patch-glib_gfileutils.c
+++ b/devel/glib20/files/patch-glib_gfileutils.c
@@ -12,31 +12,3 @@ Index: glib/gfileutils.c
{
int errno_save = errno;
if (errno != ENOENT || !p)
-https://gitlab.gnome.org/GNOME/glib/merge_requests/832
-
-Index: glib/gfileutils.c
---- glib/gfileutils.c.orig
-+++ glib/gfileutils.c
-@@ -259,7 +259,7 @@ g_mkdir_with_parents (const gchar *pathname,
-
- if (!g_file_test (fn, G_FILE_TEST_EXISTS))
- {
-- if (g_mkdir (fn, mode) == -1 && errno != EEXIST)
-+ if (g_mkdir (fn, mode) == -1 && errno != EEXIST && (p ? (errno != ENOENT) : (-1)))
- {
- int errno_save = errno;
- if (errno != ENOENT || !p)
-https://gitlab.gnome.org/GNOME/glib/merge_requests/832
-
-Index: glib/gfileutils.c
---- glib/gfileutils.c.orig
-+++ glib/gfileutils.c
-@@ -259,7 +259,7 @@ g_mkdir_with_parents (const gchar *pathname,
-
- if (!g_file_test (fn, G_FILE_TEST_EXISTS))
- {
-- if (g_mkdir (fn, mode) == -1 && errno != EEXIST)
-+ if (g_mkdir (fn, mode) == -1 && errno != EEXIST && (p ? (errno != ENOENT) : (-1)))
- {
- int errno_save = errno;
- if (errno != ENOENT || !p)