updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / ettercap_x64 / ettercap-NG-0.7.3_x86_64.patch
blob6840d24fcd1172d71d40eae30143b3e02260356f
1 diff -c -r ettercap-NG-0.7.3//configure ettercap-NG-0.7.3_patched//configure
2 *** ettercap-NG-0.7.3//configure 2005-05-27 17:11:45.000000000 +0200
3 --- ettercap-NG-0.7.3_patched//configure 2010-07-12 14:59:18.229634997 +0200
4 ***************
5 *** 29469,29475 ****
6 echo $ECHO_N "(cached) $ECHO_C" >&6
7 else
8 ac_func_search_save_LIBS=$LIBS
9 ! ac_cv_search_dn_expand=no
10 cat >conftest.$ac_ext <<_ACEOF
11 /* confdefs.h. */
12 _ACEOF
13 --- 29469,29475 ----
14 echo $ECHO_N "(cached) $ECHO_C" >&6
15 else
16 ac_func_search_save_LIBS=$LIBS
17 ! ac_cv_search_dn_expand='-lresolv'
18 cat >conftest.$ac_ext <<_ACEOF
19 /* confdefs.h. */
20 _ACEOF
21 ***************
22 *** 29666,29679 ****
23 else
26 ! if false; then
27 HAVE_DN_EXPAND_TRUE=
28 HAVE_DN_EXPAND_FALSE='#'
29 else
30 HAVE_DN_EXPAND_TRUE='#'
31 HAVE_DN_EXPAND_FALSE=
33 ! ac_ec_dns=no
37 --- 29666,29679 ----
38 else
41 ! if true; then
42 HAVE_DN_EXPAND_TRUE=
43 HAVE_DN_EXPAND_FALSE='#'
44 else
45 HAVE_DN_EXPAND_TRUE='#'
46 HAVE_DN_EXPAND_FALSE=
48 ! ac_ec_dns=yes
52 diff -c -r ettercap-NG-0.7.3//src/ec_log.c ettercap-NG-0.7.3_patched//src/ec_log.c
53 *** ettercap-NG-0.7.3//src/ec_log.c 2004-09-30 18:01:45.000000000 +0200
54 --- ettercap-NG-0.7.3_patched//src/ec_log.c 2010-07-12 15:00:21.182401038 +0200
55 ***************
56 *** 190,196 ****
57 if (fd->cfd == NULL)
58 SEMIFATAL_ERROR("%s", gzerror(fd->cfd, &zerr));
59 } else {
60 ! fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY);
61 if (fd->fd == -1)
62 SEMIFATAL_ERROR("Can't create %s: %s", filename, strerror(errno));
64 --- 190,196 ----
65 if (fd->cfd == NULL)
66 SEMIFATAL_ERROR("%s", gzerror(fd->cfd, &zerr));
67 } else {
68 ! fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0666);
69 if (fd->fd == -1)
70 SEMIFATAL_ERROR("Can't create %s: %s", filename, strerror(errno));