]> git.pld-linux.org Git - packages/rsync.git/commitdiff
- skipping the IPV6 socket, ./configure needs fixes.
authorPaweł Sikora <pluto@pld-linux.org>
Sat, 8 May 2004 21:33:27 +0000 (21:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rsync-ipv6_socket.patch -> 1.1
    rsync.spec -> 1.81

rsync-ipv6_socket.patch [new file with mode: 0644]
rsync.spec

diff --git a/rsync-ipv6_socket.patch b/rsync-ipv6_socket.patch
new file mode 100644 (file)
index 0000000..87c24d4
--- /dev/null
@@ -0,0 +1,13 @@
+--- rsync-2.6.2/socket.c.orig  2004-05-08 23:25:11.979473336 +0200
++++ rsync-2.6.2/socket.c       2004-05-08 23:27:13.255036648 +0200
+@@ -379,8 +379,8 @@
+ #ifdef IPV6_V6ONLY
+               if (resp->ai_family == AF_INET6) {
+-                      setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY,
+-                                 (char *)&one, sizeof one);
++                  if(setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, (char *)&one, sizeof one) < 0)
++                      continue;
+               }
+ #endif
index 9b9e81840442f3191bf8cfa57cd2842b97e96392..a86b3384ccb1d50e43098176087064e6a7ea72b6 100644 (file)
@@ -13,7 +13,7 @@ Summary(zh_CN):       [ͨѶ]
 Summary(zh_TW):        [³ñ°Ô]\e$(B6G?i¤õ(c\e(B
 Name:          rsync
 Version:       2.6.2
-Release:       3
+Release:       3.1
 License:       GPL
 Group:         Daemons
 Source0:       http://rsync.samba.org/ftp/rsync/%{name}-%{version}.tar.gz
@@ -25,6 +25,7 @@ Source4:      %{name}d.logrotate
 Patch0:                %{name}-config.patch
 Patch1:                %{name}-man.patch
 Patch2:                %{name}-segv.patch
+Patch3:                %{name}-ipv6_socket.patch
 BuildRequires: autoconf >= 2.52
 BuildRequires: popt-devel
 URL:           http://samba.anu.edu.au/rsync/
@@ -149,6 +150,7 @@ techniczna nowego algorytmu zosta
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 cp -f /usr/share/automake/config.sub .
This page took 0.475622 seconds and 4 git commands to generate.