ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/import_libevent
(Generate patch)

Comparing libev/import_libevent (file contents):
Revision 1.24 by root, Sat Dec 22 16:37:08 2007 UTC vs.
Revision 1.25 by root, Tue Dec 25 07:05:46 2007 UTC

1#!/bin/sh 1#!/bin/sh
2
3LE=../libevent-1.4.0-beta
2 4
3if ! [ -e evbuffer.c ]; then 5if ! [ -e evbuffer.c ]; then
4 echo do not run this programm unless you know what you are doing 6 echo do not run this programm unless you know what you are doing
5 exit 1 7 exit 1
6fi 8fi
10cvs update -AdP libev 12cvs update -AdP libev
11rsync -avP libev/. . --exclude CVS 13rsync -avP libev/. . --exclude CVS
12 14
13rm -f configure.ac 15rm -f configure.ac
14 16
15LE=../libevent-1.4.0-beta 17cp $LE/evdns.h .
16 18
17cp $LE/evdns.h . 19perl -i -pe 's%^/.libevent-include./%#include "event_compat.h"%' event.h
18 20
19perl -ne ' 21perl -ne '
20 s/\s+char buf\[64\];/\tchar buf[96];/; 22 s/\s+char buf\[64\];/\tchar buf[96];/;
21 if (/#include "event.h"/) { 23 if (/#include "event.h"/) {
22 print "#ifndef EV_STANDALONE\n$_#endif\n"; 24 print "#ifndef EV_STANDALONE\n$_#endif\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines