pass ARCH down to uClibc
[buildroot.git] / package / openswan / openswan-2.4.9-001-oswlog.patch
blob45f9f4c14fda045f2ceaae3c536557a9b448f717
1 --- openswan-2.4.7.orig/lib/libopenswan/oswlog.c 2004-10-17 01:42:13.000000000 +0200
2 +++ openswan-2.4.7/lib/libopenswan/oswlog.c 2006-11-28 16:08:18.000000000 +0100
3 @@ -41,9 +41,11 @@ bool
4 bool
5 logged_txt_warning = FALSE; /* should we complain about finding KEY? */
7 +#if !defined(NO_DEBUG)
8 void openswanlib_passert_fail(const char *pred_str, const char *file_str,
9 unsigned long line_no);
10 openswan_passert_fail_t openswan_passert_fail = openswanlib_passert_fail;
11 +#endif /* NO_DEBUG */
13 void
14 tool_init_log(void)
15 @@ -104,6 +106,7 @@ openswan_log(const char *message, ...)
16 syslog(LOG_WARNING, "%s", m);
19 +#if !defined(NO_DEBUG)
20 void
21 openswan_loglog(int mess_no, const char *message, ...)
23 @@ -119,6 +122,7 @@ openswan_loglog(int mess_no, const char
24 if (log_to_syslog)
25 syslog(LOG_WARNING, "%s", m);
27 +#endif
29 void
30 openswan_log_errno_routine(int e, const char *message, ...)