Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2004 14:17:31 -0600 (MDT)
From:      Phil Oleson <oz@nixil.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65588: [Patch] Upgrade of devel/libevent
Message-ID:  <200404152017.i3FKHVw3077687@nixil.org>
Resent-Message-ID: <200404152020.i3FKKK1f013338@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65588
>Category:       ports
>Synopsis:       [Patch] Upgrade of devel/libevent
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 15 13:20:20 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Phil Oleson
>Release:        FreeBSD 4.7-RELEASE-p22 i386
>Organization:
N/A
>Environment:
System: FreeBSD nixil.net 4.7-RELEASE-p22 FreeBSD 4.7-RELEASE-p22 #29: Tue Mar 2 15:58:41 MST 2004 root@localhost:/usr/src/sys/i386/conf/nixil i386


>Description:
	Upgrade of devel/libevent is available.. patch brings it up to date
>How-To-Repeat:
	N/A
>Fix:
	Apply Patch

--- libevent_patch begins here ---
diff -ruN libevent.old/Makefile libevent/Makefile
--- libevent.old/Makefile	Sun Oct 26 11:39:25 2003
+++ libevent/Makefile	Thu Apr 15 02:14:11 2004
@@ -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 @@
 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 -ruN libevent.old/distinfo libevent/distinfo
--- libevent.old/distinfo	Tue Mar 30 20:07:00 2004
+++ libevent/distinfo	Wed Apr 14 15:37:53 2004
@@ -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 -ruN libevent.old/files/patch-kqueue.c libevent/files/patch-kqueue.c
--- libevent.old/files/patch-kqueue.c	Wed Dec 31 17:00:00 1969
+++ libevent/files/patch-kqueue.c	Thu Apr 15 01:58:48 2004
@@ -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
--- libevent_patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404152017.i3FKHVw3077687>