1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/net/yptransitd/files/patch-src_modules_ldap_ldap.c
Alexey Dokuchaev 262b2a3ac1 Split the patch in the "context diff" format added pack in r130923 which
no longer applies by modern FreeBSD patch(1).  Patch was applied on the
FreeBSD 8.4 and new patches generated with ``make makepatch''.  Repocopy
was waived since three-way split would make the diff unnecessarily noisy
and there's not much history to preserve anyways as the patch had not
been modified since its inception.  While here, unbreak the build against
modern compilers (Clang 11, GCC 10) by forcing the `-fcommon' mode.

Reported by:	pkg-fallout
2020-09-01 08:17:28 +00:00

14 lines
442 B
C

--- src/modules/ldap/ldap.c.orig 2001-10-03 01:45:29 UTC
+++ src/modules/ldap/ldap.c
@@ -60,7 +60,10 @@
#include "cache.h"
#define CONFIG_FILE CONFDIR "/ldap.conf"
+/*
#define MAPS "auto.home auto_home amd.home passwd.byname passwd.byuid group.byname group.bygid"
+*/
+#define MAPS "auto.home auto_home amd.home master.passwd.byname master.passwd.byuid passwd.byname passwd.byuid group.byname group.bygid"
struct ldaprefs ldaprefs;