Opened 10 months ago
Closed 10 months ago
#69127 closed defect (fixed)
libuv-devel needs clock_gettime
Reported by: | barracuda156 | Owned by: | herbygillot (Herby Gillot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | lion, mountainlion, mavericks, yosemite, elcapitan | Cc: | herbygillot (Herby Gillot) |
Port: | libuv-devel |
Description
libtool: compile: /usr/bin/clang -DPACKAGE_NAME=\"libuv\" -DPACKAGE_TARNAME=\"libuv\" -DPACKAGE_VERSION=\"1.47.0\" "-DPACKAGE_STRING=\"libuv 1.47.0\"" -DPACKAGE_BUGREPORT=\"https://github.com/libuv/libuv/issues\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libuv\" -DVERSION=\"1.47.0\" -DSUPPORT_ATTRIBUTE_VISIBILITY_DEFAULT=1 -DSUPPORT_FLAG_VISIBILITY=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_PRIO_INHERIT=1 -I. -I./include -I./src -I./src/unix -I/opt/local/include -fno-strict-aliasing -g -std=gnu89 -Wall -Wextra -Wno-long-long -Wno-unused-parameter -Wstrict-prototypes -D_DARWIN_USE_64_BIT_INODE=1 -D_DARWIN_UNLIMITED_SELECT=1 -pipe -Os -arch x86_64 -fvisibility=hidden -Qunused-arguments -pthread -MT src/unix/libuv_la-async.lo -MD -MP -MF src/unix/.deps/libuv_la-async.Tpo -c src/unix/async.c -o src/unix/libuv_la-async.o >/dev/null 2>&1 src/unix/core.c:124:11: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration] r = clock_gettime(CLOCK_MONOTONIC, &t); ^ src/unix/core.c:124:25: error: use of undeclared identifier 'CLOCK_MONOTONIC'; did you mean 'UV_CLOCK_MONOTONIC'? r = clock_gettime(CLOCK_MONOTONIC, &t); ^~~~~~~~~~~~~~~ UV_CLOCK_MONOTONIC ./include/uv.h:356:3: note: 'UV_CLOCK_MONOTONIC' declared here UV_CLOCK_MONOTONIC, ^ src/unix/core.c:127:25: error: use of undeclared identifier 'CLOCK_REALTIME'; did you mean 'UV_CLOCK_REALTIME'? r = clock_gettime(CLOCK_REALTIME, &t); ^~~~~~~~~~~~~~ UV_CLOCK_REALTIME ./include/uv.h:357:3: note: 'UV_CLOCK_REALTIME' declared here UV_CLOCK_REALTIME ^ 1 warning and 2 errors generated.
Looks like we need legacysupport
through Darwin 15.
Change History (1)
comment:1 Changed 10 months ago by herbygillot (Herby Gillot)
Owner: | set to herbygillot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In a6629afdd2fafebec2c3c1ecf38d141cb4084a1c/macports-ports (master):