aboutsummaryrefslogtreecommitdiff
path: root/devel/libevent
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2004-04-19 16:43:34 +0000
committerPete Fritchman <petef@FreeBSD.org>2004-04-19 16:43:34 +0000
commitb66ffd2b82f18b339fd0e2611ec9d56a508464fb (patch)
treeda29d85b5264ef90bf5c2d885acae6e858b53303 /devel/libevent
parentbb01cd387d97050ecc78f60ba8b4280541dd48f4 (diff)
downloadports-b66ffd2b82f18b339fd0e2611ec9d56a508464fb.tar.gz
ports-b66ffd2b82f18b339fd0e2611ec9d56a508464fb.zip
Notes
Diffstat (limited to 'devel/libevent')
-rw-r--r--devel/libevent/Makefile23
-rw-r--r--devel/libevent/distinfo4
-rw-r--r--devel/libevent/files/patch-kqueue.c11
3 files changed, 28 insertions, 10 deletions
diff --git a/devel/libevent/Makefile b/devel/libevent/Makefile
index fe4865d6fdd8..40ef58c66081 100644
--- a/devel/libevent/Makefile
+++ b/devel/libevent/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libevent
-PORTVERSION= 0.7.c
+PORTVERSION= 0.8
CATEGORIES= devel
MASTER_SITES= http://monkey.org/~provos/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.c$/c/}
@@ -18,15 +18,22 @@ GNU_CONFIGURE= yes
USE_REINPLACE= yes
MAN3= event.3
-MLINKS= event.3 event_init.3 event.3 event_dispatch.3 event.3 event_set.3 \
- event.3 event_add.3 event.3 event_del.3 event.3 event_pending.3 \
- event.3 event_loop.3 event.3 event_initalized.3 \
- event.3 evtimer_set.3 event.3 evtimer_add.3 event.3 evtimer_del.3 \
- event.3 evtimer_pending.3 event.3 evtimer_initialized.3 \
+MLINKS= event.3 event_init.3 event.3 event_dispatch.3 event.3 event_loop.3 \
+ event.3 event_loopexit.3 event.3 event_set.3 event.3 event_add.3 \
+ event.3 event_del.3 event.3 event_once.3 event.3 event_pending.3 \
+ event.3 event_initialized.3 event.3 evtimer_set.3 event.3 evtimer_add.3 \
+ event.3 evtimer_del.3 event.3 evtimer_pending.3 event.3 evtimer_initialized.3 \
event.3 signal_set.3 event.3 signal_add.3 event.3 signal_del.3 \
- event.3 signal_pending.3 event.3 signal_initialized.3
+ event.3 signal_pending.3 event.3 bufferevent_new.3 event.3 bufferevent_free.3 \
+ event.3 bufferevent_write.3 event.3 bufferevent_write_buffer.3 \
+ event.3 bufferevent_read.3 event.3 bufferevent_enable.3 \
+ event.3 bufferevent_disable.3 event.3 bufferevent_settimeout.3 \
+ event.3 evbuffer_new.3 event.3 evbuffer_free.3 event.3 evbuffer_add.3 \
+ event.3 evbuffer_add_buffer.3 event.3 evbuffer_add_printf.3 \
+ event.3 evbuffer_drain.3 event.3 evbuffer_write.3 event.3 evbuffer_read.3 \
+ event.3 evbuffer_find.3
-do-patch:
+post-patch:
@${REINPLACE_CMD} -e 's,CFLAGS =,CFLAGS +=,' -e 's,-O2,,' \
${WRKSRC}/Makefile.in
diff --git a/devel/libevent/distinfo b/devel/libevent/distinfo
index 1fd6fdd5045c..3d4b76a2ba5b 100644
--- a/devel/libevent/distinfo
+++ b/devel/libevent/distinfo
@@ -1,2 +1,2 @@
-MD5 (libevent-0.7c.tar.gz) = d40f923789b81bc15f5ffd9ad48fe770
-SIZE (libevent-0.7c.tar.gz) = 87682
+MD5 (libevent-0.8.tar.gz) = c46a007de68bdad4e5b72a7771f7207a
+SIZE (libevent-0.8.tar.gz) = 92760
diff --git a/devel/libevent/files/patch-kqueue.c b/devel/libevent/files/patch-kqueue.c
new file mode 100644
index 000000000000..4c83be76e092
--- /dev/null
+++ b/devel/libevent/files/patch-kqueue.c
@@ -0,0 +1,11 @@
+--- kqueue.c.orig Thu Apr 15 01:48:55 2004
++++ kqueue.c Thu Apr 15 01:49:09 2004
+@@ -56,7 +56,7 @@
+ #define log_error warn
+ #endif
+
+-#if defined(HAVE_INTTYPES_H) && !defined(__OpenBSD__)
++#if defined(HAVE_INTTYPES_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
+ #define INTPTR(x) (intptr_t)x
+ #else
+ #define INTPTR(x) x