Changes between Version 2 and Version 3 of dev-libs/libevent/svn-trunk/1
- Timestamp:
- 03/08/09 15:07:26 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
dev-libs/libevent/svn-trunk/1
v2 v3 3 3 cat ../haiku-patch-01.diff : 4 4 {{{ 5 Index: event_rpcgen.py 6 =================================================================== 7 --- event_rpcgen.py (revision 1123) 8 +++ event_rpcgen.py (working copy) 9 @@ -1,4 +1,4 @@ 10 -#!/usr/bin/env python 11 +#!/boot/common/bin/python 12 # 13 # Copyright (c) 2005 Niels Provos <provos@citi.umich.edu> 14 # All rights reserved. 5 15 Index: configure.in 6 16 =================================================================== 7 --- configure.in (revision 1123)8 +++ configure.in (working copy)17 --- configure.in (revision 1123) 18 +++ configure.in (working copy) 9 19 @@ -40,7 +40,7 @@ 10 20 AC_SUBST(LIBTOOL_DEPS) … … 16 26 AC_CHECK_LIB(rt, clock_gettime) 17 27 AC_CHECK_LIB(nsl, inet_ntoa) 28 Index: test/regress_util.c 29 =================================================================== 30 --- test/regress_util.c (revision 1123) 31 +++ test/regress_util.c (working copy) 32 @@ -34,7 +34,7 @@ 33 #endif 34 #ifndef WIN32 35 #include <sys/socket.h> 36 -#include <sys/signal.h> 37 +#include <signal.h> 38 #include <netinet/in.h> 39 #include <arpa/inet.h> 40 #include <unistd.h> 41 Index: test/bench_http.c 42 =================================================================== 43 --- test/bench_http.c (revision 1123) 44 +++ test/bench_http.c (working copy) 45 @@ -36,7 +36,7 @@ 46 #include <windows.h> 47 #else 48 #include <sys/socket.h> 49 -#include <sys/signal.h> 50 +#include <signal.h> 51 #include <sys/resource.h> 52 #endif 53 #include <fcntl.h> 54 Index: test/bench_cascade.c 55 =================================================================== 56 --- test/bench_cascade.c (revision 1123) 57 +++ test/bench_cascade.c (working copy) 58 @@ -36,7 +36,7 @@ 59 #include <windows.h> 60 #else 61 #include <sys/socket.h> 62 -#include <sys/signal.h> 63 +#include <signal.h> 64 #include <sys/resource.h> 65 #endif 66 #include <fcntl.h> 67 Index: test/regress_zlib.c 68 =================================================================== 69 --- test/regress_zlib.c (revision 1123) 70 +++ test/regress_zlib.c (working copy) 71 @@ -37,7 +37,7 @@ 72 #ifndef WIN32 73 #include <sys/socket.h> 74 #include <sys/wait.h> 75 -#include <sys/signal.h> 76 +#include <signal.h> 77 #include <unistd.h> 78 #include <netdb.h> 79 #endif 18 80 Index: buffer.c 19 81 =================================================================== 20 --- buffer.c (revision 1123)21 +++ buffer.c (working copy)82 --- buffer.c (revision 1123) 83 +++ buffer.c (working copy) 22 84 @@ -1486,7 +1486,10 @@ 23 85 #ifdef MAP_NOCACHE 24 MAP_NOCACHE |86 MAP_NOCACHE | 25 87 #endif 26 - MAP_FILE | MAP_PRIVATE,88 - MAP_FILE | MAP_PRIVATE, 27 89 +#ifdef MAP_FILE 28 + MAP_FILE |90 + MAP_FILE | 29 91 +#endif 30 + MAP_PRIVATE,31 fd, 0);32 /* some mmap implementations require offset to be a multiple of33 * the page size. most users of this api, are likely to use 092 + MAP_PRIVATE, 93 fd, 0); 94 /* some mmap implementations require offset to be a multiple of 95 * the page size. most users of this api, are likely to use 0 34 96 35 97 }}}
