Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107119491
D28025.id82990.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
911 B
Referenced Files
None
Subscribers
None
D28025.id82990.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D28025: kerberos5: Silence compiler warnings
Attached
Detach File
Event Timeline
Log In to Comment