freebsd-ports/sysutils/bbcp/files/patch-src__bbcp_NetAddrInfo.C
Kurt Jaeger 11c750925e sysutils/bbcp: 20120520 -> 20150113
Change maintainer

Other Changes: See section "New Features" and "Backward Compatibility" at
http://www.slac.stanford.edu/~abh/bbcp/#_Toc392015164

- The new -ptime option forces bbcp to preserve only source file's
  access and modification time at the destination; leaving the group
  and mode unchanged.
- The new -gross option forces bbcp to copy empty directory structures
  in recursive mode.
- The new -mkdir option creates the destination directory for a
  recursive copy should it not exist.
- The new -symlinks option specifies how symbolic links are to be
  handled during a recursive copy.
-  Dual stack IPv6 mode is fully functional and is the default mode
  of operation. The new -ipv4 option forces bbcp to use the IPv4 TCP
  stack.
- The new -license option prints the license under which bbcp is
  distributed.
- The new -version option displays bbcp's version number installed
  on the current host.
- The BBCP_ALLOWPP environmental variable may be used to restrict
  program pipes to a specified set of programs or disable the feature
  altogether.
- The new -Z option allows you to specify the port range to be used
  for incoming connections on the command line instead of relying on
  /etc/services to contain those values.

Notes:
- Older version will fail if any of the new option:  -ptime  is specified.
- Older version will fail if any of the new options:  -gross, --mkdir, or
  --symlinks is specified.
- Older version will fail if the new -ipv4 option is specified.
  Older versions always use the IPv4 TCP stack, making the option
  generally unnecessary.
- Older versions will fail if the new -Z option is specified.

PR:		196746
Submitted by:	Chris Hutchinson <portmaster@bsdforge.com>
Approved by:	John Hein <jhein@symmetricom.com> (maintainer)
Requested from:	Freddie Cash <fjwcash@gmail.com>
2015-01-15 08:53:05 +00:00

11 lines
343 B
C

--- src/bbcp_NetAddrInfo.C.orig 2015-01-14 12:14:07.000000000 -0800
+++ src/bbcp_NetAddrInfo.C 2015-01-14 12:26:37.000000000 -0800
@@ -67,7 +67,7 @@
#ifndef s6_addr32
#if defined(SUN)
#define s6_addr32 _S6_un._S6_u32
-#elif defined(MACOS)
+#elif defined(MACOS) || defined(FREEBSD)
#define s6_addr32 __u6_addr.__u6_addr32
#endif
#endif