summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-09-11 06:26:21 +0000
committerwiz <wiz@pkgsrc.org>2014-09-11 06:26:21 +0000
commit41990bb029fe43b26228bb17f557faf7fcb46c35 (patch)
tree632ed1a993dd509d3863afb5c414bd4285555f36 /sysutils
parent0a158f781003010def7f013ad8924f3ae41f5637 (diff)
downloadpkgsrc-41990bb029fe43b26228bb17f557faf7fcb46c35.tar.gz
Remove patch that's not needed any longer after 0.26 update.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/bup/patches/patch-lib_bup___helpers.c51
1 files changed, 0 insertions, 51 deletions
diff --git a/sysutils/bup/patches/patch-lib_bup___helpers.c b/sysutils/bup/patches/patch-lib_bup___helpers.c
deleted file mode 100644
index f05d1cfacd1..00000000000
--- a/sysutils/bup/patches/patch-lib_bup___helpers.c
+++ /dev/null
@@ -1,51 +0,0 @@
-$NetBSD: patch-lib_bup___helpers.c,v 1.2 2014/03/19 17:50:00 gdt Exp $
-
-First and third hunks are from upstream.
-
-Second hunk is to work around broken utimensat in NetBSD 6.
-Should be applied upstream.
-
---- lib/bup/_helpers.c.orig 2013-12-10 01:30:45.000000000 +0000
-+++ lib/bup/_helpers.c
-@@ -96,6 +96,8 @@ static void unpythonize_argv(void)
-
- #endif // not __WIN32__ or __CYGWIN__
-
-+// At the moment any code that calls INTGER_TO_PY() will have to
-+// disable -Wtautological-compare for clang. See below.
-
- static PyObject *selftest(PyObject *self, PyObject *args)
- {
-@@ -763,6 +765,14 @@ static PyObject *bup_set_linux_file_attr
- #endif /* def BUP_HAVE_FILE_ATTRS */
-
-
-+/*
-+ * Check for defective UTIMENSAT support (NetBSD 6), and if so,
-+ * pretend we don't have it.
-+ */
-+#if !defined(AT_FDCWD) || !defined(AT_SYMLINK_NOFOLLOW)
-+#undef HAVE_UTIMENSAT
-+#endif
-+
- #if defined(HAVE_UTIMENSAT) || defined(HAVE_FUTIMES) || defined(HAVE_LUTIMES)
-
- static int bup_parse_xutime_args(char **path,
-@@ -990,6 +1000,9 @@ static int normalize_timespec_values(con
- (((x) >= 0) ? PyLong_FromUnsignedLongLong(x) : PyLong_FromLongLong(x))
-
-
-+#pragma clang diagnostic push
-+#pragma clang diagnostic ignored "-Wtautological-compare" // For INTEGER_TO_PY().
-+
- static PyObject *stat_struct_to_py(const struct stat *st,
- const char *filename,
- int fd)
-@@ -1028,6 +1041,7 @@ static PyObject *stat_struct_to_py(const
- (long) ctime_ns);
- }
-
-+#pragma clang diagnostic pop // ignored "-Wtautological-compare"
-
- static PyObject *bup_stat(PyObject *self, PyObject *args)
- {