Hello community, here is the log from the commit of package mailx for openSUSE:Factory checked in at 2013-12-03 14:26:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mailx (Old) and /work/SRC/openSUSE:Factory/.mailx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mailx" Changes: -------- --- /work/SRC/openSUSE:Factory/mailx/mailx.changes 2013-07-03 10:24:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.mailx.new/mailx.changes 2013-12-03 14:26:22.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Dec 3 09:06:50 UTC 2013 - [email protected] + +- Add patch mailx-12.5-ipv6.dif to enable mailx to parse IPv6 addresses + including a port. We do only support the [ipv6]:port syntax (bnc#853246) + +------------------------------------------------------------------- New: ---- mailx-12.5-ipv6.dif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mailx.spec ++++++ --- /var/tmp/diff_new_pack.clZbGa/_old 2013-12-03 14:26:23.000000000 +0100 +++ /var/tmp/diff_new_pack.clZbGa/_new 2013-12-03 14:26:23.000000000 +0100 @@ -41,6 +41,8 @@ Patch6: mailx-fix-openssl.patch #PATCH-FIX-OPENSUSE: Try to tranquilize gcc warning about parentheses (please check!) Patch7: mailx-12.5-parentheses.dif +#PATCH-FIX-SUSE: Try to tranquilize gcc warning about parentheses (please check!) +Patch8: mailx-12.5-ipv6.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -59,7 +61,8 @@ %patch5 -p0 -b .mime %patch6 -p0 -b .ssl %patch7 -p0 -b .par -%patch -p0 +%patch8 -p0 -b .ipv6 +%patch -p0 -b .0 %build CC=gcc ++++++ mailx-12.5-ipv6.dif ++++++ --- Makefile +++ Makefile 2013-12-03 08:14:47.362446079 +0000 @@ -46,7 +67,7 @@ SHELL = /bin/sh # If you know that the IPv6 functions work on your machine, you can enable # them here. -##IPv6 = -DHAVE_IPv6_FUNCS +IPv6 = -DHAVE_IPv6_FUNCS # # Binaries are stripped with this command after installation. --- fio.c +++ fio.c 2013-12-03 08:55:19.158236784 +0000 @@ -1024,6 +1024,16 @@ sopen(const char *xserver, struct sock * char *cp; char *server = (char *)xserver; +#ifdef HAVE_IPv6_FUNCS + if ((cp = strchr(server, ']')) != NULL) { + if (cp[1] == ':') { + portstr = &cp[2]; + server = salloc(cp+1 - xserver+1); + memcpy(server, xserver, cp+1 - xserver); + server[cp+1 - xserver] = '\0'; + } + } else +#endif /* HAVE_IPv6_FUNCS */ if ((cp = strchr(server, ':')) != NULL) { portstr = &cp[1]; #ifndef HAVE_IPv6_FUNCS -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
