openbsd-ports/devel/libevent2/patches/patch-libevent_pc_in
kn ed1635badc Update to libevent2 2.1.11
https://raw.githubusercontent.com/libevent/libevent/release-2.1.11-stable/ChangeLog

All patches except one are upstreamed, regress looks good on amd64 and
quick tests with a few clients such as net/tor and sysutils/tmate show
no regression on amd64.

OK and sparc64 bulk tested kmos
2020-03-31 19:06:06 +00:00

16 lines
450 B
Plaintext

$OpenBSD: patch-libevent_pc_in,v 1.2 2020/03/31 19:06:06 kn Exp $
Link against event_extra and event_core not event.
--- libevent.pc.in.orig Mon Sep 19 01:02:59 2011
+++ libevent.pc.in Mon Sep 19 01:03:15 2011
@@ -10,7 +10,7 @@ Description: libevent is an asynchronous notification
Version: @VERSION@
Requires:
Conflicts:
-Libs: -L${libdir} -levent
+Libs: -L${libdir} -levent_extra -levent_core
Libs.private: @LIBS@
Cflags: -I${includedir}