1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/net/nss_ldap/files/patch-ldap-ethers.h
Philip M. Gollucci 0301fa9b09 - Update to 1.265
- Submitted is now MAINTAINER

Major upgrade-related fixes (from upstream):
- Version info now in binary
- Fix broken ethers LDAP query
- FD leak cleanup

Fixes in port:
- Re-enable many nss classes that were disabled (ethers, netgroups)
- Fix compile-time breakage in ldap-ethers code (Better fix going upstream when I have time)

***

Note: Ethers and Netgroup support aren't thoroughly tested as I don't use these in my environment.
Re-enabling them doesn't seem to cause any problems, so they're back on in accordance with POLA.
PRs/test cases for these are welcome if anyone finds breakage.

PR:             ports/141931
Submitted by:   Michael Graziano <mikeg@bsd-box.net>
2010-01-18 03:43:56 +00:00

12 lines
251 B
C

--- ldap-ethers.h.orig 2009-11-06 10:28:08.000000000 +0000
+++ ldap-ethers.h 2009-12-23 17:02:06.000000000 +0000
@@ -32,7 +32,7 @@
#ifndef HAVE_STRUCT_ETHER_ADDR
struct ether_addr {
- u_char ether_addr_octet[6];
+ u_char octet[6];
};
#endif