diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2020-09-23 23:37:37 +0800 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2020-09-23 23:37:37 +0800 |
commit | 9c491d7c0f531ffaa275d5585c3cbaefc97936c5 (patch) | |
tree | ea58ff43f2e457b740414da827cb861ea9f6fce1 /devel/glib20 | |
parent | 527499e0ed62a2c89e0991d61e9056bcdc3b4525 (diff) | |
download | freebsd-ports-gnome-9c491d7c0f531ffaa275d5585c3cbaefc97936c5.tar.gz freebsd-ports-gnome-9c491d7c0f531ffaa275d5585c3cbaefc97936c5.tar.zst freebsd-ports-gnome-9c491d7c0f531ffaa275d5585c3cbaefc97936c5.zip |
Fix bad patch
Diffstat (limited to 'devel/glib20')
-rw-r--r-- | devel/glib20/files/patch-glib_gfileutils.c | 28 |
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) |