<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6c468e8ab521c01f55e44dbefa56fec9d084a0b9">https://github.com/macports/macports-ports/commit/6c468e8ab521c01f55e44dbefa56fec9d084a0b9</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 6c468e8ab52 libfaketime: Modernize Portfile, remove patches
</span>6c468e8ab52 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6c468e8ab521c01f55e44dbefa56fec9d084a0b9
</span>Author: Keto <therealketo@gmail.com>
AuthorDate: Wed Nov 8 19:23:00 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> libfaketime: Modernize Portfile, remove patches
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Modernize the Portfile by migrating to the Makefile PG,
</span><span style='display:block; white-space:pre;color:#404040;'> and remove unused patches, since their requirements for
</span><span style='display:block; white-space:pre;color:#404040;'> removal have been met.
</span>---
sysutils/libfaketime/Portfile | 19 ++--------------
.../files/patch-clock_xxx_cputime_id.diff | 26 ----------------------
2 files changed, 2 insertions(+), 43 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/libfaketime/Portfile b/sysutils/libfaketime/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 86b6bed5486..37c4c36fdc9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/libfaketime/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/libfaketime/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,12 +4,11 @@ PortSystem 1.0
</span> PortGroup github 1.0
PortGroup muniversal 1.1
PortGroup legacysupport 1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup makefile 1.0
</span>
github.setup wolfcw libfaketime 0.9.10 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> categories sysutils
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> maintainers {@catap korins.ky:kirill} openmaintainer
license GPL-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,23 +38,9 @@ post-patch {
</span> }
compiler.thread_local_storage yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# NOTE: should be removed after https://github.com/macports/macports-legacy-support/pull/64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-clock_xxx_cputime_id.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> compiler.blacklist *cc* *dragonegg*
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args PREFIX=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env CC=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "CFLAGS=${configure.cflags} [get_canonical_archflags cc]" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "LDFLAGS=${configure.ldflags} [get_canonical_archflags ld]"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.args ${build.args}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> test.run yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-test.env {*}${build.env}
</span>
notes {
With System Integrity Protection (SIP) enabled on macOS 10.11 El Capitan\
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/libfaketime/files/patch-clock_xxx_cputime_id.diff b/sysutils/libfaketime/files/patch-clock_xxx_cputime_id.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 3671fd013c3..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/libfaketime/files/patch-clock_xxx_cputime_id.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,26 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git src/libfaketime.c src/libfaketime.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 3acd571..fa03f57 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/libfaketime.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/libfaketime.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -122,8 +122,6 @@ extern char *__progname;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define CLOCK_MONOTONIC SYSTEM_CLOCK
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* High-resolution timer from the CPU. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define CLOCK_PROCESS_CPUTIME_ID 2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--/* Thread-specific CPU-time clock. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#define CLOCK_THREAD_CPUTIME_ID 3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* Monotonic system-wide clock, not adjusted for frequency scaling. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define CLOCK_MONOTONIC_RAW 4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- typedef int clockid_t;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -140,6 +138,12 @@ void do_macos_dyld_interpose(void);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</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;'>-+#ifndef CLOCK_THREAD_CPUTIME_ID
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+/* High-resolution timer from the CPU. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+/* Thread-specific CPU-time clock. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#define CLOCK_THREAD_CPUTIME_ID 3
</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;'>- /* some systems lack raw clock */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #ifndef CLOCK_MONOTONIC_RAW
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define CLOCK_MONOTONIC_RAW (CLOCK_MONOTONIC + 1)
</span></pre><pre style='margin:0'>
</pre>