Summary: | dev-db/mysql-proxy-0.8.2 with dev-libs/libevent-2.1.5 - chassis-mainloop.c:102:54: error: ‘_EVENT_VERSION’ undeclared (first use in this function) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Jesus Rivero (RETIRED) <neurogeek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Toralf Förster
2015-01-29 14:11:49 UTC
It would help if you posted the libevent version. I assume it's >2.1. --- mysql-proxy-0.8.2.ebuild 5 Dec 2012 15:27:40 -0000 1.1 +++ mysql-proxy-0.8.2.ebuild 30 Jan 2015 09:42:49 -0000 @@ -21,6 +21,12 @@ DEPEND="${RDEPEND} virtual/pkgconfig" RESTRICT="test" +src_prepare() { + sed -i \ + -e 's|_EVENT_VERSION|LIBEVENT_VERSION|g' \ + src/chassis-mainloop.c || die +} + src_configure() { econf \ --includedir=/usr/include/${PN} \ (In reply to Jeroen Roovers from comment #1) > It would help if you posted the libevent version. I assume it's >2.1. yep : 2.1.5 dev-db/mysql-proxy-0.8.2-r1 is in CVS now and should fix this problem. Toralf, Thanks for the report. JER, as usual, thanks for the help. |