diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-09-01 18:42:03 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-09-01 18:42:03 +0000 |
commit | ec9c6430b965f79ba8ad25da07863a83748ab52b (patch) | |
tree | 8fd747d4a2eaf0e9c2ab4c16a0bdf7e2493cbb0d /app-admin/syslog-ng/files | |
parent | Stabilised on amd64 and x86. (diff) | |
download | gentoo-2-ec9c6430b965f79ba8ad25da07863a83748ab52b.tar.gz gentoo-2-ec9c6430b965f79ba8ad25da07863a83748ab52b.tar.bz2 gentoo-2-ec9c6430b965f79ba8ad25da07863a83748ab52b.zip |
old
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'app-admin/syslog-ng/files')
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng-3.0.2-ipv6.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/app-admin/syslog-ng/files/syslog-ng-3.0.2-ipv6.patch b/app-admin/syslog-ng/files/syslog-ng-3.0.2-ipv6.patch deleted file mode 100644 index f608b5955595..000000000000 --- a/app-admin/syslog-ng/files/syslog-ng-3.0.2-ipv6.patch +++ /dev/null @@ -1,31 +0,0 @@ -From: Balazs Scheidler <bazsi@balabit.hu> -Date: Mon, 25 May 2009 08:30:58 +0000 (+0200) -Subject: [templates] fixed compilation problem if ipv6 is disabled -X-Git-Url: http://git.balabit.hu/?p=bazsi%2Fsyslog-ng-3.0.git;a=commitdiff_plain;h=32949aaf9a241411f63953926898b5f1e33064ca - -[templates] fixed compilation problem if ipv6 is disabled - -templates.c:(.text+0x658): undefined reference to `g_sockaddr_inet6_check' - -Reported-By: Michael Sterrett ---- - -diff --git a/src/templates.c b/src/templates.c -index a2be7ce..a413ad9 100644 ---- a/src/templates.c -+++ b/src/templates.c -@@ -392,7 +392,13 @@ log_macro_expand(GString *result, gint id, guint32 flags, gint ts_format, TimeZo - { - gchar *ip; - -- if (msg->saddr && (g_sockaddr_inet_check(msg->saddr) || g_sockaddr_inet6_check(msg->saddr))) -+ if (msg->saddr && (g_sockaddr_inet_check(msg->saddr) || -+#if ENABLE_IPV6 -+ g_sockaddr_inet6_check(msg->saddr) -+#else -+ 0 -+#endif -+ )) - { - gchar buf[MAX_SOCKADDR_STRING]; - |