OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 09-Oct-2006 10:29:05
Branch: HEAD Handle: 2006100909290500
Added files:
openpkg-src/libevent libevent.patch
Modified files:
openpkg-src/libevent libevent.spec
Log:
use own error functions and not BSD ones
Summary:
Revision Changes Path
1.1 +30 -0 openpkg-src/libevent/libevent.patch
1.31 +3 -1 openpkg-src/libevent/libevent.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/libevent/libevent.patch
============================================================================
$ cvs diff -u -r0 -r1.1 libevent.patch
--- /dev/null 2006-10-09 10:28:28 +0200
+++ libevent.patch 2006-10-09 10:29:05 +0200
@@ -0,0 +1,30 @@
+Index: event_tagging.c
+--- event_tagging.c.orig 2005-09-09 09:03:32.000000000 +0200
++++ event_tagging.c 2006-10-09 10:25:08.161143399 +0200
+@@ -39,7 +39,7 @@
+ #include <sys/time.h>
+ #endif
+
+-#include <err.h>
++#include "log.h"
+ #include <errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -57,7 +57,7 @@
+ evtag_init()
+ {
+ if ((_buf = evbuffer_new()) == NULL)
+- err(1, "%s: malloc", __func__);
++ event_err(1, "%s: malloc", __func__);
+ }
+
+ /*
+@@ -332,7 +332,7 @@
+
+ *pstring = calloc(EVBUFFER_LENGTH(_buf) + 1, 1);
+ if (*pstring == NULL)
+- err(1, "%s: calloc", __func__);
++ event_err(1, "%s: calloc", __func__);
+ evbuffer_remove(_buf, *pstring, EVBUFFER_LENGTH(_buf));
+
+ return (0);
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/libevent/libevent.spec
============================================================================
$ cvs diff -u -r1.30 -r1.31 libevent.spec
--- openpkg-src/libevent/libevent.spec 30 Jun 2006 06:41:00 -0000
1.30
+++ openpkg-src/libevent/libevent.spec 9 Oct 2006 08:29:05 -0000
1.31
@@ -33,10 +33,11 @@
Group: Network
License: BSD
Version: 1.2
-Release: 20060630
+Release: 20061009
# list of sources
Source0: http://monkey.org/~provos/libevent-%{version}.tar.gz
+Patch0: libevent.patch
# build information
Prefix: %{l_prefix}
@@ -60,6 +61,7 @@
%prep
%setup -q
+ %patch -p0
%build
%{l_shtool} subst \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]