<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/824a3f7e6febc66f9160000a35f88730d0620222">https://github.com/macports/macports-ports/commit/824a3f7e6febc66f9160000a35f88730d0620222</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 824a3f7 dar: Update to 2.5.15
</span>824a3f7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 824a3f7e6febc66f9160000a35f88730d0620222
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Apr 30 21:18:38 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> dar: Update to 2.5.15
</span>---
archivers/dar/Portfile | 11 +++----
archivers/dar/files/syncfs.patch | 71 ----------------------------------------
2 files changed, 4 insertions(+), 78 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/dar/Portfile b/archivers/dar/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7c309a1..ba7d1de 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/archivers/dar/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/archivers/dar/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup cxx11 1.0
name dar
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.5.14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.5.15
</span> categories archivers
platforms darwin
maintainers {ryandesign @ryandesign} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,9 +18,9 @@ long_description dar is a shell command that backs up directory trees \
</span> homepage http://dar.sourceforge.net/
master_sites sourceforge:project/dar/dar/${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 cb2a77e822f60d287fa49de56ccd679dc3da3c6c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 fae049166b2b2a4f9db4fe3e4d135a520a5b93ffeb4089428b60f8c54603c5c5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1904398
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 65957277353f0719563005f3879478e9bbbf790b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 58d860299e0b2ee61cf1cac549f1e7b228060aed3ee5575c2e9c88324504e0c0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1905085
</span>
depends_build port:doxygen
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,7 +32,4 @@ depends_lib port:bzip2 \
</span> path:lib/libssl.dylib:openssl \
port:zlib
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# To be removed when updating to dar 2.5.15.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append syncfs.patch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> universal_variant no
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/dar/files/syncfs.patch b/archivers/dar/files/syncfs.patch
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index a4a3cf9..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/archivers/dar/files/syncfs.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,71 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fix build on macOS and other systems that don't have syncfs.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://sourceforge.net/p/dar/bugs/201/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://sourceforge.net/p/dar/code/ci/28e0ff2c01628e285b594fc0c9b8b364f38dbad8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig 2017-12-20 09:19:57.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure 2017-12-26 15:42:49.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -21757,6 +21757,39 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for syncfs() availability" >&5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+$as_echo_n "checking for syncfs() availability... " >&6; }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+/* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+extern "C" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #if HAVE_UNISTD_H
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #include <unistd.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+int
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+main ()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+{
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ (void)syncfs(0);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+_ACEOF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+if ac_fn_cxx_try_compile "$LINENO"; then :
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+$as_echo "#define HAVE_SYNCFS 1" >>confdefs.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: available" >&5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+$as_echo "available" >&6; }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: not available" >&5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+$as_echo "not available" >&6; }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the possibility to set timestamps at a microsecond precision" >&5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $as_echo_n "checking for the possibility to set timestamps at a microsecond precision... " >&6; }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/dar_suite/dar_split.c.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/dar_suite/dar_split.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -302,7 +302,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- step /= 2;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if HAVE_SYNCFS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- syncfs(fd);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ sync();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- close(fd);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fprintf(stderr, "No space left on destination after having written %ld bytes, please to something!\n", tape_size);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- tape_size = 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -343,7 +347,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if(fd >= 0)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if HAVE_SYNCFS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- syncfs(fd);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ sync();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- close(fd);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if(buffer != NULL)
</span></pre><pre style='margin:0'>
</pre>