diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-18 13:02:25 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-18 13:02:25 +0000 |
commit | acf1168bcac651877d11241ef373081c178d4f1a (patch) | |
tree | f870ed5da69ceef939d3af015c9de39d928be45f /package/openswan/openswan-2.4.9-001-oswlog.patch | |
parent | be10c4a8c935671cca3064f556091dc247f5960a (diff) | |
download | buildroot-novena-acf1168bcac651877d11241ef373081c178d4f1a.tar.gz buildroot-novena-acf1168bcac651877d11241ef373081c178d4f1a.zip |
- bump version to 2.4.9
Diffstat (limited to 'package/openswan/openswan-2.4.9-001-oswlog.patch')
-rw-r--r-- | package/openswan/openswan-2.4.9-001-oswlog.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/openswan/openswan-2.4.9-001-oswlog.patch b/package/openswan/openswan-2.4.9-001-oswlog.patch new file mode 100644 index 000000000..45f9f4c14 --- /dev/null +++ b/package/openswan/openswan-2.4.9-001-oswlog.patch @@ -0,0 +1,30 @@ +--- openswan-2.4.7.orig/lib/libopenswan/oswlog.c 2004-10-17 01:42:13.000000000 +0200 ++++ openswan-2.4.7/lib/libopenswan/oswlog.c 2006-11-28 16:08:18.000000000 +0100 +@@ -41,9 +41,11 @@ bool + bool + logged_txt_warning = FALSE; /* should we complain about finding KEY? */ + ++#if !defined(NO_DEBUG) + void openswanlib_passert_fail(const char *pred_str, const char *file_str, + unsigned long line_no); + openswan_passert_fail_t openswan_passert_fail = openswanlib_passert_fail; ++#endif /* NO_DEBUG */ + + void + tool_init_log(void) +@@ -104,6 +106,7 @@ openswan_log(const char *message, ...) + syslog(LOG_WARNING, "%s", m); + } + ++#if !defined(NO_DEBUG) + void + openswan_loglog(int mess_no, const char *message, ...) + { +@@ -119,6 +122,7 @@ openswan_loglog(int mess_no, const char + if (log_to_syslog) + syslog(LOG_WARNING, "%s", m); + } ++#endif + + void + openswan_log_errno_routine(int e, const char *message, ...) |