1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

devel/libepoll-shim: fix underlinking

configure:6453: cc -O2 -pipe  -I/usr/local/include/libepoll-shim -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -I/usr/local/include -DLIBICONV_PLUG  -L/usr/local/lib -lepoll-shim  -fstack-protector  conftest.c  >&5
/usr/local/lib/libepoll-shim.so: undefined reference to `timer_settime'
/usr/local/lib/libepoll-shim.so: undefined reference to `timer_delete'
/usr/local/lib/libepoll-shim.so: undefined reference to `pthread_getthreadid_np'
/usr/local/lib/libepoll-shim.so: undefined reference to `pthread_create'
/usr/local/lib/libepoll-shim.so: undefined reference to `timer_create'
/usr/local/lib/libepoll-shim.so: undefined reference to `timer_getoverrun'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Obtained from:	upstream
Approved by:	portmgr blanket
This commit is contained in:
Jan Beich 2018-11-04 10:36:19 +00:00
parent ba62488e32
commit 2bfbcee5a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483990
3 changed files with 10 additions and 2 deletions

View File

@ -85,7 +85,7 @@ PHYSICS_CONFIGURE_ENABLE= physics
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CONFIGURE_ENABLE= pulseaudio
WAYLAND_BROKEN= WAYLAND option is broken: https://phab.enlightenment.org/T7116
WAYLAND_BROKEN= ERROR: epoll_create() is deprecated, use epoll_create1(EPOLL_CLOEXEC).
WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.7:graphics/wayland-protocols
WAYLAND_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \
libxkbcommon.so:x11/libxkbcommon \

View File

@ -3,8 +3,12 @@
PORTNAME= libepoll-shim
PORTVERSION= 0.0.20161220
PORTREVISION= 1
CATEGORIES= devel
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= dbd89815cc3a.patch:-p1 dc10c10f11d6.patch:-p1
MAINTAINER= x11@FreeBSD.org
COMMENT= epoll shim implemented using kevent
@ -26,7 +30,7 @@ MAKE_ARGS= INCSDIR=${PREFIX}/include/libepoll-shim/sys \
post-patch:
.if "${CHOSEN_COMPILER_TYPE}" == "gcc"
@${REINPLACE_CMD} -e 's|Wno-missing-variable-declarations|Wno-missing-declarations|' \
-e 's|-Wno-thread-safety-analysis||' -e 's|Weverything|Wall|' ${WRKSRC}/Makefile
-e 's|-Wno-thread-safety-analysis||' ${WRKSRC}/Makefile
.endif
pre-install:

View File

@ -1,3 +1,7 @@
TIMESTAMP = 1482268996
SHA256 (FreeBSDDesktop-epoll-shim-0.0.20161220-c04b26b_GH0.tar.gz) = ae644d6b21567e9bb5e3a145e6e8ce233de16dc6c93ca4a1facb24f1375f442a
SIZE (FreeBSDDesktop-epoll-shim-0.0.20161220-c04b26b_GH0.tar.gz) = 7634
SHA256 (dbd89815cc3a.patch) = acd75a9305d5465e8f7a6a5cc7cfa4fe41dac90a69120639ed1e25dd071fc0c3
SIZE (dbd89815cc3a.patch) = 958
SHA256 (dc10c10f11d6.patch) = 65e4c048236aafb1c1807a82cb85aa1ced225af5f13a31c54d1154888a75e0f5
SIZE (dc10c10f11d6.patch) = 870