Re: libevent version define

2015-05-28 Thread Gilles Chehade
On Wed, May 27, 2015 at 03:14:17PM +0200, Gilles Chehade wrote: > Hi, > > will apply to portable branch today thanks > so this diff broke build with libevent < 2, LIBEVENT_VERSION doesn't exist in my libevent 1.4 however, the reason for this check was to conditionnally include one of event.h or

Re: libevent version define

2015-05-27 Thread Gilles Chehade
Hi, will apply to portable branch today thanks On Wed, May 27, 2015 at 02:36:30PM +0200, Jason A. Donenfeld wrote: > Hi Gilles, > > See the attached patch. > > Thanks, > Jason > diff -ru opensmtpd-5.4.5p2/configure opensmtpd-5.4.5p2-fixed/configure > --- opensmtpd-5.4.5p2/configure 201

Re: libevent version define

2015-05-27 Thread Jason A. Donenfeld
Also, the same patch should be applied to opensmtpd-extras. It applies cleanly to it. -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Re: libevent version define

2015-05-27 Thread Jason A. Donenfeld
Hi Gilles, See the attached patch. Thanks, Jason diff -ru opensmtpd-5.4.5p2/configure opensmtpd-5.4.5p2-fixed/configure --- opensmtpd-5.4.5p2/configure 2015-04-29 22:53:03.0 +0200 +++ opensmtpd-5.4.5p2-fixed/configure 2015-05-27 14:20:48.977763792 +0200 @@ -19667,7 +19667,7 @@ if(fd ==

Re: libevent version define

2015-05-27 Thread olivier
Hello, Did you try the libevent-dev? Best regards Olivier Calzi Le 27.05.2015 12:21, Jason A. Donenfeld a C)crit : > Hi folks, > > I'm working on getting opensmtpd rolling again in Gentoo. There are issues > with libevent during configure with 5.4.5p2: > > | #include > | #include

Re: libevent version define

2015-05-27 Thread Jason A. Donenfeld
Okay, so actually, this is a OpenSMTPD issue. It should be using LIBEVENT_VERSION, which works across versions. _EVENT_VERSION was phased out in 2012.

Re: libevent version define

2015-05-27 Thread Jason A. Donenfeld
Strange. Looks like this exists in 2.0.22 but not in 2.1.5. This must be distro related / upstream related. Sorry for the noise.

libevent version define

2015-05-27 Thread Jason A. Donenfeld
Hi folks, I'm working on getting opensmtpd rolling again in Gentoo. There are issues with libevent during configure with 5.4.5p2: | #include | #include | #include | #define DATA "conftest.libeventincver" | | int | main () | { | | FILE *fd; | int rc; | | fd = fopen(DATA,"w");