diff --git a/devel/libuv/Portfile b/devel/libuv/Portfile index 583bcd06d67f8..28858adceed9b 100644 --- a/devel/libuv/Portfile +++ b/devel/libuv/Portfile @@ -21,14 +21,13 @@ subport libuv-devel { legacysupport.newest_darwin_requires_legacy 15 github.setup \ - libuv libuv 1.47.0 v - # Change github.tarball_from to 'releases' or 'archive' next update - github.tarball_from tarball + libuv libuv 1.50.0 v + github.tarball_from archive revision 0 - checksums rmd160 6510cd246bb2062874a5cb37e92a1c727a7d2655 \ - sha256 72a187104662b47f2a2b204da39d2acb05cf22a4fcb13ceaebe3b0ed0c0e2e43 \ - size 1654769 + checksums rmd160 c8e0059ab5028b19ae7459e9f33b8f17f77dc9e1 \ + sha256 c42c51d4e630f95dcefcafff95bf003ea52939e312d5e6584e7d9e102ead3e9e \ + size 1686246 } set domain libuv.org @@ -48,17 +47,21 @@ long_description \ ${name} is a multi-platform support library with a focus on \ cross-platform asynchronous I/O. -patchfiles-append \ - patch-libuv-unix-core-close-nocancel.diff - if {${subport} eq ${name}} { # RELEASE - patchfiles-append patch-libuv-legacy.diff + patchfiles-append \ + patch-libuv-unix-core-close-nocancel.diff \ + patch-libuv-legacy.diff conflicts libuv-devel } else { # DEVEL - patchfiles-append patch-libuv-legacy-devel.diff + patch.pre_args-replace \ + -p0 -p1 + patchfiles-append \ + 0001-swap-mach_continuous_time-for-clock_gettime_nsec_np.patch \ + 0002-prevent-pragmas-causing-issues-on-older-gcc-versions.patch \ + 0003-support-legacy-macos-pre-v11.patch conflicts libuv @@ -75,8 +78,10 @@ configure.args --disable-silent-rules platform darwin { if { ${os.major} == 8 } { - # Tiger has no libutil - patchfiles-append patch-no-libutil-on-Tiger.diff + post-patch { + # Tiger has no libutil + reinplace -E "s|(.*DARWIN_TRUE.*-lutil.*)|# \\1|" Makefile.in + } configure.cppflags-append -D__DARWIN_UNIX03 # prevent conflicting opentransport header from being pulled in diff --git a/devel/libuv/files/0001-swap-mach_continuous_time-for-clock_gettime_nsec_np.patch b/devel/libuv/files/0001-swap-mach_continuous_time-for-clock_gettime_nsec_np.patch new file mode 100644 index 0000000000000..a88eb31616036 --- /dev/null +++ b/devel/libuv/files/0001-swap-mach_continuous_time-for-clock_gettime_nsec_np.patch @@ -0,0 +1,53 @@ +From 304a518853ff6400fbd661a2461e38f47f7be656 Mon Sep 17 00:00:00 2001 +From: Fred Wright +Date: Wed, 19 Feb 2025 23:47:55 +0000 +Subject: [PATCH 1/3] swap mach_continuous_time for clock_gettime_nsec_np + +See: https://github.com/macports/macports-ports/pull/27671#issuecomment-2664257623 +See: https://github.com/macports/macports-ports/pull/27671#issuecomment-2670030330 +--- + src/unix/darwin.c | 14 +++----------- + 1 file changed, 3 insertions(+), 11 deletions(-) + +diff --git a/src/unix/darwin.c b/src/unix/darwin.c +index 009efbef..e9f86490 100644 +--- a/src/unix/darwin.c ++++ b/src/unix/darwin.c +@@ -25,15 +25,13 @@ + #include + #include + +-#include +-#include ++#include + #include /* _NSGetExecutablePath */ + #include + #include + #include /* sysconf */ + + static uv_once_t once = UV_ONCE_INIT; +-static mach_timebase_info_data_t timebase; + + + int uv__platform_loop_init(uv_loop_t* loop) { +@@ -51,15 +49,9 @@ void uv__platform_loop_delete(uv_loop_t* loop) { + } + + +-static void uv__hrtime_init_once(void) { +- if (KERN_SUCCESS != mach_timebase_info(&timebase)) +- abort(); +-} +- +- + uint64_t uv__hrtime(uv_clocktype_t type) { +- uv_once(&once, uv__hrtime_init_once); +- return mach_continuous_time() * timebase.numer / timebase.denom; ++ (void) type; ++ return clock_gettime_nsec_np(CLOCK_MONOTONIC_RAW); + } + + +-- +2.48.0 + diff --git a/devel/libuv/files/0002-prevent-pragmas-causing-issues-on-older-gcc-versions.patch b/devel/libuv/files/0002-prevent-pragmas-causing-issues-on-older-gcc-versions.patch new file mode 100644 index 0000000000000..b74412215f8d9 --- /dev/null +++ b/devel/libuv/files/0002-prevent-pragmas-causing-issues-on-older-gcc-versions.patch @@ -0,0 +1,58 @@ +From 9d6c5364932ae7fef006d4b9113d34d922f88716 Mon Sep 17 00:00:00 2001 +From: Ken Cunningham +Date: Tue, 21 May 2019 21:00:49 -0700 +Subject: [PATCH 2/3] prevent pragmas causing issues on older gcc versions + +See: https://github.com/macports/macports-ports/pull/4433 + +Co-authored-by: Michael Dickens +--- + src/unix/core.c | 27 ++++++++++++++++++++------- + 1 file changed, 20 insertions(+), 7 deletions(-) + +diff --git a/src/unix/core.c b/src/unix/core.c +index 61cbc0d0..0b22a395 100644 +--- a/src/unix/core.c ++++ b/src/unix/core.c +@@ -597,18 +597,31 @@ int uv__accept(int sockfd) { + * will unwind the thread when it's in the cancel state. Work around that + * by making the system call directly. Musl libc is unaffected. + */ ++ ++#if defined(__GNUC__) ++# define GCC_VERSION \ ++ (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) ++#endif ++#if defined(__clang__) || (defined(GCC_VERSION) && (GCC_VERSION >= 40500)) ++/* gcc diagnostic pragmas available */ ++# define GCC_DIAGNOSTIC_AVAILABLE ++#endif + int uv__close_nocancel(int fd) { +-#if defined(__APPLE__) +-#pragma GCC diagnostic push +-#pragma GCC diagnostic ignored "-Wdollar-in-identifier-extension" +-#if defined(__LP64__) || TARGET_OS_IPHONE ++#if defined(__APPLE__) && (MAC_OS_X_VERSION_MAX_ALLOWED >= 1050) ++# if defined(GCC_DIAGNOSTIC_AVAILABLE) ++# pragma GCC diagnostic push ++# pragma GCC diagnostic ignored "-Wdollar-in-identifier-extension" ++# endif ++# if defined(__LP64__) || __LP64__ || (defined(TARGET_OS_IPHONE) && (TARGET_OS_IPHONE > 0)) + extern int close$NOCANCEL(int); + return close$NOCANCEL(fd); +-#else ++# else + extern int close$NOCANCEL$UNIX2003(int); + return close$NOCANCEL$UNIX2003(fd); +-#endif +-#pragma GCC diagnostic pop ++# endif ++# if defined(GCC_DIAGNOSTIC_AVAILABLE) ++# pragma GCC diagnostic pop ++# endif + #elif defined(__linux__) && defined(__SANITIZE_THREAD__) && defined(__clang__) + long rc; + __sanitizer_syscall_pre_close(fd); +-- +2.48.0 + diff --git a/devel/libuv/files/0003-support-legacy-macos-pre-v11.patch b/devel/libuv/files/0003-support-legacy-macos-pre-v11.patch new file mode 100644 index 0000000000000..3c1b7deab65b4 --- /dev/null +++ b/devel/libuv/files/0003-support-legacy-macos-pre-v11.patch @@ -0,0 +1,204 @@ +From 142c42613441cd61ef911c794d39f6a06911f505 Mon Sep 17 00:00:00 2001 +From: Ken Cunningham +Date: Mon, 12 Nov 2018 14:40:24 -0800 +Subject: [PATCH 3/3] support legacy macos (pre v11) + +See: https://github.com/libuv/libuv/blob/v1.x/SUPPORTED_PLATFORMS.md + +Co-authored-by: Michael Dickens +Co-authored-by: Sergey Fedorov +Co-authored-by: Evan Miller +--- + src/unix/fs.c | 4 ++-- + src/unix/internal.h | 2 +- + src/unix/process.c | 8 ++++++-- + src/unix/tty.c | 2 +- + src/unix/udp.c | 14 ++++++++------ + test/test-fs.c | 4 ++-- + 6 files changed, 20 insertions(+), 14 deletions(-) + +diff --git a/src/unix/fs.c b/src/unix/fs.c +index 239ecda1..424729e3 100644 +--- a/src/unix/fs.c ++++ b/src/unix/fs.c +@@ -1079,7 +1079,7 @@ static ssize_t uv__fs_sendfile(uv_fs_t* req) { + return -1; + } + /* sendfile() on iOS(arm64) will throw SIGSYS signal cause crash. */ +-#elif (defined(__APPLE__) && !TARGET_OS_IPHONE) \ ++#elif (defined(__APPLE__) && (!TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= 1050))) \ + || defined(__DragonFly__) \ + || defined(__FreeBSD__) + { +@@ -1458,7 +1458,7 @@ static void uv__to_stat(struct stat* src, uv_stat_t* dst) { + dst->st_blksize = src->st_blksize; + dst->st_blocks = src->st_blocks; + +-#if defined(__APPLE__) ++#if defined(__APPLE__) && (MAC_OS_X_VERSION_MAX_ALLOWED >= 1050) + dst->st_atim.tv_sec = src->st_atimespec.tv_sec; + dst->st_atim.tv_nsec = src->st_atimespec.tv_nsec; + dst->st_mtim.tv_sec = src->st_mtimespec.tv_sec; +diff --git a/src/unix/internal.h b/src/unix/internal.h +index b1d2b217..83fa32d8 100644 +--- a/src/unix/internal.h ++++ b/src/unix/internal.h +@@ -75,7 +75,7 @@ + # include + #endif /* _AIX */ + +-#if defined(__APPLE__) ++#if (defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED >= 101000) + # include "darwin-syscalls.h" + # if !TARGET_OS_IPHONE + # include +diff --git a/src/unix/process.c b/src/unix/process.c +index f2038f2c..a3f885d4 100644 +--- a/src/unix/process.c ++++ b/src/unix/process.c +@@ -36,7 +36,9 @@ + #include + + #if defined(__APPLE__) ++#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1050 + # include ++#endif + # include + # include + # include +@@ -404,7 +406,7 @@ static void uv__process_child_init(const uv_process_options_t* options, + } + + +-#if defined(__APPLE__) ++#if defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 1050) + typedef struct uv__posix_spawn_fncs_tag { + struct { + int (*addchdir_np)(const posix_spawn_file_actions_t *, const char *); +@@ -605,9 +607,11 @@ static int uv__spawn_set_posix_spawn_file_actions( + } + } + ++#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 + if (fd == use_fd) + err = posix_spawn_file_actions_addinherit_np(actions, fd); + else ++#endif + err = posix_spawn_file_actions_adddup2(actions, use_fd, fd); + assert(err != ENOSYS); + if (err != 0) +@@ -856,7 +860,7 @@ static int uv__spawn_and_init_child( + int exec_errorno; + ssize_t r; + +-#if defined(__APPLE__) ++#if defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 1050) + uv_once(&posix_spawn_init_once, uv__spawn_init_posix_spawn); + + /* Special child process spawn case for macOS Big Sur (11.0) onwards +diff --git a/src/unix/tty.c b/src/unix/tty.c +index 793054ba..228b543d 100644 +--- a/src/unix/tty.c ++++ b/src/unix/tty.c +@@ -85,7 +85,7 @@ static int uv__tty_is_slave(const int fd) { + int dummy; + + result = ioctl(fd, TIOCGPTN, &dummy) != 0; +-#elif defined(__APPLE__) ++#elif defined(__APPLE__) && MAC_OS_X_VERSION_MAX_ALLOWED >= 1050 + char dummy[256]; + + result = ioctl(fd, TIOCPTYGNAME, &dummy) != 0; +diff --git a/src/unix/udp.c b/src/unix/udp.c +index 67c01f7d..8417178f 100644 +--- a/src/unix/udp.c ++++ b/src/unix/udp.c +@@ -152,7 +152,7 @@ static void uv__udp_io(uv_loop_t* loop, uv__io_t* w, unsigned int revents) { + } + + static int uv__udp_recvmmsg(uv_udp_t* handle, uv_buf_t* buf) { +-#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) ++#if defined(__linux__) || defined(__FreeBSD__) || (defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 101000)) + struct sockaddr_in6 peers[20]; + struct iovec iov[ARRAY_SIZE(peers)]; + struct mmsghdr msgs[ARRAY_SIZE(peers)]; +@@ -215,9 +215,9 @@ static int uv__udp_recvmmsg(uv_udp_t* handle, uv_buf_t* buf) { + handle->recv_cb(handle, 0, buf, NULL, UV_UDP_MMSG_FREE); + } + return nread; +-#else /* __linux__ || ____FreeBSD__ || __APPLE__ */ ++#else /* __linux__ || __FreeBSD__ || (defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 101000)) */ + return UV_ENOSYS; +-#endif /* __linux__ || ____FreeBSD__ || __APPLE__ */ ++#endif /* __linux__ || __FreeBSD__ || (defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 101000)) */ + } + + static void uv__udp_recvmsg(uv_udp_t* handle) { +@@ -754,6 +754,7 @@ static int uv__udp_set_membership6(uv_udp_t* handle, + !defined(__ANDROID__) && \ + !defined(__DragonFly__) && \ + !defined(__QNX__) && \ ++ (!defined(__APPLE__) || (MAC_OS_X_VERSION_MAX_ALLOWED >= 1070)) && \ + !defined(__GNU__) + static int uv__udp_set_source_membership4(uv_udp_t* handle, + const struct sockaddr_in* multicast_addr, +@@ -877,7 +878,7 @@ int uv__udp_init_ex(uv_loop_t* loop, + + + int uv_udp_using_recvmmsg(const uv_udp_t* handle) { +-#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) ++#if defined(__linux__) || defined(__FreeBSD__) || (defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 1070)) + if (handle->flags & UV_HANDLE_UDP_RECVMMSG) + return 1; + #endif +@@ -945,6 +946,7 @@ int uv_udp_set_source_membership(uv_udp_t* handle, + !defined(__ANDROID__) && \ + !defined(__DragonFly__) && \ + !defined(__QNX__) && \ ++ (!defined(__APPLE__) || (MAC_OS_X_VERSION_MAX_ALLOWED >= 1070)) && \ + !defined(__GNU__) + int err; + union uv__sockaddr mcast_addr; +@@ -1298,7 +1300,7 @@ static int uv__udp_sendmsgv(int fd, + r = 0; + nsent = 0; + +-#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) ++#if defined(__linux__) || defined(__FreeBSD__) || (defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 101000)) + if (count > 1) { + for (i = 0; i < count; /*empty*/) { + struct mmsghdr m[20]; +@@ -1325,7 +1327,7 @@ static int uv__udp_sendmsgv(int fd, + + goto exit; + } +-#endif /* defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) */ ++#endif /* defined(__linux__) || defined(__FreeBSD__) || (defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 101000)) */ + + for (i = 0; i < count; i++, nsent++) + if ((r = uv__udp_sendmsg1(fd, bufs[i], nbufs[i], addrs[i]))) +diff --git a/test/test-fs.c b/test/test-fs.c +index 423d72dd..36bb2df0 100644 +--- a/test/test-fs.c ++++ b/test/test-fs.c +@@ -1477,7 +1477,7 @@ TEST_IMPL(fs_fstat) { + ASSERT_OK(uv_fs_fstat(NULL, &req, file, NULL)); + ASSERT_OK(req.result); + s = req.ptr; +-# if defined(__APPLE__) ++# if defined(__APPLE__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050) + ASSERT_EQ(s->st_birthtim.tv_sec, t.st_birthtimespec.tv_sec); + ASSERT_EQ(s->st_birthtim.tv_nsec, t.st_birthtimespec.tv_nsec); + # elif defined(__linux__) +@@ -1518,7 +1518,7 @@ TEST_IMPL(fs_fstat) { + ASSERT_EQ(s->st_size, (uint64_t) t.st_size); + ASSERT_EQ(s->st_blksize, (uint64_t) t.st_blksize); + ASSERT_EQ(s->st_blocks, (uint64_t) t.st_blocks); +-#if defined(__APPLE__) ++# if defined(__APPLE__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050) + ASSERT_EQ(s->st_atim.tv_sec, t.st_atimespec.tv_sec); + ASSERT_EQ(s->st_atim.tv_nsec, t.st_atimespec.tv_nsec); + ASSERT_EQ(s->st_mtim.tv_sec, t.st_mtimespec.tv_sec); +-- +2.48.0 + diff --git a/devel/libuv/files/patch-libuv-legacy-devel.diff b/devel/libuv/files/patch-libuv-legacy-devel.diff deleted file mode 100644 index 3b046ae8e2d30..0000000000000 --- a/devel/libuv/files/patch-libuv-legacy-devel.diff +++ /dev/null @@ -1,130 +0,0 @@ -From 97b062503185cbafaf80cb5ec1da1c1c953411e1 Mon Sep 17 00:00:00 2001 -From: barracuda156 -Date: Tue, 8 Aug 2023 19:03:03 +0800 -Subject: [PATCH] Fix libuv - ---- - src/unix/darwin-proctitle.c | 2 ++ - src/unix/fs.c | 2 +- - src/unix/process.c | 10 +++++++--- - src/unix/tty.c | 2 +- - src/unix/udp.c | 2 ++ - 5 files changed, 13 insertions(+), 5 deletions(-) - -diff --git src/unix/darwin-proctitle.c src/unix/darwin-proctitle.c -index 5288083e..c1aa0531 100644 ---- src/unix/darwin-proctitle.c -+++ src/unix/darwin-proctitle.c -@@ -41,9 +41,11 @@ static int uv__pthread_setname_np(const char* name) { - strncpy(namebuf, name, sizeof(namebuf) - 1); - namebuf[sizeof(namebuf) - 1] = '\0'; - -+#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MIN_REQUIRED >= 1060) - err = pthread_setname_np(namebuf); - if (err) - return UV__ERR(err); -+#endif - - return 0; - } -diff --git src/unix/fs.c src/unix/fs.c -index 6b051c12..18e274cf 100644 ---- src/unix/fs.c -+++ src/unix/fs.c -@@ -84,7 +84,8 @@ - - #if defined(__CYGWIN__) || \ - (defined(__HAIKU__) && B_HAIKU_VERSION < B_HAIKU_VERSION_1_PRE_BETA_5) || \ -- (defined(__sun) && !defined(__illumos__)) -+ (defined(__sun) && !defined(__illumos__)) || \ -+ (defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED < 101400) - #define preadv(fd, bufs, nbufs, off) \ - pread(fd, (bufs)->iov_base, (bufs)->iov_len, off) - #define pwritev(fd, bufs, nbufs, off) \ -@@ -1410,7 +1411,7 @@ static void uv__to_stat(struct stat* src, uv_stat_t* dst) { - dst->st_blksize = src->st_blksize; - dst->st_blocks = src->st_blocks; - --#if defined(__APPLE__) -+#if defined(__APPLE__) && (MAC_OS_X_VERSION_MAX_ALLOWED >= 1050) - dst->st_atim.tv_sec = src->st_atimespec.tv_sec; - dst->st_atim.tv_nsec = src->st_atimespec.tv_nsec; - dst->st_mtim.tv_sec = src->st_mtimespec.tv_sec; -diff --git src/unix/process.c src/unix/process.c -index dd58c18d..35aa9b1b 100644 ---- src/unix/process.c -+++ src/unix/process.c -@@ -36,7 +36,9 @@ - #include - - #if defined(__APPLE__) --# include -+# if MAC_OS_X_VERSION_MAX_ALLOWED >= 1050 -+# include -+# endif - # include - # include - # include -@@ -407,7 +409,7 @@ static void uv__process_child_init(const uv_process_options_t* options, - } - - --#if defined(__APPLE__) -+#if defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 1050) - typedef struct uv__posix_spawn_fncs_tag { - struct { - int (*addchdir_np)(const posix_spawn_file_actions_t *, const char *); -@@ -608,9 +610,11 @@ static int uv__spawn_set_posix_spawn_file_actions( - } - } - -+#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 - if (fd == use_fd) - err = posix_spawn_file_actions_addinherit_np(actions, fd); - else -+#endif - err = posix_spawn_file_actions_adddup2(actions, use_fd, fd); - assert(err != ENOSYS); - if (err != 0) -@@ -859,7 +863,7 @@ static int uv__spawn_and_init_child( - int exec_errorno; - ssize_t r; - --#if defined(__APPLE__) -+#if defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED >= 1050) - uv_once(&posix_spawn_init_once, uv__spawn_init_posix_spawn); - - /* Special child process spawn case for macOS Big Sur (11.0) onwards -diff --git src/unix/tty.c src/unix/tty.c -index d099bdb3..899e3a66 100644 ---- src/unix/tty.c -+++ src/unix/tty.c -@@ -85,7 +85,7 @@ static int uv__tty_is_slave(const int fd) { - int dummy; - - result = ioctl(fd, TIOCGPTN, &dummy) != 0; --#elif defined(__APPLE__) -+#elif defined(__APPLE__) && (MAC_OS_X_VERSION_MAX_ALLOWED >= 1050) - char dummy[256]; - - result = ioctl(fd, TIOCPTYGNAME, &dummy) != 0; -diff --git src/unix/udp.c src/unix/udp.c -index c2814512..cba9e821 100644 ---- src/unix/udp.c -+++ src/unix/udp.c -@@ -892,6 +892,7 @@ static int uv__udp_set_membership6(uv_udp_t* handle, - !defined(__ANDROID__) && \ - !defined(__DragonFly__) && \ - !defined(__QNX__) && \ -+ (!defined(__APPLE__) || (MAC_OS_X_VERSION_MAX_ALLOWED >= 1070)) && \ - !defined(__GNU__) - static int uv__udp_set_source_membership4(uv_udp_t* handle, - const struct sockaddr_in* multicast_addr, -@@ -1083,6 +1084,7 @@ int uv_udp_set_source_membership(uv_udp_t* handle, - !defined(__ANDROID__) && \ - !defined(__DragonFly__) && \ - !defined(__QNX__) && \ -+ (!defined(__APPLE__) || (MAC_OS_X_VERSION_MAX_ALLOWED >= 1070)) && \ - !defined(__GNU__) - int err; - union uv__sockaddr mcast_addr; diff --git a/devel/libuv/files/patch-no-libutil-on-Tiger.diff b/devel/libuv/files/patch-no-libutil-on-Tiger.diff deleted file mode 100644 index 399ced1efc2f7..0000000000000 --- a/devel/libuv/files/patch-no-libutil-on-Tiger.diff +++ /dev/null @@ -1,56 +0,0 @@ ---- Makefile.in.orig -+++ Makefile.in -@@ -255,7 +255,7 @@ - @DARWIN_TRUE@ src/unix/proctitle.c \ - @DARWIN_TRUE@ src/unix/random-getentropy.c - --@DARWIN_TRUE@am__append_31 = -lutil -+# @DARWIN_TRUE@am__append_31 = -lutil - @DRAGONFLY_TRUE@am__append_32 = include/uv/bsd.h - @DRAGONFLY_TRUE@am__append_33 = src/unix/bsd-ifaddrs.c \ - @DRAGONFLY_TRUE@ src/unix/bsd-proctitle.c \ -@@ -263,7 +263,7 @@ - @DRAGONFLY_TRUE@ src/unix/kqueue.c \ - @DRAGONFLY_TRUE@ src/unix/posix-hrtime.c - --@DRAGONFLY_TRUE@am__append_34 = -lutil -+# @DRAGONFLY_TRUE@am__append_34 = -lutil - @FREEBSD_TRUE@am__append_35 = include/uv/bsd.h - @FREEBSD_TRUE@am__append_36 = src/unix/bsd-ifaddrs.c \ - @FREEBSD_TRUE@ src/unix/bsd-proctitle.c \ -@@ -272,7 +272,7 @@ - @FREEBSD_TRUE@ src/unix/posix-hrtime.c \ - @FREEBSD_TRUE@ src/unix/random-getrandom.c - --@FREEBSD_TRUE@am__append_37 = -lutil -+# @FREEBSD_TRUE@am__append_37 = -lutil - @HAIKU_TRUE@am__append_38 = include/uv/posix.h - @HAIKU_TRUE@am__append_39 = -D_BSD_SOURCE - @HAIKU_TRUE@am__append_40 = src/unix/bsd-ifaddrs.c \ -@@ -303,7 +303,7 @@ - @LINUX_TRUE@ src/unix/random-sysctl-linux.c \ - @LINUX_TRUE@ src/unix/epoll.c - --@LINUX_TRUE@am__append_47 = -lutil -+# @LINUX_TRUE@am__append_47 = -lutil - @MSYS_TRUE@am__append_48 = -D_GNU_SOURCE - @MSYS_TRUE@am__append_49 = src/unix/cygwin.c \ - @MSYS_TRUE@ src/unix/bsd-ifaddrs.c \ -@@ -322,7 +322,7 @@ - @NETBSD_TRUE@ src/unix/netbsd.c \ - @NETBSD_TRUE@ src/unix/posix-hrtime.c - --@NETBSD_TRUE@am__append_52 = -lutil -+# @NETBSD_TRUE@am__append_52 = -lutil - @OPENBSD_TRUE@am__append_53 = include/uv/bsd.h - @OPENBSD_TRUE@am__append_54 = src/unix/bsd-ifaddrs.c \ - @OPENBSD_TRUE@ src/unix/bsd-proctitle.c \ -@@ -331,7 +331,7 @@ - @OPENBSD_TRUE@ src/unix/posix-hrtime.c \ - @OPENBSD_TRUE@ src/unix/random-getentropy.c - --@OPENBSD_TRUE@am__append_55 = -lutil -+# @OPENBSD_TRUE@am__append_55 = -lutil - @SUNOS_TRUE@am__append_56 = include/uv/sunos.h - @SUNOS_TRUE@am__append_57 = -D__EXTENSIONS__ \ - @SUNOS_TRUE@ -D_XOPEN_SOURCE=500 \