diff options
-rw-r--r-- | archivers/gtar-base/patches/patch-ag | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/archivers/gtar-base/patches/patch-ag b/archivers/gtar-base/patches/patch-ag deleted file mode 100644 index ceedebbcfe2..00000000000 --- a/archivers/gtar-base/patches/patch-ag +++ /dev/null @@ -1,26 +0,0 @@ -$NetBSD: patch-ag,v 1.6 2010/03/23 19:00:10 tez Exp $ - ---- src/extract.c.orig 2010-03-23 13:15:18.015134100 -0500 -+++ src/extract.c 2010-03-23 13:21:52.818991900 -0500 -@@ -188,13 +188,21 @@ - mode = cur_info->st_mode ^ invert_permissions; - } - -+#if (defined (__NetBSD__) && NetBSD > 199706 && !defined(NetBSD1_2)) -+ failed = lchmod (file_name, mode) != 0; -+#else - failed = chmod (file_name, mode) != 0; -+#endif - if (failed && errno == EPERM) - { - /* On Solaris, chmod may fail if we don't have PRIV_ALL. */ - if (priv_set_restore_linkdir () == 0) - { -+#if (defined (__NetBSD__) && NetBSD > 199706 && !defined(NetBSD1_2)) -+ failed = lchmod (file_name, mode) != 0; -+#else - failed = chmod (file_name, mode) != 0; -+#endif - priv_set_remove_linkdir (); - } - } |