Page MenuHomeFreeBSD

D28025.id82990.diff
No OneTemporary

D28025.id82990.diff

diff --git a/kerberos5/Makefile.inc b/kerberos5/Makefile.inc
--- a/kerberos5/Makefile.inc
+++ b/kerberos5/Makefile.inc
@@ -9,8 +9,7 @@
CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR:H:H}/include
WARNS?= 1
-CWARNFLAGS.clang+= -Wno-error=absolute-value
-CWARNFLAGS+= -Wno-error=deprecated-declarations
+CWARNFLAGS.clang+= -Wno-absolute-value
.if ${MK_OPENLDAP} != "no" && !defined(COMPAT_32BIT)
OPENLDAPBASE?= /usr/local
diff --git a/kerberos5/libexec/kcm/Makefile b/kerberos5/libexec/kcm/Makefile
--- a/kerberos5/libexec/kcm/Makefile
+++ b/kerberos5/libexec/kcm/Makefile
@@ -19,6 +19,8 @@
CFLAGS+=-I${KRB5DIR}/lib/krb5 -I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken \
-I${KRB5DIR}/kcm -I${KRB5DIR}/lib/ipc ${LDAPCFLAGS}
+# Avoid errors for using deprecated krb5_* APIs
+CFLAGS+="-DKRB5_DEPRECATED_FUNCTION(X)="
LIBADD= krb5 roken heimntlm heimipcs crypto
DPADD= ${LDAPDPADD}
LDADD= ${LIBVERS} ${LDAPLDADD}

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 11, 10:15 AM (27 m, 3 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15752814
Default Alt Text
D28025.id82990.diff (911 B)

Event Timeline