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

Comparing libev/import_libevent (file contents):
Revision 1.16 by root, Tue Dec 11 03:19:29 2007 UTC vs.
Revision 1.21 by root, Fri Dec 14 21:07:13 2007 UTC

7 7
8# this program combines libev and libevent into a single package 8# this program combines libev and libevent into a single package
9 9
10cvs update -AdP libev 10cvs update -AdP libev
11rsync -avP libev/. . --exclude CVS 11rsync -avP libev/. . --exclude CVS
12
13rm -f configure.ac
14mv LICENSE.libevent LICENSE
12 15
13LE=../libevent-1.4.0-beta 16LE=../libevent-1.4.0-beta
14 17
15cp $LE/evdns.h . 18cp $LE/evdns.h .
16 19
89 s/\bepoll.c\b//g; 92 s/\bepoll.c\b//g;
90 s/\bepoll_sub.c\b//g; 93 s/\bepoll_sub.c\b//g;
91 s/\bevent-internal.h\b//g; 94 s/\bevent-internal.h\b//g;
92 s/\bevsignal.h\b//g; 95 s/\bevsignal.h\b//g;
93 s/^(man_MANS\s*=)/$1 ev.3 /; 96 s/^(man_MANS\s*=)/$1 ev.3 /;
94 s/^(EXTRA_DIST\s*=)/$1 libev.m4 ev.h ev_vars.h ev_wrap.h event_compat.h ev++.h ev_epoll.c ev_select.c ev_poll.c ev_kqueue.c ev_port.c ev_win32.c ev.3 ev.pod ev.html /; 97 s/^(EXTRA_DIST\s*=)/$1 LICENSE libev.m4 ev.h ev_vars.h ev_wrap.h event_compat.h ev++.h ev_epoll.c ev_select.c ev_poll.c ev_kqueue.c ev_port.c ev_win32.c ev.3 ev.pod /;
95 s/^(include_HEADERS\s*=)/$1 ev.h event_compat.h ev++.h /; 98 s/^(include_HEADERS\s*=)/$1 ev.h event_compat.h ev++.h /;
96 s/^(CORE_SRC\s*=)/$1 ev.c /; 99 s/^(CORE_SRC\s*=)/$1 ev.c /;
97 s/^(SYS_LIBS\s*=)/$1 -lm /; 100 s/^(SYS_LIBS\s*=)/$1 -lm /;
98 #s/libevent/libev/g; 101 #s/libevent/libev/g;
99 print; 102 print;
101 104
102perl -ne ' 105perl -ne '
103 #s/-Wall/-Wall -Wno-comment -Wunused-function -Wno-unused-value/; 106 #s/-Wall/-Wall -Wno-comment -Wunused-function -Wno-unused-value/;
104 s/-Wall//g; 107 s/-Wall//g;
105 #s/libevent/libev/g; 108 #s/libevent/libev/g;
109 #VERSION
106 s/AM_INIT_AUTOMAKE\s*\(.*,(.*)\)/AM_INIT_AUTOMAKE(libevent-$1+libev,1.73)/; 110 s/AM_INIT_AUTOMAKE\s*\(.*,(.*)\)/AM_INIT_AUTOMAKE(libevent-$1+libev,1.85)/;
107 s/AC_LIBOBJ\(select\)/: ;/g; 111 s/AC_LIBOBJ\(select\)/: ;/g;
108 s/AC_LIBOBJ\(poll\)/: ;/g; 112 s/AC_LIBOBJ\(poll\)/: ;/g;
109 s/AC_LIBOBJ\(kqueue\)/: ;/g; 113 s/AC_LIBOBJ\(kqueue\)/: ;/g;
110 s/AC_LIBOBJ\(epoll\)/: ;/g; 114 s/AC_LIBOBJ\(epoll\)/: ;/g;
111 s/AC_LIBOBJ\(devpoll\)/: ;/g; 115 s/AC_LIBOBJ\(devpoll\)/: ;/g;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines